Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 43 Next »

Detailed Articles

Disk Management

List directories from largest to smallest at the top level only. On older system h will not work and you must use k.

du -sh * | sort

Long Running Processes

To write.

Other Useful Commands

MD5

Check if a file is corrupt,

# On Ubuntu
md5sum /path/to/file

# On Solaris
digest -a md5 -v /path/to/file

Last

Last searches back through the file /var/log/wtmp  (or the file designated by the -f flag) and displays a list of all users logged in (and out) since that file was created. 

Lastb

Lastb is the same as last, except that by default it shows a log of the file /var/log/btmp, which contains all the bad login attempts.

  • No labels