3 FAQ tagged "rm_command"
Viewing 1-3 of 3 FAQ -- Ubuntu Linux: Delete directory command in Terminal
Q. Can you tell me command to delete a directory in terminal?
A. You need to use the rmdir utility / command. The rmdir utility removes the directory entry specified by each directory argument, provided it is empty. Arguments are processed in the order given. In order to remove both a parent directory [...] - Linux delete directory with rmdir command
Q. I’m new to Linux and I’d like to know how to delete directory? I’m using Cent OS Linux.
A. You need to use command called rmdir. It remove empty directories
rmdir command syntax
rmdir [OPTION] {directory-name}
Delete / remove directory
To delete directory called foo, enter:
rmdir foo
Remove DIRECTORY and its ancestors
For example remove directory structure sales/99/march
rmdir -p sales/99/march
Recursive [...] - How to delete lots of directory at a one time in Linux or UNIX
Q. I’d like to delete lots of directory at a one time in Linux or UNIX. For example /data2/2005 is old archived data and it is no longer needed. How do I delete all directories and files from /data2/2005? Do I need to write a script?
A.. You need to use rm command to remove [...]
Viewing 1-3 of 3 FAQ - ( see all popular tags )



Recent Comments
Yesterday ~ 12 Comments
Yesterday ~ 7 Comments
Yesterday ~ 2 Comments
Yesterday ~ 3 Comments
Yesterday ~ 3 Comments