Base Material: Adapted from Data Science 101 Workbook - Unix Getting Started
- Introduction to the workshop and objectives
- Overview of the command line interface (CLI)
- Terminal vs. shell vs. command line
- Terminal in Mac, Linux, Windows
- Overview of Open OnDemand (web-based HPC portal)
- Logging in and navigating the dashboard
- Launching interactive sessions
- Connecting to VSCode from Open OnDemand
- Using VSCode for editing and running shell commands
- Man and help functions, file/folder naming conventions
- LLMs or Google for help
pwd,ls,cd- Absolute vs relative paths
- Hands-on Exercise 1
cat,less,head,tail,wc, wildcard (*)- Hands-on Exercise 2
mkdir,cp,mv,ln -s(folders vs files),rm, recursive operations- Hands-on Exercise 3
- File permissions and
ls -l chmodugoa, rwx, +, -, =.- String together multiple with commas --
chmod u=rwx,g=rx,o=r myfile - Hands-on Exercise 4
find-type -namegrepwith options: -i , -n, -c- Hands-on Exercise 5
- Redirect output/input
- Piping with
| - Command chaining with
sequential,and, andor->;,&&,|| - sort and redirecting with
output redirection operator,append->>,>> - Hands-on Exercise 6
- Environment variables:
HOME,PATH - export PATH="$PATH:/work/short_term/remkv6/05_BashIntro/isu-commandline-intro-2025"
- Creating and exporting variables
- Hands-on Exercise 7
- Review of key commands
- Concept map
Current Working Directory - Questions from participants
- Suggested practice resources
For overview, time feasibility, and resources, see the repository README.md
| Time | Session | Topics/Notes |
|---|---|---|
| 1:00–1:15 PM | Welcome & Setup | Objectives, CLI overview, terminal access |
| 1:15–1:30 PM | Open OnDemand & VSCode | OOD dashboard, interactive sessions, connect VSCode |
| 1:30–2:00 PM | Navigating the File System | pwd, ls, cd; absolute vs. relative paths; Exercise 1 |
| 2:00–2:30 PM | Viewing Files and Directories | cat, less, head, tail, wildcards; Exercise 2 |
| 2:30–2:40 PM | Break | — |
| 2:40–3:10 PM | Working with Directories and Files | mkdir, cp, mv, rm; recursive ops; Exercise 3 |
| 3:10–3:40 PM | Permissions and Ownership | ls -l, chmod; Exercise 4 |
| 3:40–4:10 PM | Finding Files and Searching Inside Files | find, grep with options; Exercise 5 |
| 4:10–4:40 PM | Redirects, Pipes, and Command Chaining | redirects, ` |
| 4:40–4:55 PM | Environment and Variables | HOME, PATH, creating/exporting variables; Exercise 7 |
| 4:55–5:00 PM | Recap and Q&A | Review key commands, questions, resources |