Tag:
output
Here is a great little command line trick to list only the subdirectories in your current working directory. $ ls -d */
By default the echo command will include a trailing newline at the end of a string. There are many times when you may want to suppress this newline for example when you want to format text in a certain way.There are a couple easy ways to do this. First you can use the ‘-n’ option. [...]
The column utility is helpful for taking raw data and formatting it in a way that is easier for humans to comprehend. It can take a single column of data and format it into many equally spaced columns. Alternatively it can format multiple rows of data into tables. In our first example we have a [...]
Hardware support in Linux, specifically Ubuntu 8.10 (Intrepid Ibex) for the Dell XPS M1530 and M1330 is very impressive. However in certain cases the process is not as straight forward as it could be, and it takes a bit of tinkering in order to get it to work. In this article I will go through [...]
One of the best features of the Linux command line is the ability to efficiently direct input and output to and from files and other programs. Every program begins with 3 open file streams. stdin (file descriptor 0) – input from the user, usually keyboard stdout (file descriptor 1) – standard output that is displayed [...]