Dustin Larmeir's tech blog.
Rarely used and known about Linux commands that rock!
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/
| Print article | This entry was posted by dlarmeir on November 14, 2008 at 12:13 pm, and is filed under Past Blogs. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
about 7 months ago
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!
about 7 months ago
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.