Explore the Linux command line and Bash shell. Learn how to navigate the file and folder structure, edit text, set permissions, and install and update software on Linux machines.
Overview
Syllabus
Introduction
- Learning Linux command line
- What you should know
- A very quick intro to Linux
- Creating a Linux virtual machine
- Following along on other platforms
- What is the command line?
- Understand how commands are structured
- Write commands in a shell at the prompt
- Finding help for commands
- Helpful keyboard shortcuts in the terminal
- Challenge: Find command information
- Solution: Find command information
- The Linux file system
- Understanding file paths
- Navigating the file system
- Exploring the output of the ls command
- Create and remove directories
- Copy, move, and delete files and directories
- Find files from the command line
- Understand user roles and sudo
- Understand file permissions
- Modify file permissions
- Create hard and symbolic links
- Challenge: Fix broken syntax
- Solution: Fix broken syntax
- Challenge: Practice working with files
- Solution: Practice working with files
- The Unix philosophy
- Use pipes to connect commands together
- View text files with cat, head, tail, and less
- Search for text in files and streams with grep
- Manipulate text with awk, sed, and sort
- Edit text with Vim
- Edit text with nano
- Working with tar and zip archives
- Challenge: Create and share a file
- Solution: Create and share a file
- Output redirection
- Exploring environment variables and PATH
- Challenge: Extract information from a text file
- Solution: Extract information from a text file
- Find information about your Linux distribution
- Find system hardware and disk information
- Install and update software with a package manager
- Next steps
Taught by
Scott Simpson