Linux Command Line 201¶
- Course homepage
- Time: 9:00 - 12:00 and 13:00 - 16:00
- Course dates
- Course videos
This course teaches you to work smarter from a command line.
In this 6-hour, 2-day online workshop you will learn how to work smarter using different Bash commands, Bash scripting and some quality of life topics. You can follow either day or both.
NOTE: You can run on your own (Linux) computer or on your favorite HPC cluster (that you already have access to).
At the end of each day, you should feel able to work smarter and able to avoid more grunt work (i.e. anything that involves repeated copypaste).
Prerequisites¶
- Basic Linux. This is taught earlier in this NAISS Intro week and called Linux Command Line 101
I.e. we assume you know that:
- Tab autocompletes commands
manshows a manualcatshows textlessandmoreshow scrollable textnanois a text editorfindis used for file and directory search.sortis used to print the output of a file in given orderheadis used to print the first lines of a filetailprints the lines at the end of a fileechodisplays lines of text or strings that are passed as arguments
Topics¶
- pipe
wcandcut- Regular expressions
- Searching with
grep - Replacing with
sed - Minor mention of
awk - Bash scripting
- Environment variables
- Advanced redirect
- Links (hard/soft)
- Archiving/compressing data