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...

Describe the usage and functionality of the command rm –r * in unix?

Answer Posted / hr@tgksolutions.com

The command rm –r * erases all files in a directory with its subdirectories.
• rm is for deleting files
• -r is to delete directories and subdirectories with files within
• * is indicate all entries

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of the tee command?

1153


Which command will print your home directory on screen?

1150


What do know about tee command?

1221


Describe the zip/unzip command using gzip.

1225


How do I search for text in vi?

1100


What does find command return in unix?

1202


Name the general commands in using unix os for a beginner?

1215


How do I search for a file in unix command?

1061


How do you grep recursively?

1152


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1357


What is the command to view process running?

1154


What is the difference between awk and grep?

1333


What is the behavioural difference between cmp and diff commands?

1341


What does the command ' $who | sort –logfile > newfile' do?

1324


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:

2317