![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Piping / Executing | ProFiction | Shell Programming and Scripting | 3 | 07-23-2007 01:58 PM |
| Piping in UNIX | simo007 | UNIX for Dummies Questions & Answers | 3 | 05-23-2007 02:40 AM |
| Piping from device? | gary101 | Shell Programming and Scripting | 0 | 03-31-2007 06:21 AM |
| Help with piping program | PuppyHusher | High Level Programming | 3 | 03-30-2007 12:26 PM |
| piping | lnatz | Shell Programming and Scripting | 1 | 07-14-2006 02:30 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Help (Piping ls, tr, cut)
I have to:
pipe ls, tr, and cut to output the size (in bytes) and name of all of the files/dirs in the current directory (including any hidden ones), with the size at the beginning of the line, followed by a single tab character, followed by the the filename. I don't know what the point of using tr is. So far what I've been doing is: ls -al | cut -d' ' -f5 the problem i'm having is grabbing the right field of information from ls |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|