You can remove particular directories or files use of " rm "command in linux
rm [options] filename
if you want to remove full directory means use these command
rmdir [options] directory
options are -r ,-rf,-v like that
Example:
rm [options] filename
if you want to remove full directory means use these command
rmdir [options] directory
options are -r ,-rf,-v like that
Example:
- rm -rf test.txt -->removes test.txt file
- rmdir /home/src/webapp -->removes the directory
- rm * --->removes every thing from that current path
- rm *.jsp --->rremoves all files end with jsp files from the current path
No comments:
Post a Comment