- Messages
- 1,408
- Reaction score
- 30
- Points
- 48
I am making this thread so that i can get a quick access to all those commands which i have learned by searching over internet. If you have some more or similar commands then post it here. but please keep it simple. don't go too advance. I am a novice!
assume that the directory names are dir1, dir2 .......
To create a directory: mkdir dir1
To change directory: cd dir1
To go back in previous directory: cd ..
To remove an empty directory: rmdir dir1
To remove a non empty directory: rmdir -rf dir1
Copying directory or file: cp dir1 dir2
Renaming directory or file: mv dir1 dir2
If you like this simple tutorial please visit http://www.chatindia.co.in . The link is in my signature.
Don't forget to correct and add some more commands.
---------- Post added 06-19-2011 at 08:17 AM ---------- Previous post was 06-18-2011 at 11:35 PM ----------
Suppose you want to unzip document.zip in the same directory
unzip document.zip
Suppose you want to unzip document.zip in different directory new whose location is /home/new
unzip document.zip -d /home/new
To edit a file
nano filename
If you like this simple tutorial please visit http://www.chatindia.co.in . The link is in my signature.
Don't forget to correct and add some more commands.
assume that the directory names are dir1, dir2 .......
To create a directory: mkdir dir1
To change directory: cd dir1
To go back in previous directory: cd ..
To remove an empty directory: rmdir dir1
To remove a non empty directory: rmdir -rf dir1
Copying directory or file: cp dir1 dir2
Renaming directory or file: mv dir1 dir2
If you like this simple tutorial please visit http://www.chatindia.co.in . The link is in my signature.
Don't forget to correct and add some more commands.
---------- Post added 06-19-2011 at 08:17 AM ---------- Previous post was 06-18-2011 at 11:35 PM ----------
Suppose you want to unzip document.zip in the same directory
unzip document.zip
Suppose you want to unzip document.zip in different directory new whose location is /home/new
unzip document.zip -d /home/new
To edit a file
nano filename
If you like this simple tutorial please visit http://www.chatindia.co.in . The link is in my signature.
Don't forget to correct and add some more commands.
Last edited: