Hdi2u S03

From wiki
Jump to: navigation, search

Navigating the command line

  • Bioinformatics tools can have very many options
  • They also can be combined with many others, leading to very long command-line.
  • You do no want to get stuck only using arrows all the time.

Exercise

  • Type the following:
that was then, this is now

Try navigating this line using the following keybindings:

  • ctrl + a: go to beginning of line
  • ctrl + e: go to end of line
  • ctrl + w: delete current word backwards, word behind if in space
  • ctrl + /: undo changes
  • ctrl + x, <BACKSPACE>: search backwards for a character, here?
  • ctrl + r, ?: search backwards for a character, here?
  • alt + b: move backwards word-wise.
  • alt + f: move backwards word-wise
  • alt + d: delete current word forwards, next word if in space
  • ctrl + k: delete to end of line