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
Why is it called grep?
How does pipe () work?
Can you explain a little bit about command substitution?
What command will change your prompt to myprompt?
What are filter commands in unix?
What are bash commands?
How do I open a port?
How do I search a whole word in vim?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is grep command in unix with examples?
Can you enlist some commonly used network commands?
What are file commands?
What is unix command line?
What happens when we execute a unix command?
What is nr in awk command?