Skip to content

Rarely used and known about Linux commands that rock!

2008 November 14
by dlarmeir

Linux is a awesome operating system with unlimited potential due to being open source, flexible and well designed. Hidden within Linux is a treasure trove of commands that even some Sr. Administrators may not know about. I have listed some of these below:

#1. dmidecode – dmidecode will give you essential information on hardware in the system. a example of this being the need for bios manufacturer and version information should you need a potential bios update.
Example:

# dmidecode -s bios-vendor && dmidecode -s bios-version
Phoenix Technologies LTD
2.1

#2. nohup – This allows you to run a command that is immune to hangups

#3. head -n1 /etc/issue – displays the current operating system. You can also cat /etc/redhat-release or /etc/debian-version

#4. cat /proc/partitions – Will display all registered partitions in the system.

#5. rlogin – this comand will connect to a remote host with the same username and password you are logged in with. rsh will also do the same thing.

#6. dosfsck – fsck DOS partitions

#7. tracepath – a simplified version of traceroute

#8. shred – overwrites a file making the contents unrecoverable then deletes it.

#9. warnquota – emails users who are exceeding their disk quota

#10. swap on and swap off – These two commands will enable and disable your swap file.

#11. mpg123 – Play mp3′s via command line – program must be installed.

#12. hdparm -tT /dev/sda – does a disk speed test

For a whole lot more check out http://www.oreillynet.com/linux/cmd/

2 Responses leave one →
  1. February 2, 2010

    Very good post. I’ve found your site via Google and I’m really glad about the information you provide in your posts. Btw your sites layout is really broken on the Chrome browser. Would be really great if you could fix that. Anyhow keep up the great work!

  2. February 3, 2010

    Thanks for stopping by! My server had a DNS issue that I am working on but these issues should be resolved now. This issue caused certain elements of my site’s CSS and images to not appear.

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS