Introduction to Linux
- Due Sep 2, 2019 by 10pm
- Points 22
- Submitting a file upload
- File Types cast
This is an introduction to the Linux operating systems environment and the vim programmer's editor which you will be using this semester. Labs are perhaps the most important part of the course, and getting off on the right foot is essential to these important tasks.
Tasks to complete
- Shell tutorial: read chapters 1-4 in The Linux Command Line.
- vim tutorial: run vimtutor on the command line
After you complete these two tasks, create an asciinema recording that demonstrates you can do the following actions on the UNIX command line:
- Create a directory
- Navigate to the newly created directory
- Navigate to your home directory
- Display the contents of your home directory
- Display the hidden files in your home directory
- Display the detailed contents of your home directory
- Change the name of a directory
- Create a file with the contents, "Hello, World!"
- Change the name of a file
- Duplicate a file
- Delete a file
Create a second asciinema recording that demonstrates you can do the following within the vim editor:
- In command mode, deleting a character under the cursor
- Quit without saving a file
- In command mode, switch to insert mode
- In insert mode, switch to command mode
- In command mode, delete a word at a time
- In command mode, delete three words at a time
- In command mode, undo an action
- In command mode, go to the end of the line using a single character
- In command mode, go to a specific line number
- In command mode, move the cursor to a closing parenthesis when the cursor is on the opening parenthesis and back
- In command mode, switch to insert mode so that the next character is added to the end of the current line
Upload the two asciinema files to Canvas for submission of the lab.
Rubric
Keep in mind that 18 students have already been assessed using this rubric. Changing it will affect their evaluations.
Criteria | Ratings | Pts | |
---|---|---|---|
Create a directory
Student demonstrates the ability to create a directory.
threshold:
pts
|
pts
--
|
||
Directory navigation
Student demonstrates the ability to navigate to different directories that have been created.
threshold:
pts
|
pts
--
|
||
Return home
Student demonstrates the ability to return to the home directory.
threshold:
pts
|
pts
--
|
||
Directory contents
Student demonstrates the ability to display the contents of his/her home directory.
threshold:
pts
|
pts
--
|
||
Display hidden contents
Student demonstrates the ability to display the hidden contents of his/her directory.
threshold:
pts
|
pts
--
|
||
Display detailed contents
Student demonstrates the ability to display a detailed listing of the contents of his/her home directory.
threshold:
pts
|
pts
--
|
||
Change directory name
Student demonstrates the ability to change the name of a directory.
threshold:
pts
|
pts
--
|
||
File creation
Student demonstrates the ability to create a file with specified contents.
threshold:
pts
|
pts
--
|
||
Change file name
Student demonstrates the ability to change the name of a file.
threshold:
pts
|
pts
--
|
||
Duplicate file
Student demonstrate the ability to duplicate the contents of a file into a second file.
threshold:
pts
|
pts
--
|
||
Delete file
Student demonstrates the ability to delete a file.
threshold:
pts
|
pts
--
|
||
Delete character
Student demonstrates the ability to delete a character within command mode.
threshold:
pts
|
pts
--
|
||
Quit without saving
Student demonstrates the ability to exit vim without saving changes to the file being edited.
threshold:
pts
|
pts
--
|
||
Switch to insert mode
Student demonstrates the ability to enter insert mode from command mode.
threshold:
pts
|
pts
--
|
||
Switch to command mode
Student demonstrates the ability to enter command mode from insert mode.
threshold:
pts
|
pts
--
|
||
Delete word-at-a-time
Student demonstrates the ability to delete a word at a time from command mode.
threshold:
pts
|
pts
--
|
||
Delete 3 words-at-a-time
Student demonstrates the ability to delete three words at a time with a single action within command mode.
threshold:
pts
|
pts
--
|
||
Undo
Student demonstrates the ability to undo an action from within command mode.
threshold:
pts
|
pts
--
|
||
End of line
Student demonstrates the ability to move directly to the end of line with a single key stroke within command mode.
threshold:
pts
|
pts
--
|
||
Go to specific line
Student demonstrates the ability to go to a specific line number from within command mode.
threshold:
pts
|
pts
--
|
||
Matching parentheses
Student demonstrates to move the cursor between matching parentheses in command mode.
threshold:
pts
|
pts
--
|
||
Insert at end of line
Student demonstrates the ability to enter insert mode from command mode so the next character typed will appear at the end of the current line.
threshold:
pts
|
pts
--
|
||
Total Points:
22.0
out of 22.0
|