Tag:
output

Get a Listing of Directories in a Subdirectory

by
on
February 18, 2011

Here is a great little command line trick to list only the subdirectories in your current working directory. $ ls -d */

Read More
No Comments
bash

Echo text without a trailing newline

by
on
February 18, 2011

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. [...]

Read More
No Comments
bash

Format output with the column utility

by
on
January 29, 2011

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 [...]

Read More
No Comments
commands

Enable HDMI output on Dell XPS M1530/M1330 with Ubuntu

by
on
January 24, 2009

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 [...]

Read More
1 Comment
ubuntu

I/O redirection in BASH

by
on
October 16, 2008

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 [...]

Read More
No Comments
bash
Copyright 2008-2010 WiredRevolution.com. All rights reserved.