Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown   Email 



A FEW HANDY ( CONSOLE ) COMMANDS:


For your network/internet connection: ( as root ! )
( $ and # make part of the prompt, $ is normal user, # is root )

CODE
$ su ( to log in as root )
< root password >


IP addresses and traffic:

CODE
# ifconfig
# route


Display disk performance:

CODE
# hdparm -t /dev/hda


Space usage:

CODE
$ df -h
$ du -s /var/log/*

( Space usage of all the files in /var/log )

Memory:

CODE
$ free -b ( In bites )
$ free -k ( KB )
$ free -m ( MB )
$ free -o ( Without buffers )
$ free -t ( Totals )


Screenshot:

CODE
$ import -w root sreen.jpg

( Will store it in your home dir. )


See also the One Page Linux Manual


Bruno


-- Apr 22 2003 ( Revised Dec 10 2005 ) --


Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown   Email