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
Explain mount and unmount command.
What is difference between grep and find command in unix?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
What are the differences among a system call, a library function, and a unix command?
Which command is used to find whether the system is 32 bit or 64 bit?
What is the use of tee command?
Name the various commands that are used for the user information in unix.
What is sed awk grep?
How to display no of records in oracle using unix command?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is the behavioural difference between cmp and diff commands?
What is the pipe 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 are bash commands?
What is awk used for?