12Jul
The power of pipes
One of the great features of the UNIX shell is that you can send the output from one command to another for further processing. Take the following example for instance:
ls -l | grep "Jul 12"
This takes the long directory file listing output and sends it to grep for subsetting (all files created today in this example) before it is returned to the screen. The | character is the pipe trigger and you can have as many pipes in your command as you want though readability may dictate how far you want to go.
Other Posts That May Interest You
No comments
Place your comment
Please fill your data and comment below.
Topics Discussed
Adobe Apache Blog Blogging Canon Command Line CSS Debian Fedora Firefox GNOME Google hard drive Hardware Installation Internet Explorer Linux Microsoft MySQL Opera Operating System Perl Photoshop Photoshop Elements PHP plugin SAS Software SQL Ubuntu UNIX upgrade VirtualBox Virtualisation Virtual Machine Vista VMware Web Browsers Windows Windows XP WordPress WordPress.com WordPress plugins XHTML XPTwitter Updates
- Delicious: Squidoo : Welcome to Squidoo http://ow.ly/18mKhR 19 hrs ago
- Delicious: SAS software users Headquarters http://ow.ly/18mKhS 19 hrs ago
- Delicious: HTML Forms: jQuery Basics - Getting Started - http://www.htmlgoodies.com http://ow.ly/18mu5z 1 day ago
- Delicious: Enterprise Web Content Management Systems (CMS) | RedDot , now OpenText Web Solutions Group http://ow.ly/18kK8v 2 days ago
- Delicious: Content Management System CMS Reviews, CMS News, CMS Analysis http://ow.ly/18kEcm 2 days ago
- More updates...
Monthly Archives