Results 1 to 3 of 3
I cant figure out or find out in google how to do delete files or folders from the directory. Anyone know?...
- 06-25-2007 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 7
deleting files or directories in terminal
I cant figure out or find out in google how to do delete files or folders from the directory. Anyone know?
- 06-25-2007 #2
cd to directory and execute
for deleting directory, use -r option.Code:rm <filename>
check manual of rm command. man rm.Code:rm -r <directory>
you can't delete file or directory outside your home folder. you have to gain root privileges for that.
check LinuxCommand.org: Learn the Linux command line. Write shell scripts.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 06-25-2007 #3Just Joined!
- Join Date
- Jun 2007
- Posts
- 7
Thanks, ill check out that website.


Reply With Quote
