File and Directory commands used in Ubuntu

File and Directory commands used in Ubuntu
Want create site? With Free visual composer you can do it easy.

  –  Stands for your Home directory

pwd (Print working Directory)Allows you to know in which directory you are located

lsWill show you the list of files in your current directory

cdallow you to change the directories. To move around the file system cd command will be used

cd/navigate to the root directory

cd ~
navigate to home directory

cd ..
navigate up one directory

cd –
navigate to previous directory

copy a file

cp –r
directory aaarecursively copy the directory aaa

move a file to a different location (mv aaa ~/Desktop)

rmremove a file

delete an empty directory

mkdirallow to make a directory

Thamali Epa
Thamali is a contributor at Nerdynaut Staff.
Did you find apk for android? You can find new Free Android Games and apps.
  • Fascinated
  • Happy
  • Sad
  • Angry
  • Bored
  • Afraid

FB comments

Use 3dcart to create your online store.
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Most Popular

​Disclaimer : Nerdynaut is a tech company which consists of professionals in respective academic fields in its functional team facing challenging roles to quench the thirst of knowledge in cyberspace. Every article and majority of artworks in this website are copyright of Nerdynaut 2017. After a written permission from the publisher, the original content can be reused or referred for promotional work of education without any modification. Expressions of mass media with intentional harm on Nerdynaut brand may be liable to criminal prosecution and civil claims for the damages caused.
Protected by Copyscape
* = required field

Copyright©2014-2017.The Nerdynaut. All Rights Reserved. A game-changing subordinate of Naut's Holdings.
Made in Sri Lanka.

To Top