Difference between revisions of "Cheatsheets"
| Line 5: | Line 5: | ||
= Commands dealing with directories =  | = Commands dealing with directories =  | ||
| − | == special directories ==  | + | == special directories / paths ==  | 
{| class="wikitable"  | {| class="wikitable"  | ||
| Line 11: | Line 11: | ||
! scope="col"| Symbol(s)  | ! scope="col"| Symbol(s)  | ||
! scope="col"| Meaning  | ! scope="col"| Meaning  | ||
| − | |||
| − | |||
| − | |||
|-  | |-  | ||
! scope="row"| <code>.</code> or <code>./</code>  | ! scope="row"| <code>.</code> or <code>./</code>  | ||
| − | | current, present working directory  | + | | current, present working directory (relative)  | 
|-  | |-  | ||
! scope="row"| <code>..</code> or <code>../</code>  | ! scope="row"| <code>..</code> or <code>../</code>  | ||
| − | | Parent directory  | + | | Parent directory (relative)  | 
|-  | |-  | ||
! scope="row"| <code>../../</code>  | ! scope="row"| <code>../../</code>  | ||
| − | | Parent of the parent  | + | | Parent of the parent (relative)  | 
| + | |-  | ||
| + | ! scope="row"| <code>~</code>  | ||
| + | | Home directory, $HOME also works (absolute)  | ||
|-  | |-  | ||
! scope="row"| <code>/</code>  | ! scope="row"| <code>/</code>  | ||
| − | | System root directory, not a place to stay in!  | + | | System root directory, not a place to stay in! (absolute)  | 
| + | |-  | ||
| + | ! scope="row"| <code>/path/to</code>  | ||
| + | | Common placeholder for absolute path  | ||
|}  | |}  | ||
Revision as of 15:00, 2 October 2016
Introduction
Details of the Introduction to Unix for Bioinformatics and Genomics Analysis (i2u4bga)
Commands dealing with directories
special directories / paths
| Symbol(s) | Meaning | 
|---|---|
 . or ./
 | 
current, present working directory (relative) | 
 .. or ../
 | 
Parent directory (relative) | 
 ../../
 | 
Parent of the parent (relative) | 
 ~
 | 
Home directory, $HOME also works (absolute) | 
 /
 | 
System root directory, not a place to stay in! (absolute) | 
 /path/to
 | 
Common placeholder for absolute path |