file management with the terminal

rootbubble

Registered
Can someone help me with the comands i need to do this:

1. move a file or a folder from one directory to another
2. deleting a file or folder
3. setting and changing file flags
4. changing file permissions and ownership of a file



....thanks in advance
 
1. move a file or a folder from one directory to another
mv (see man page)
2. deleting a file or folder
to remaove a file: rm
to remove a folder and everything in it: rm -rf
3. setting and changing file flags
chmod (se man page)
4. changing file permissions and ownership of a file
chown (se man page)

to view a man page type the command + man in the terminal
for example: man chown

and check out these links:

http://hotwired.lycos.com/webmonkey/reference/unix_guide/
http://hotwired.lycos.com/webmonkey/html/97/02/index3a.html

-Jason
 
Back
Top