Some useful UNIX command

2011
07.03

Change mode :
Make folder and its content writable : chmode -Rf 777 foldername
to view the current directory: pwd

listing with all attributes : ls  -l

to view hidden files :    ls  -a

to list all the ext file:    ls  -ltr *.ext

to change owner :     chown <owner name> <folder name>  OR chown -Rf <owner name> <folder name>

to change group :    chgrp <group name> <folder name>  OR chgrp -Rf <group name> <folder name>

to bring somthing from any outer site : wget http://www.example.com/example.zip

to remove file :  rm file name

to remove folder :  rm  -f  folder name

Tags:

Your Reply