![]() |
|
|
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 |
| using sed to replace a specific string on a specific line number using variables | todd.cutting | Shell Programming and Scripting | 2 | 08-13-2009 10:40 PM |
| Insert a text from a specific row into a specific column using SED or AWK | Issemael | Shell Programming and Scripting | 5 | 07-14-2009 12:12 PM |
| How to replace a specific word in specific column? | ./hari.sh | Shell Programming and Scripting | 6 | 03-07-2009 09:33 AM |
| Copying specific files from remote m/c to specific folders | jhoomsharabi | Shell Programming and Scripting | 0 | 06-12-2008 08:31 AM |
| Recursive directory listing without listing files | psingh | UNIX for Dummies Questions & Answers | 4 | 05-10-2002 11:52 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
capture specific listing in the ls -l
Hi,
my desired output needs only that has *.pdf ls -l *.pdf error: arg list too long so I have redirected ls -l > file.txt therefore, I get the following details in the file -rw-r--r-- 1 devusr devgrp 848015 Aug 11 15:13 0000795769.pdf -rw-r--r-- 1 devusr devgrp 848492 Aug 11 15:13 0000795775.pdf -rw-r--r-- 1 devusr devgrp 848531 Aug 11 15:14 0000795781.pdf -rw-r--r-- 1 devusr devgrp 847842 Aug 11 15:14 0000795783.pdf -rw-r--r-- 1 devusr devgrp 848552 Aug 11 15:14 0000795791.pdf -rwxr-xr-x 1 devusr devgrp 88417741 Aug 21 11:42 file1.zip -rwxr-xr-x 1 devusr devgrp 88421718 Aug 21 11:42 file2.zip -rwxr-xr-x 1 devusr devgrp 88425125 Aug 21 11:42 file3.zip -rw-r----- 1 devusr devgrp 1 Aug 20 13:57 samp.txt drwxrw-rw- 2 devusr devgrp 256 Aug 1 22:02 tmp drwxrw-rw- 2 devusr devgrp 256 Aug 17 15:44 ecs Can I get only the lines with *.pdf to a different file Pls advice!! |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|