UNIX Command Example: cd - Change Directory(ies)

UNIX Command Example: cd - Change Directory(ies)

Logon to UNIX command prompt then copy & past the bellow code to get some interesting result:

   cd test/
   cd ~/test/
   cd ~/unix/
   cd ..
   pwd
   Here "cd" is the command to Change Directory.
   "cd test/" Change Directory to "test" relative path.
   "cd ~/test/" Change Directory to "test" using absolute path.
   "~" in UNIX this sign has special meaning - home Directory of the currently login user from root.
   If everything went well you should get some interesting result as follows:

UNIX Command Example: cd - Change Directory(ies) - Result in the UNIX command prompt

No comments:

Post a Comment

leave your comments here..