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
Which command can you use to find the currently running process in unix server?
What is the use of finger command?
Give the command for finding the current date.
why metadb requires a seperate slice to create Solaris volume manager
Write a command to kill the last background job?
how to sort the content of the file based on numeric values
What is grep in bash?
What does touch command do in unix?
What does #!/ Bin sh do?
Explain mount and unmount command.
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What does grep v do?
How do I find previous commands in unix?
What is grep and how do you use it?
Enlist some filename manipulation commands in unix.