Linux Fundamentals
A beginner's reference guide to essential Linux commands for navigating and editing files.
Eliy Yang Thu Feb 19 2026 18:00:00 GMT-0600 (Central Standard Time)
Linux Fundamentals
Commands
cd directory_name- This allows you to change to any directory.ls- This will show you the contents of the directory you are in.touch filename.txt- This will create a text file.vi filename.txt- This will open that file so you can edit it.i- Press i when in the file to start editing it.ESC- Press the ESC key to exit out of editing mode.:wq- Enter :wq to save your edits and to exit at the same time.