![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| exit status of command in a pipe line | topcat8 | UNIX for Dummies Questions & Answers | 10 | 10-19-2007 05:39 AM |
| How can I use pipe command ? | bintaleb | UNIX for Dummies Questions & Answers | 11 | 04-16-2007 04:16 PM |
| Pipe out ftp command to a file | lweegp | UNIX for Dummies Questions & Answers | 2 | 10-10-2005 06:40 AM |
| pipe command | zomboo | UNIX for Dummies Questions & Answers | 1 | 10-31-2004 06:04 PM |
| ret val of a command in a pipe which is NOT the last one | latze | Shell Programming and Scripting | 5 | 11-01-2002 10:32 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How to pipe command
Hi All,
I want to create a command that executes a text editor with the most recent file in the current current directory. So a good start to achieve this is : ls -lrt | cut -c55- | tail -1 which provides the name of the most recent file in a directory The problem is to pipe the result of this command with the text editor command (suppose dtpad). So my question is : does it exist a way to make something like ls -lrt | cut -c55- | tail -1 | dtpad XXXX where XXXX is a variable or a command to force the dtpad command to take as parameter the result of the pipe Thanks by advance, Nicolas. France |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|