2: Command Line Basics
October 25, 2023
Creating, Editing, Filtering, and Deleting Files and Folders
Creating and Navigating Directories
Change to your home directory
home directoryCreate a new directory called gisc605 and change into it
gisc605 and change into itNavigate back/up a directory level
Creating Files
Create an empty new file in `lab2`
Create a new file in `lab2` with some data in it
Listing Files and Directories
List contents of a directory
List contents of a file
Editing and Searching Files and Folders
Edit a file with nano
Edit a file with vim
Search a directory (and all its subdirectories) for a file
Search the current directory (and all its subdirectories) for a file
Search a file for specific content
Search all files in a directory for specific content
Search all subdirectories in a directory for specific content
Deleting Files and Folders
Delete a directory
Working with Files and Directories
Make a copy of a file
Move a file to a new directory
Move a file and rename a file
Make a copy of a directory
Move a directory
Installing packages
Install tree with apt
Run the tree tool in the current directory
Save the outputs of tree into a text file
Windows only
Open a WSL directory with Windows File Explorer
Deliverable
Previous1: Set-Up Your Developer WorkspaceNext3: Introduction to Version Control with Git and GitHub
Last updated