CSCD240-S26-L02
Lecture 2. Shell basics, navigation, file type identification, which
Delivered 2026-03-31
Key topics: ["file","which","ls","cd","pwd","touch"]
Authority mappings
Exam questions that cite this lecture
- CSCD240-E1-A-Q01 navigation pwd is /home/ssteiner/labs/lab1; home is /home/ssteiner. For each cd, show pwd after. Assume return to starting pwd.
- CSCD240-E1-A-Q02 io Give a single command that does a long listing of the current directory and scrolls the output one page at a time.
- CSCD240-E1-A-Q16 file-ops Copy report.txt from current dir into subdirectory archive.
- CSCD240-E1-A-Q26 rm-recursive Using absolute path, remove subdirectory scratch under /home/ssteiner. Not in home dir.
- CSCD240-E1-A-Q27 file-ops Remove empty subdirectory tmp under /home/ssteiner. You are in home dir.
- CSCD240-E1-B-Q01 navigation pwd=/home/operator/target/foothold, home=/home/operator. For each cd: cd, cd ../pivot, cd ~/intel, cd ../../.., cd /tmp