Hdi2u S09

From wiki
Revision as of 22:31, 19 April 2017 by Rf (talk | contribs) (Created page with "= Linux shortcut symbols = * We've seen <code>*</code> is a special symbol, and how useful it can be. * There are more however: * <code>?</code> matches a single character l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Linux shortcut symbols

  • We've seen * is a special symbol, and how useful it can be.
  • There are more however:
  • ? matches a single character
ls multiseqs??.blastx
  • . the directory you are currently in, useful for launching directory-held programs
  • .. the directory one level above the one you are currently in, aka. the parent directory
  • ~ shorthand for your home directory, where all your data is kept.
  • $VAR the dollar sign indicates a variable substitution. You set it with
VAR="that was then, this is now"
  • These variables are often used to provide an so-called "environment" for programs to run.
  • ; separates two commands on the same line
  • > directs output of one command into a file
  • | often called the pipe operator: directs output of one command into another command.