Changes between Version 33 and Version 34 of cypress/BasicLinuxComands


Ignore:
Timestamp:
08/17/20 16:28:40 (4 years ago)
Author:
cbaribault
Comment:

Added page outline and clarified note on absolute and relative file paths.

Legend:

Unmodified
Added
Removed
Modified
  • cypress/BasicLinuxComands

    v33 v34  
     1[[PageOutline]]
    12= Linux Commands =
    23
     
    1617
    1718=== 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.
     19On 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.
    1920{{{
    2021[tulaneID@cypress1 ~]$ pwd
     
    2223[tulaneID@cypress1 ~]$
    2324}}}
     25
     26=== Absolute and Relative File and Directory Paths ===
     27You 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
     29Also, 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 /).
    2430
    2531=== cd ===
     
    4450[tulaneID@cypress1 ~]$
    4551}}}
    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 /).
    5052
    5153{{{
     
    158160{{{git clone https://hidekiCCS:@bitbucket.org/hidekiCCS/hpc-workshop.git}}}
    159161
    160 == rmdir ==
     162=== rmdir ===
    161163Removes directories. CAUTION: THERE IS NO UNDOING THIS COMMAND AS WELL.
    162164