LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Remove "Extra" Files? (https://www.linuxquestions.org/questions/linux-newbie-8/remove-extra-files-36895/)

Mr. Eek 11-30-2002 01:19 PM

Scratched Out

lowlifeish 11-30-2002 07:35 PM

Mr. Eek,

One thing you could do is use the find command to find files that
have not been accessed for the last X days. You can then put all those files into a directory (such a /be_careful), and move all those files there. Reboot your computer, and if it still works after about a week or so of use, you can probably safely delete them.

- lowlife

trickykid 11-30-2002 09:11 PM

I wouldn't worry about your /dev directory, its a psuedo type file system which in most cases take up very little space or no space. In most *nix systems they are only loaded up in RAM and not on the hard disk. So I would leave this directory alone just to prevent from trashing your whole system.

You'll probably want to try doing a search on maybe "Linux Filesystem" and read up on that to understand more of what you will need and what you won't need.

NSKL 12-01-2002 04:57 AM

Or just run DevFS, this will put only the files needed for your hardware in /dev, in other words, you will have only the existing devices in your /dev, the nonexistent ones will be removed. You can enable devFS in the kernel, and it should load next time you reboot.
HTH
-NSKL

Mr. Eek 12-01-2002 08:55 AM

Scratched Out


All times are GMT -5. The time now is 06:15 PM.