Answer Posted / viswa
The command rm -r * will not delte the hidden files. The
command will delte all the normal(unhidden) files and
direcotories.
#1 //Deleting all hidden files in present dir
rm -f .*
#2 //Deleting all hidden dir's in the present dir
rm -r .* OR rmdir .*
Note the command #2 will delete only the hidden dir's
created by the user not the default hidden dir's(. & ..)
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Write a command that will display files in the current directory, in a colored, long format.
Explain mount and unmount command.
How do I use grep to find a file?
How do I use nslookup?
why metadb requires a seperate slice to create Solaris volume manager
Name the various commands that are used for the user information in unix.
What will the following command do?
What is rmdir command?
hw will u use awk in replacing cahrs and files
Describe the usage and functionality of the command rm –r * in unix?
What are the dos commands?
Explain ‘library functions’ with respect to unix commands?
What are the differences among a system call, a library function, and a unix command?
Name the general commands in using unix os for a beginner?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?