Before heading to Google to get help on a particular Unix command, try the following methods, which will give you a comprehensive help on Unix commands. 1. Using apropos to search man pages Use apropos to search man pages for available Unix commands on a specific functionality. $ apropos -r REGEXofUNIXCOMMAND or Description. About apropos [...]
Linux
Ubuntu is the best Linux desktop distribution, which took the number one spot in our Top 5 Best Linux OS Distributions. Ubuntu 9.10 Karmic Koala stable version is released. You can download it online or order a free CD as explained below. What is new in Ubuntu 9.10? Includes Linux Kernel 2.6.31 Add/Remove in the [...]
When you have the password-less login enabled, you may be either using SSH to execute command in the batch mode on a remote machine or using SCP to copy files from/to the remote machine. If there are some issues with the password less login, your batch program may end up in a loop or timeout. [...]
This article is part of the on-going Unix Sed Tips and Tricks series. In our previous sed articles we learned — sed printing, sed deletion, sed substitute , sed file write, and sed multiple commands. In this article, let us review some interesting workarounds with the “s” substitute command in sed with several practical examples. [...]
Question: I’m trying to capture the output of the top command into a file. When I execute top > output.txt, the output.txt file contains lot of junk characters. What is the best method to capture the output of the top command into a readable text file? Answer: Use the top command batch mode operation option [...]
Question: I would like to understand the basics of how to write and execute a small talk program on Linux OS. Can you explain it with a simple example? Answer: In this article, let us review very quickly how to write a basic Hello World SmallTalk program and execute *.st program on Linux or Unix [...]
If you are working on UNIX / Linux environment, you should become comfortable in the Vim editor. If you think the Vim editor is not user friendly, or intuitive to learn quickly and become an expert — you are not alone. This book contains 101 practical examples that will help both newbies and intermediate Vim [...]
In this article, let us review how to use Unix tac command, rev command, paste command, and join command with practical examples. 1. tac command – Print file in reverse (last line first) The word tac is reverse of the word cat. The tac command functionality is also reverse of the cat command. cat command [...]