2 FAQ tagged "inode number"
Viewing 1-2 of 2 FAQ -- Find the file permission without using ls -l command
Q. I need to find file permission and store the same to a shell variable. How do I find out the file permission without parsing ls -l output?
A. Use GNU stat command to display file or file system status. It has option to display output in specific format.
Display stat for /etc/passwd file
Type the [...] - UNIX: Remove a file with a name starting with - character
Q. Accidentally, I had created a file called -foo. Now how do I remove a file with a name starting with ‘-’ under UNIX or Linux operating system?
A. Use standard UNIX rm command, as follows:
rm command
Use rm command to remove files or directories as follows
rm ./-foo
rm ./-filename
rm — -foo
Alternatively, you can also [...]
Viewing 1-2 of 2 FAQ - ( see all popular tags )



Recent Comments
Today ~ 12 Comments
Yesterday ~ 3 Comments
09/06/2008 11:03 pm (2 days ago) ~ 12 Comments
09/06/2008 02:10 pm (2 days ago) ~ 7 Comments
09/06/2008 06:51 am (2 days ago) ~ 2 Comments