Difference between revisions of "Cheatsheets"

From wiki
Jump to: navigation, search
m (Rf moved page I2u4bga to Cheatsheets)
 
(9 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
= Commands dealing with directories =
 
= Commands dealing with directories =
  
== special directories ==
+
== special directories / paths ==
 +
 
 +
{| class="wikitable"
 +
|-
 +
! scope="col"| Command
 +
! scope="col"| Meaning
 +
|-
 +
! scope="row"| <code>cd</code> or <code>cd ~</code>
 +
| change to $HOME directory
 +
|-
 +
! scope="row"| <code>cd -</code> or <code>cd -</code>
 +
| change to previous directory location
 +
|-
 +
! scope="row"| <code>ls -ld <dirname></code>
 +
| list details of the named directory
 +
|}
 +
 
 +
== special directories / paths ==
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 11: Line 28:
 
! scope="col"| Symbol(s)
 
! scope="col"| Symbol(s)
 
! scope="col"| Meaning
 
! scope="col"| Meaning
|-
 
! scope="row"| <code>~</code>
 
| Home directory, $HOME also works
 
 
|-
 
|-
 
! 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>
 +
| System root directory, not a place to stay in! (absolute)
 +
|-
 +
! scope="row"| <code>/path/to</code>
 +
| Common placeholder for absolute path to somewhere (absolute)
 
|}
 
|}
 +
 +
= Links =
 +
 +
== More cheatsheets ==
 +
 +
[http://www.rain.org/~mkummel/unix.html http://www.rain.org/~mkummel/unix.html]

Latest revision as of 12:12, 3 October 2016

Introduction

Details of the Introduction to Unix for Bioinformatics and Genomics Analysis (i2u4bga)

Commands dealing with directories

special directories / paths

Command Meaning
cd or cd ~ change to $HOME directory
cd - or cd - change to previous directory location
ls -ld <dirname> list details of the named directory

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 to somewhere (absolute)

Links

More cheatsheets

http://www.rain.org/~mkummel/unix.html