Answer Posted / anandhi
$rm –rf .??*
With the option –rf and the use " .??* " will remove/delete
all hidden files/directory. The initial " . " indicates
a 'hidden' file and the " ?? " match at least two
characters to exclude the parent-directory which is " .. "
and to remove or delete everything the " * " will match all
number or characters that used for files or directory name.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why is it called a shebang?
What is the size of time_t?
How do I run a bash script?
What are some command words?
Why is shebang used?
How do I search for text in vi?
What is a bash command?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is the command to compare two files in unix?
What is awk used for?
Which unix command to make a new directory?
Write a command to display a file’s contents in various formats?
What is the difference between awk and grep?
What is awk good for?
Is ‘du’ a command? If so, what is its use?