DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: unix question

  1. #1
    Join Date
    Jun 2001
    Location
    NY
    Posts
    226
    Dear Members

    I want to delete a directory /dir1 which contains other directories e.g. /subdir i.e. /dir/subdir and there are files in /subdir. How can I issue a 'rm' command from /dir to delete /subdir including its contents??

    Thanks
    roukie-dba

  2. #2
    Join Date
    Feb 2001
    Posts
    41
    Type rm -rf (directoryname), it will delete the directory including subdirectories.

    Cheers!

    Farrukh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width