Skip to content

Latest commit

 

History

History
78 lines (60 loc) · 1.14 KB

schedule.md

File metadata and controls

78 lines (60 loc) · 1.14 KB

Motivation for shells and command line (Radovan, 5 min)

  • bash is 27 years old
  • why the command line is still alive in 2016 (efficiency, bandwidth, reproducibility)
  • why are command names so short?
  • unix philosophy

Brief intro to Stallo (Espen, 15 min)

First steps (Espen, 10 min)

  • echo “hello world”
  • man pages
  • help
  • apropos/whatis?
  • history, up, down, reverse search

Navigating in the file tree (Espen, 20 min)

  • permissions
  • cp, mv, rm, rmdir, mkdir
  • hidden files
  • ls -l, -a,-ltr etc
  • tree
  • cd, cd -, cd ~
  • which
  • symlinks
  • du -h

Break (10 min)

File inspection (Giacomo, 30 min)

  • wc
  • cat
  • less
  • more
  • tail (-f)
  • head

Data mining (Dan, 40 min)

  • find
  • grep
  • sort
  • uniq
  • cut
  • pipes
  • replace
  • sed
  • awk?

Break (10 min)

Scripting (Radovan, 40 min)

  • shebang
  • variables
  • argv
  • conditionals
  • loops (file renaming, restructuring)
  • $(eval), $(), escapes
  • stdin, stdout, stderr
  • redirection
  • exit codes and &&
  • time
  • difference between defining and exporting variables

Environment (Radovan, 10 min)

  • aliases
  • .bash_profile, .bashrc, .profile
  • environment variables
  • printenv

AOB

  • top