![]() |
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 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 |
| listing of directories with / at end...without ls -F | vasanthan | UNIX for Dummies Questions & Answers | 10 | 04-16-2008 04:34 AM |
| listing of directories with / ...not to use ls -F | vasanthan | UNIX for Advanced & Expert Users | 1 | 04-16-2008 03:20 AM |
| Listing Unique directories. | deepakwins | UNIX for Dummies Questions & Answers | 2 | 01-23-2008 06:14 PM |
| Listing directories and ${1:+$1/}* | GMMike | UNIX for Dummies Questions & Answers | 5 | 01-24-2005 09:38 PM |
| files and directories listing | bbolson | UNIX for Dummies Questions & Answers | 1 | 12-11-2001 01:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Listing directories and sub directories
Hey there, i am trying to list all the directories and sub directories of a file system, but am having a bit of trouble.
ls -lR|grep \/|grep '^\.' >> input.dat i used this statement to list all the directories and sub directories and output them to a file when i try to print them out on the screen it works fine But when i try to put them to a output file, it doesnt work Can anyone explain me why?? |
|
||||
|
It works for me fine on solaris host. Do you have a permission to create a file in this directory? Or if the file already exists - do you have permission to write to it? Maybe you have some acl set on the file?
Regards, -Oktawik. |
|
||||
|
Just a side note:
If I understand what you're trying to do, it would be easier to use: find . -type d ShawnMilo |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|