Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.51 KB

2021-06-13-bash-git-notes.md

File metadata and controls

61 lines (43 loc) · 1.51 KB

Sun Jun 13 12:03:04 PDT 2021

Intro shell

Content 0935 - 0940

  • The shell is a text based way to interact with a computer, in contrast to a GUI.
  • 123 GO - Why use the shell?
  • $ is the prompt, don't type it
  • cursor is where you're typing
  • Demo making a change to my website

Navigating Files & Directories

Content 0940 - 1010 Exercise 1010 - 1020

  • Download content

  • The filesystem is organized in a hierarchy. Directories can contain other directories, or files.

  • ls -F / the command is ls, -F is the option, aka switch, or flag, and / is the argument.

  • getting help: ls --help, man ls

  • current working directory - pwd

  • change directory - cd

  • orthogonality - . for current directory and .. for parent directory

  • absolute and relative paths

Working with Files & Directories

Content 1020 - 1050 Exercise 1050 - 1110

  • mkdir
  • good names for files
  • mv, cp
  • Can't undo rm
  • wildcards

Modify the “which editor” section. Use ‘touch’ to create the text file instead of nano. Stop at “moving files and directories” - probably will cut the lesson in half.

git

11:10 - 11:20 Break 11:20 - 12:50 Version Control with Git Automated version control (5 min) Setting up git (5 min) Creating a repository (10 min) Tracking changes (20 min) Exploring history (25 min) Ignoring things (5 min) Remotes in Github (20 min) (shorten a bit)