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:

Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04

Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04 I am planning to run qemu-system-ppc to play around QEMU ...