Changes between Version 33 and Version 34 of cypress/BasicLinuxComands
- Timestamp:
- 08/17/20 16:28:40 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
cypress/BasicLinuxComands
v33 v34 1 [[PageOutline]] 1 2 = Linux Commands = 2 3 … … 16 17 17 18 === pwd === 18 On a *nix system, directories are containers for files and objects. The '''pwd''' command lists the present working directory. This is the "where am I?" command.19 On a *nix system, directories are containers for files and objects. The '''pwd''' command lists your current working directory. This is the "where am I?" command. 19 20 {{{ 20 21 [tulaneID@cypress1 ~]$ pwd … … 22 23 [tulaneID@cypress1 ~]$ 23 24 }}} 25 26 === Absolute and Relative File and Directory Paths === 27 You can specify directories and file names as arguments for '''cd''' and most other *nix commands as needed using either absolute paths (beginning with "/") or relative paths - relative to your current directory (without initial "/"). 28 29 Also, when you specify directories and file names using relative paths, those paths are always interpreted relative to (or starting from) your current working directory (the result of '''pwd'''), whereas absolute paths are always interpreted independently of your current working directory (or starting from root directory /). 24 30 25 31 === cd === … … 44 50 [tulaneID@cypress1 ~]$ 45 51 }}} 46 47 === Note ===48 You can specify directories and file names as arguments for '''cd''' and most other *nix commands as needed using either relative paths (without initial "/") or absolute paths (beginning with "/").49 When you specify directories and file names using relative paths, those paths are always interpreted relative to (or starting from) your current working directory (the result of '''pwd'''), whereas absolute paths are always interpreted independently of your current working directory (or starting from root directory /).50 52 51 53 {{{ … … 158 160 {{{git clone https://hidekiCCS:@bitbucket.org/hidekiCCS/hpc-workshop.git}}} 159 161 160 == rmdir==162 === rmdir === 161 163 Removes directories. CAUTION: THERE IS NO UNDOING THIS COMMAND AS WELL. 162 164