play_arrow0:00 Introduction
play_arrow1:20 Motivation
play_arrow3:50 Class structure and logistics
9 1 hour lectures
If you have questions: you can go to discord or you can go to
play_arrow7:06 What is the shell?
play_arrow11:59 Why should you care about it?
~ matilda
play_arrow14:04 Navigating in the shell
Notes:
echo " ---" -> will put anything in between
\\ -> back slash escape character, do not treat the next as special characters
'jon's world' --> will not work coz of the 2 " ' "
you can do this instead echo "jon's world's"
man --> manual
man echo --> manual page
cd: change directory
change in the file system
in my home directory operates and change in directory
cd /bin
cd . --> current directory
cd .. (one level up)
Tab in Bash --> autocomplete
2 tabs gives all the caption
play_arrow28:02 What is available in the shell?
Path is an environment
echo $PATH --> will run all the
ls ---> list
cat --> printsout category
sort --> sort
uniq data -> print data that are unique
head -n1 data
tail -n3 data
grep ---> file searcher
regular expressions allow complicated things
sed --> line editor
own programming language --> allow the programming to edit the language
use in search and replace
example sed -i 's/grep/jon/g' ---> with g' it is global in looking
*/*.md ---> pattern for path
ended at 41:43
play_arrow58:50 The shell language (bash)
play_arrow1:14:05 Conclusion