# RootPrompt.org   Nothing but Unix.[Home] [Features] [Programming] [Mac OS X] [Search]

 Linux Shell One-Liners

This article tells you how to string together commands in Unix to do some neat things. It is fairly basic, but I thought it was well done.

"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. (I've put shell logs in italics, and the actuall commands in bold. Where the commands are included in the shell log, they're bolded and in italic.)"
Open Tech Support - [Unix/Linux] Linux Shell One-Liners

 (Submitted by Noel Wed Feb 22, 2006 )


Our content can be syndicated: Main page Mac Page

Copyright 1999-2005 Noel Davis. Noel also runs web sites about sailing and kayaking.
All trademarks are the property of their owners.
All articles are owned by their author