Category: Command Line

Show Active Network Connections

Show all active network connections and their PID netstat -tup

Find Alsa Version

Find the version of alsa using this command… cat /proc/asound/version Thanks to Sreenath(Hacking With Debian) for this tip.

List of Open Files

Display a list of files opened by processes lsof -p NUMBER

Spell Check a Text File using Aspell

You can use Aspell to spell check of a text document using this command. It must be executed in a…

Stop All Downloads in KTorrent Using Dcop

Stop all downloads in KTorrent using dcop. Can be done from local system or by logging in using ssh from…

Information about eth0

show statistics of network card ‘eth0’ ethtool eth0

Find Open File in a Given Directory

Find the process that’s opened the file from a specified directory. You can use this if you cannot unmount a…

Show Link Status

Show link status of ‘eth0’ mii-tool eth0

pstree Command

Shows a tree system processes pstree

Watching the disk space

If you want to repeat a command many times, for example you are monitoring something, then don’t forget about the…