Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Will rm -r* removes hidden files?

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


Please Help Members By Posting Answers For Below Questions

Explain mount and unmount command.

1205


What is difference between grep and find command in unix?

1195


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 # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

2252


What are the differences among a system call, a library function, and a unix command?

1203


Which command is used to find whether the system is 32 bit or 64 bit?

1134


What is the use of tee command?

1143


Name the various commands that are used for the user information in unix.

1077


What is sed awk grep?

1122


How to display no of records in oracle using unix command?

1160


Explain how to use grep command to list find the records of a file containing 10 different strings?

1059


What is the behavioural difference between cmp and diff commands?

1268


What is the pipe command?

1171


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1212


What are bash commands?

1146


What is awk used for?

1115