Wednesday, February 22, 2006

Best Linux One Liners

A great forum thread on the coolest one line Linux shell commands. Even the most veteran Linux users will learn something.

A short introduction to getting a little more from your shell with piping & redirection, by olbooradley@aol.com
To send the output of one command to another, put a | between them. This means that if you run the command ls | more, it will more the output of ls. Using text manipulation commands like grep and sed, this can become very handy. Here are some examples of commands to demonstrate the principle.

read more | digg story

No comments: