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
What is rmdir command?
How to use grep command to list find the records of a file containing 10 different strings?
Why is it called a shebang?
What is the use of the tee command?
How do I use grep to search for a file?
What is the function of grep command in unix?
What is grep short for?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is in grep command?
What is the first character of the output in ls l command?
What are bash commands?
What is grep in bash?
What is the use of find command in unix?
What does find command return in unix?
What is nr in awk command?