Describe the usage and functionality of the command rm –r * in unix?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
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 |
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 |
which command is used to change group?
The command grep first second third /usr/you/myfile a) prints lines containing the words first, second or third from the file /usr/you/myfile b) searches for lines containing the pattern first in the files second, third, and /usr/you/myfile and prints them c) searches the files /usr/you/myfiel and third for lines containing the words first or second and prints them d) replaces the word first with the word second in the files third and /usr/you/myfile e) None of the above
What is awk command used for?
What command is used to switching between users in unix?
What is the use of egrep command in unix?
How do you grep a case insensitive?
What does sed command do in unix?
How to get a particular string as your prompt ? Give syntax of that command?
How many bits use for MAC address?
What is the use of the tee command?
What is the use of touch command in there?
How to replace the exact word in vi editor?? suppose a file contains words like amaze,amazed,amazement in some of the line.But i want to replace only 'amaze' with delight but don't wanna replace amazed or amazement. thanks
6 Answers Polaris, Tech Mahindra,