Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Hi all, can you please let me know how to deleted files from the linux system permanently? i am working in terminal and even on doing rm or unlink disc ...
  1. #1
    Just Joined!
    Join Date
    May 2007
    Posts
    6

    Red face data deletion from linux system

    Hi all,

    can you please let me know how to deleted files from the linux system permanently?
    i am working in terminal and even on doing rm or unlink disc space is not freed...
    also please let me know which are the log files and temporary files that can be deleted safely...
    please help...
    thanks in advance
    richa

  2. #2
    Just Joined!
    Join Date
    May 2007
    Location
    In a city called Chennai in India
    Posts
    17

    Deleting...

    Hi,

    As far as deleting is concerned, say, if you are rightclicking & deleting from the GUI mode, it will be sent to the Trash.

    If you are deleting from Console/Terminal/Shell prompt (however you may call it).... use "rm -rf <name of folder>" where "-rf" is for Recursive & Force respectively.

    Generally, if you would like to get some space, and if you are thinking about deleting those log files or temporary files, those would not occupy much of space at all for it to contribute a gud difference in releiving space for u. Anyways, if you would like, all the temporary files, most of it all would be inside the "/tmp" directory and the log files, will generally be in "/var" or sometimes in the same location as other files too, with extension ".log" etc..

    Regards
    Visu

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    am working in terminal and even on doing rm or unlink disc space is not freed...
    also please let me know which are the log files and temporary files that can be deleted safely...
    'rm' deletes files permanently and should increase size of free space.
    you can delete cache of browser and yum.
    Code:
    yum clean cache
    you have to delete browser's cahce manually.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Just Joined!
    Join Date
    May 2007
    Posts
    6

    Question

    I have tried rm -rf still there is no free space. i am working in debian .Moreover it is not recognising yum command
    plz help.
    richa

  5. #5
    Linux Enthusiast
    Join Date
    Oct 2004
    Posts
    609
    Quote Originally Posted by richa View Post
    ... i am working in debian ...
    Topic moved to Debian section.
    Better place than the Red Hat/Fedora section

  6. #6
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,343
    Debian does not use YUM, it uses apt. You can try
    Code:
    #apt-get clean

  7. #7
    Just Joined!
    Join Date
    May 2007
    Posts
    6
    I want some free available space in debian as it is showing 0 space. Wht to do??

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    execute this
    Code:
    su
    apt-get clean all
    post the output of 'df -h' command.


    Edit: thanx RedMan for moving this thread. i suggested 'yum clean cache' earlier coz thread was in Red Hat/Fedora Forum.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined!
    Join Date
    May 2007
    Posts
    6

    Unhappy

    hi again
    i am not geting any solution for this problem i.e. no available /free space to execute the program.I working in Debian over vmware installed on linux fedora core.
    plzz help.

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    post the output of 'df -h' command here.
    did you execute 'apr-get clean' command?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

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