just a quick question
Results 1 to 6 of 6

Thread: just a quick question

  1. #1
    Banned
    Join Date
    Aug 2001
    Posts
    39

    Talking just a quick question

    How do you delete stuff off linux? I just put linux on my compute and i was wondering how to remove some files that are causeing me trouble.

  2. #2
    Senior Member
    Join Date
    Oct 2002
    Posts
    181
    rm to remove a file
    &
    rmdir to remove a directory

    try rm --help to explain all the switches

    SittingDuck
    I\'m a SittingDuck, but the question is \"Is your web app a Sitting Duck?\"

  3. #3
    Banned
    Join Date
    Aug 2001
    Posts
    39

    Talking

    thanx, now i can instal x windows and pretend i got windows 95 again woohoo!

  4. #4
    Senior Member
    Join Date
    Jan 2002
    Posts
    187
    rm -rf directoryname

    will remove the contents of a directory recursively, and the diretory itself, without prompting for confirmation...a real time saver. (yes i'm SURE i want to delete that!)
    U suk at teh intuhnet1!!1!1one

  5. #5
    Member
    Join Date
    Nov 2002
    Posts
    42
    btw, /dev/null/ is the trash bin in linux right?! im wondering cuz i cant find it, heh..
    the console says that the dir doesn't exist..

    anyone know whats wrong??

  6. #6
    Senior Member roswell1329's Avatar
    Join Date
    Jan 2002
    Posts
    670
    Originally posted here by Mephisto
    btw, /dev/null/ is the trash bin in linux right?! im wondering cuz i cant find it, heh..
    the console says that the dir doesn't exist..

    anyone know whats wrong??
    In linux, null isn't a directory, it's a device (a filetype). Just like your modem, only your modem sends information out to a destination, null sends information to oblivion.


    The correct path would be:

    /dev/null

    (no trailing slash. the console was giving you an error because null isn't a directory, it's a device).
    /* You are not expected to understand this. */

Posting Permissions

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

 Security News

     Patches

       Security Trends

         How-To

           Buying Guides