Week 5
Week 5
Due Dates & Links
- Quiz 5 - Due 11:59am (just before noon) Wednesday October 26, 2022
- Skill Demonstration 1 - Due Your lab time
- Resubmission of Lab Report 2 - Servers and Bugs - Due 11:59pm (evening) Friday October 28, 2022
- Lab Report 3 - Due 12:00 (noon) Monday October 31, 2022 đ
Lecture Materials
(Wednesdayâs Handouts will be continuation of Mondayâs)
Notes from class
Links to Podcast
Note: Links will require you to log in as a UCSD student
No lab tasks, Skill Demos are this week!
Week 5 Lab Report
Youâll write this report as a Github Pages page, then print that page to PDF and upload to Gradescope.
Researching Commands
Consider the commands less
, find
, and grep
. Choose one. Online, find 3 interesting command-line options or alternate ways to use the command you chose. For example, we saw the -name
option for find
in class. For each of those options, give 3 examples of using it on files and directories from ./technical
. Show each example as a code block that shows the command and its output, and write a sentence or two about what itâs doing and why itâs useful.
That makes 9 total examples, three each for three different command-line options. Many commands like these have pretty sophisticated behavior possible â it can take years to be exposed to and learn all of the possible tricks and inner workings.
To find information about the commands, a simple Web search like âfind command-line optionsâ will probably give decent results. There is also a built-in command on many systems called man
(short for âmanualâ) that displays information about commands; you can use man grep
, for example, to see a long listing of information about how grep
works.