![]() |
|
|
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 |
| Changing display and format of file | wahi80 | UNIX for Dummies Questions & Answers | 1 | 08-02-2008 09:12 PM |
| To convert multi format file to a readable ascii format | gaur.deepti | UNIX for Dummies Questions & Answers | 5 | 03-25-2008 03:03 PM |
| Convert UTF8 Format file to ANSI format | rajreddy | UNIX for Dummies Questions & Answers | 9 | 05-25-2007 09:26 AM |
| sed to display date in dd/mm/yyyy format | sars | Shell Programming and Scripting | 2 | 02-15-2007 03:32 AM |
| octal and strings | strider | High Level Programming | 1 | 03-06-2006 10:17 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Okay this is working .
i checked one file with permissions -rw-r--r-- and this code is showing it as 100644. Can any one explain what 100 means here ?? |
|
||||
|
you need to add the bitwise AND
Code:
perl -e'printf "%o\n",(stat shift)[2] & 07777' from the perldoc Quote:
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|