The Most usabel Lniux Commands

Filed in Linux 0 comments

to going to a directory you could use the following command

CD

Example:
the following will go to the /home directory

cd /home

for going a level uper than the folder where you are curently on it use”..” such the following example
Example:
will go to the /home/cusernamecd directory

cd /home/cusernamecd

this will go a leve uper than where you are so in this example it will go to /home directory

cd ..

to delete a fire use

rm myfile

to delete without being prompted

rm -f myfile

to delete all the files in a directory

rm -r directory/*

again to delete without being promted

rm -r -f directory/*

or also you can use

rm -rf directory/*

No related posts.

Posted by voshka   @   23 February 2010 0 comments

Share This Post

RSS Digg Twitter StumbleUpon Delicious Technorati

0 Comments

No comments yet. Be the first to leave a comment !
Leave a Comment

Previous Post
«
Next Post
»
CrossBlock designed by DeltaManual.Com  |  In conjunction with Web Hosting   |   Web Hosting   |   Reverse phone