|
|
|
![]() |
![]() |
||
|
| |||||
![]() | The recursive command option Many commands contain either a -r or -R (recursive) option for executing the command through a directory hierarchy. When used with the rm (remove files) command, this option can be very useful while at the same time extremely dangerous. It is very useful when you want to delete the entire contents of a directory and the contents of all its subdirectories in a single pass, but can be very dangerous if used when you only wanted to delete the contents of a top-level directory or mistakenly specify the wrong directory on the command line. If you use the recursive option with any command, be very careful and make sure you understand what the results of using this option will be before hitting the Enter key. |
| * You are viewing a page from LiveFire Labs' sample online UNIX training course. Click here if you do not see a blue and green frame around this page, or view the detailed description for this course. LiveFire Labs - Online UNIX Training |