PDF Version Available

This document is also available in PDF format: commoncommands.pdf

The PDF version includes bookmarks for easy navigation and is optimized for printing.

Accessibility Notice

This document is also available in HTML format at:

Link: https://aholdengouveia.name/IntroLinux/labs/commoncommands.html

The HTML version provides enhanced accessibility features including keyboard navigation, screen reader support, responsive design, dark mode support, and high contrast options.

Learning Outcomes

By the end of this lab, you will be able to:

Lab Instructions

The lab report will include screenshots as evidence of completion.

If you are my current student, Resources for the CIS server can be found from the menu item "Server Access Information" on your LMS

Steps for the lab

  1. Use PuTTY or SSH to connect to the CIS server. You need the CIS server for the file transfer steps in this lab. If you need help using SSH or SCP, my video on how to do that is linked under Resources.
  2. Log in to your account (Information from Instructor posted to LMS)
  3. Test by logging off and logging in again
  4. Use ls and ls -a to see what is in your home directory. Make three empty files called foo1 foo2 and foo3 using touch and use ls again. Take a screenshot.
  5. Create a sub-directory called Lab0 and cd to the subdirectory and create three more files using touch called bar1 bar2 and bar3. Use ls and take a screenshot
  6. Create three text files in the local system using a text editor such as Notepad or TextEdit, call them localfoo1, localfoo2 and localfoo3. Put different texts in each file. Add your name and date to the top of each file
  7. Using WinSCP, FileZilla or other SCP client of your choice in the local system move the three localfoo files to the CIS server. Take a screenshot.
  8. Use ls on the CIS server to show that the files are on the server; use cat to display one of the files and take a screenshot.

Deliverables

One file should be submitted, it should have the lab title, your name and date, and include each of the screenshots with a one sentence description of what is in the screenshot. Your screenshots must show your prompt with your username, or a note with your name and the term.

Resources

References, a video, a PowerPoint and some notes are available at my website Link: https://www.aholdengouveia.name/IntroLinux/commoncommands.html

My FAQ Linux playlist on YouTube, with demos of many of the commands and scripts in this class Link: https://www.youtube.com/playlist?list=PLQOmuLC45eoQlIMH7oCNL6yFP7kWQubBo

My video on how to use SSH and SCP, SCP? SSH-ut the front door! Link: https://www.youtube.com/watch?v=w3yOQFZJMTo