11-06-2005
You will need read permission on all of the directories so you may need to do this as root. First "cd mountpoint" then use the find command. So for /usr:
cd /usr
find . -print
Also there is a -R option to ls so:
ls -lR
is another approach.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Guys,
can anybody help me in the following........
I have different types(c files,ordinary text files etc) in a directory.
is there any way to list other than .c files using the 'ls' command only.
i tried with the following.
ls *.*.
its not listing the .c files,but at the same time not... (3 Replies)
Discussion started by: venkat
3 Replies
2. UNIX for Dummies Questions & Answers
hey. i am a bit new to unix and i am trying to figure out how to list the names of the 'dot' files that are in my account.
what command does this?
thank you very much for your help. (4 Replies)
Discussion started by: Jakeman1086
4 Replies
3. UNIX for Dummies Questions & Answers
Could please help me
To view removed files list for last 2 days. (1 Reply)
Discussion started by: santhakumar
1 Replies
4. UNIX for Dummies Questions & Answers
Looking for a line to show all of the large files on a unix server (over 300mb)...
Having problems finding anything that works...
TIA! (13 Replies)
Discussion started by: search66
13 Replies
5. Shell Programming and Scripting
Hi All,
can anyone pls share the command to list the files of current day only. i want to check if there are any files in a particular directory which are not of current date. (6 Replies)
Discussion started by: josephroyal
6 Replies
6. Shell Programming and Scripting
Hi All,
Below is the 2 different ouputs of the command "ls -lrt", my question is what exactly "total 0" & "total 8" means here ?
$ ls -rtl
total 0
-rw-r--r-- 1 oracle dba 0 Feb 10 20:16 c
-rw-r--r-- 1 oracle dba 0 Feb 10 20:16 b
-rw-r--r-- 1... (1 Reply)
Discussion started by: kannan84
1 Replies
7. Shell Programming and Scripting
HI,
I have requirement to fetch the list of files except the ok file by connecting to other server and then copy all the files that are fetched using the below command.
ssh ${aSrcHOST} ls ${aSrcDIR}/grep -vi OK$ > filelist.txt
The above code is also picking up any directory names and... (7 Replies)
Discussion started by: Nikhath
7 Replies
8. Shell Programming and Scripting
Hi all,
this is my first and i can't speak english well, so please be kind !
Here is my problem :
I want to unzip a list of .zip files stored in one directory, so I though about using that : unzip '*.zip'
Thing is that all of my zipped folders contain a file with the unique same name :... (6 Replies)
Discussion started by: remissssss
6 Replies
9. Shell Programming and Scripting
Hi Friends,
Can we have an alternate command to list last 1hour files with out FIND command?
Thanks
Suresh (6 Replies)
Discussion started by: suresh3566
6 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I would like to combine below 2 commands (list, egrep) them into a single command and list only the required files using AWK or anything else. Could you please help.
ls *FA_GL_10K_TND_HIER*dat | egrep "UPD|INS|DEL"... (3 Replies)
Discussion started by: Ariean
3 Replies
LEARN ABOUT REDHAT
vgmknodes
VGMKNODES(8) System Manager's Manual VGMKNODES(8)
NAME
vgmknodes - create volume group directory and special files
SYNOPSIS
vgmknodes [-d|--debug] [-h|--help] [-v|--verbose] [VolumeGroupPath | VolumeGroupName...]
DESCRIPTION
vgmknodes creates the volume group directory and special files for an existing volume group. This is to restore deleted special files.
Owner, group and file permissions will not be restored.
OPTIONS
-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-h, --help
Print a usage message on standard output and exit successfully.
-v, --verbose
Gives verbose information about vgmknode's activities.
Examples
"vgmknodes /dev/vg02" tries to remove /dev/vg02 and all contained special files and then creates them again based on the VGDA.
DIAGNOSTICS
vgmknodes returns an exit code of 0 for success and > 0 for error:
1 invalid volume group name
2 error checking existence of volume group
3 error removing volume group device special files
4 error creating volume group device special files
95 driver/module not in kernel
96 invalid I/O protocol version
97 error locking logical volume manager
98 invalid lvmtab (run vgscan (8))
99 invalid command line
See also
lvm(8), vgcreate(8)
AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com>
Heinz Mauelshagen LVM TOOLS VGMKNODES(8)