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 is used to find whether the system is 32 bit or 64 bit?
How to use grep command to list find the records of a file containing 10 different strings?
What does the command ' $who | sort –logfile > newfile' do?
What is updatedb?
What is used to type command?
Is ‘du’ a command? If so, what is its use?
What is the comma to show the space allocation of files?
Explain command to view process running?
Why is shebang used?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What do chmod command do?
What is the size of time_t?
How do I find previous commands in unix?
why metadb requires a seperate slice to create Solaris volume manager
What command is used to check the current users?