PWD and CD: the Most Basic Linux/ Unix Commands

PWD and CD: the Most Basic Linux/ Unix Commands

PWD and CD: The Most Basic Linux/ Unix Commands PWD “pwd” stands for print working directory and its purpose is to print the full path to the current directory The “full path” is just a fancy word for the hierarchies from the root directory to the current directory. These directories are marked by a forward slash followed by the name of the directory. (i.e. /Users/rossbullock/Documents) This command is most commonly used right after the “ls” (which lists the contents of the current directory) and “cd” commands (which changes the directory; you’ll learn about that later), to make sure the user is where they want to be The pwd command only has two standard options, ---help and --version. The --help option is used to show information about pwd, but since it’s a simple command, most times it barely prints any. The --version option just shows the version number. For example, Directories Directories are where you store folders containing information To Change Directories you type in cd and then the name of the Directory you want to change to To find a certain directory you can also press the tab button after you type in the first few letters of the directory Ex. You use cd to pick the directory 101 which is why it says 101 username on terminal after seeing the folders in 101 you then type cd temp to change the directory to temp Work cited http://www.linfo.org/pwd.html http://guides.macrumors.com/Terminal .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us