Operating Systems Concepts & Design
For your username repository & your course repository, clone (copy) the repository locally by selecting “Code”, then selecting “Open with GitHub Desktop”.
GitHub Desktop will then open with the repository details - select Clone to continue. Select “Open in Visual Studio Code”.
Your cloned repository folder will now open in Visual Studio Code. From here, you can add and edit files and folders into the repository folder. Use the “Source Control” menu to write commit messages, make commits, and synchronize changes with GitHub (you can then refresh the browser page to see the changes after sync).
Make sure you have created a GitHub account and clicked the link in Pilot to generate your GitHub repository for this course
https://github.com/WSU-kduncan/ceg2350s25-YOURGITHUBUSERNAME
For each lab in this course, you will be provided with a lab template to fill in your lab answers. The Lab 01 Template can be copied from this link:
https://raw.githubusercontent.com/pattonsgirl/CEG2350/main/Labs/Lab01/LabTemplate.md
Assuming that you have cloned your repository and can open it in VS Code…
Create a new directory, Lab01.md
Create a new file in your Lab01
directory named README.md
. In this file, paste the contents of the Lab 01 template.
As you work through the lab, practice making commits and synchronizing to your repository on GitHub. As the course progress, a history of multiple commits will become requirements.
https://github.com/your_username
page. Clone this repository to your system and edit the README.md
file per the requirements below.
https://github.com/your_username
Fun Resources
In your lab template, fill out the Action column associated with the Command Line commands that perform similar functions. PowerShell for Windows aliases its Verb-Noun style commands to Unix / Linux style simply named commands. You should see what aliases work (or don’t) in Part 3 if you use Windows OS.
Windows | Linux / Mac | Action |
---|---|---|
help | man | |
Get-Location | pwd | |
Get-ChildItem | ls | |
mkdir | mkdir | |
Set-Location | cd | |
New-Item | touch | |
Move-Item | mv | |
Copy-Item | cp | |
Remove-Item | rm | |
notepad.exe | vim |
You may, and should, look up the function of the above commands. Your summary should be in your own words.
There are three primary Operating System categories - Windows, Mac, and Linux. The system you are physically touching utilizes one of these three OSes. Your first tasking is to start using the Command Line program for you operating system and learn how to use commands to get around and create folders (directories) and files.
In the lab template, make sure the x
is appropriately located according to your OS.
For your OS, open the default shell and navigate to your user’s directory (folder). Hint:
You’ll perform the actions given in the numbered list below.
In your lab template, write the command to do the task given next to the task itself.
Cite sources, if needed, about how you found out how to do certain actions. If you used generative AI as a source, include the platform and the prompt used. Add your citations notes to the section in your Lab Template.
Start in your user’s home directory.
DirA
Dir B
- the space in this name is intentionalDirA
Dir B
from DirA
test.txt
test.txt
into DirA
test.txt
with some words of encouragement for yourselftest.txt
named copy.txt
in DirA
DirA
test.txt
in Dir B
named fodder.txt
fodder.txt
AND Dir B
Dir B
and fodder.txt
in one commandRemember that we can only grade what we see in GitHub. Make sure to commit and synchronize (push) your changes to your files.
Lab01
folder in your GitHub repo
Your answers should be cleanly presented in your GitHub repository. Citations should be included as needed. Include which generative AI system was used and what prompts were used if generative AI was used.