Difference between revisions of "Cheatsheets"

From wiki
Jump to: navigation, search
Line 4: Line 4:
  
 
= Commands dealing with directories =
 
= Commands dealing with directories =
 +
 +
== special directories / paths ==
 +
 +
{| class="wikitable"
 +
|-
 +
! scope="col"| Command
 +
! scope="col"| Meaning
 +
|-
 +
! scope="row"| <code>cd</code>
 +
| change to $HOME directory
 +
|-
 +
! scope="row"| <code>ls -ld <dirname></code>
 +
| 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
 +
|}
  
 
== special directories / paths ==
 
== special directories / paths ==

Revision as of 15:05, 2 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 change to $HOME directory
ls -ld <dirname> 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

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