![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem count with wc-l command | kunimi | UNIX for Dummies Questions & Answers | 2 | 02-27-2008 03:42 AM |
| byte count and cut command | hemangjani | Shell Programming and Scripting | 4 | 04-12-2007 11:32 AM |
| command to count files in dir | balireddy_77 | Shell Programming and Scripting | 4 | 11-15-2006 01:56 AM |
| May download a folder using wget command! | ThrdF | UNIX for Dummies Questions & Answers | 1 | 02-15-2006 06:34 AM |
| zipped or unzipped file | ted | UNIX for Dummies Questions & Answers | 3 | 06-25-2002 08:11 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
command to get count in unzipped folder
Hi All,
Is there is a way to do this in a single unix command I have unzipped some files into a directory .. I want to check the count of the files in the directory and also i need to check whether the files is having read permision or not.. I know it can be done by a script isthere any way to it in a single command Thanks, Arun |
|
||||
|
Quote:
Code:
ls -l | awk '{ if( substr($0, 2, 1) == "r" ) { print } }'
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|