how can removed backup files via putty

Discussion in 'Site & Server Administration' started by playboy18, Sep 3, 2009.

  1. #1
    hello

    my storage full by backup files

    need help how i can removed backup files via putty

    Disk /dev/mapper/VolGroup00-LogVol00 (/) 87 %

    command :
    cd /backup/cpbackup

    plez help how removed xxx folder
    example: rm -rf xxx/ ???
    thanks
     
    Last edited: Sep 3, 2009
    playboy18, Sep 3, 2009 IP
  2. jamespv85

    jamespv85 Peon

    Messages:
    238
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    well if you have write access to these files a simple "rm" or "rmdir" command would suffice.

    usually it's just "rm" together with the options 'r' and 'f' then the name of the directory.

    r - to recurse through the subdirectories if you're trying to delete a directory
    f - force it, no questions asked (no prompts)

    so it would look something like this,

    rm -rf NAME_OF_DIR

    warning this could be dangerous. there is no undo in using this method should you delete something by mistake.
     
    jamespv85, Sep 3, 2009 IP
  3. playboy18

    playboy18 Active Member

    Messages:
    100
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #3
    thanks

    rm -rf xxx working good :D
     
    playboy18, Sep 3, 2009 IP