Home
CPSC 225
Contents ▼
Commands
Concepts
Vim
Git
Scripting
CPSC 225 Topic Index
Commands
ls: Listing Files
mkdir: Creating Directories
cd: Navigating Directories
rmdir: Removing Directories
touch: Creating Files
cp: Copying Files
mv: Moving Files
rm: Removing Files
du: Seeing Disk Usage
ln: Symbolic Links
tar: Creating Archives
wget: Downloading Files
scp: Transferring Files
chmod: Changing File Permissions
alias: Creating Aliases
man: Reading Documentation
ps: Listing Processes
fg: Resuming a Process
kill: Sending Signals
htop: Viewing Process Activity
grep: Searching in Files
find: Searching for Files
diff: Comparing Files
sed: Replacing in Files
Concepts
The Command Line
Connecting over SSH
SSH Clients
Using SSH Keys
Entering Commands
Anatomy of a Command
Using the Shell
Exiting the Shell
The Linux File System
Relative and Absolute Paths
Wild Cards
Linux Filenames
Accessing Files Remotely with Filezilla
File Permissions
Environment Variables
The .bash_profile File
The PATH Variable
Launching a Process in the Background
Cancelling a Process
Suspending a Process
Command Return Values
Combining Commands
Output Redirection
Error Redirection
Input Redirection
Pipes
Vim
The Vim Command
Moving Around
Saving and Quitting
Copying, Cutting and Pasting
Searching
Replacing
Visual Mode
Undo and Redo
Building Vim Commands
Text Objects
Counts
Registers
Marks
More Ways to Enter Insert Mode
The . Command
External Commands
Key Mappings
Abbreviations
The .vimrc File
Some Helpful Vim Settings
Vim Color Schemes
Git
Configuration
Creating a Repository
Adding and Committing
Git Revisions
Seeing History
Recovering Files
Looking at Past Versions
Undoing Commits
Ignoring Files
Using a Central Repository
Github
Pushing Changes
Pulling Changes
Merging Conflicts
Simple Team Workflow
Scripting
Creating a Shell Script
Running a Shell Script
Variables
On Quotes
Saving the Results of Commands
Taking Arguments
User Input
Doing Math
If Statements
Condition Tests
While Loops
For Loops
Functions
Copyright © 2024 Ian Finlayson | Licensed under a
Creative Commons BY-NC-SA 4.0
License.