So I’m often getting asked how to set up simple networking from the command line.

This drives me nuts a simple google would get the answers!

But, now I can just point people here and save wasting my time.

STATIC The following presumes you are on a 192.168.1.n class C network with the gateway as


12345ifconfig eth0 netmask up route add default gw echo "nameserver… Continue reading

This allows mounting of a remote file system over ssh. Ensure that theĀ sshfs package is installed.

1sshfs /media/ssh -o allow_other

This command indentifies which process is running on which port. Displays pid and name.

1netstat -lnp