remove symbolic-link (ln -s) in terminal
When you create a link with "ln -s", then you can remove the link with a simple "rm"
"rm ACTUAL_FILE" removes the actual file, "rm SYM_LINK" removes the symbolic link
rm -rf /usr/src/linux
Unfortunately, no one can be told what the Matrix is. You have to see it for yourself. by MORPHUS.DK
Showing posts with label rm. Show all posts
Showing posts with label rm. Show all posts
06 November, 2010
08 February, 2010
How to delete files older then x-days on Linux
Delete Files Older then x Days on Linux - easy way
in terminal / command line
using "find" command
Code:
in terminal / command line
using "find" command
Code:
find *.txt -mtime +30 | xargs rm
- "find" executing program
- "*.txt" file
- "-mtime +30" files older then 30 days
- " | " pipe
- "xargs" executing program
- "rm" executing command
Subscribe to:
Posts (Atom)