Monday, December 18, 2006

Common Linux commands

List hard drives:
:$ su
:# sfdisk -s

List partition tables:
:$ su
:# sfdisk -l

Remove a default gateway:
#: sudo route del default
Add default gateway, this will add 192.168.1.101 as the default gateway:
#: sudo route add default gw 192.168.1.101
Find Windows machine in the network (needs smbfs).
$: findsmb
Get the details of the machine in the network (needs smbfs):
$: nbmlookup 

~ts

No comments:

Installing TigerVNC in Ubuntu 24.04

Installing TigerVNC in Ubuntu 24.04 Ubuntu 24.04 supports RPD protocol but it behaves in a way that is not fit for my needs. The Desktop Sh...