• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/8

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

8 Cards in this Set

  • Front
  • Back

shebang line

#!/bin/bash

variables

x=1 -> no spaces


to reference: use $x

"black hole" output file

/dev/null

file direction

> to file


< from file

output direction

pipeline |


used to redirect output from one command to the next

if statement

if [ cond ] ; then


...


elif [ cond ] ; then


...


else


...


fi

while loop

while [ cond ] ; do


...


done

for loop

for VAR in 1 2 3 4 ... ; do


...


done




OR




for VAR in file1 file2 ... ; do


...


done




OR




for OUTPUT in $(command/script) ; do


...


done