Description
🖥️ System Commands Week 2 Graded Assignment Solutions
Version: v3_t12026_GradeBoost —
Comprehensive 4-in-1 guide covering Networking, Emacs, Vi Editor, and Virtual Machine management.
This downloadable PDF provides complete, verified solutions for the Week 2 Graded Assignments.
This week focuses on the essential tools for system administration, remote server management, and terminal-based text editing.
Detailed Question Summary
Each solution includes the technical logic and command behavior for the following 24 problems:
Section 2.1: Networking
- Q1: Network Addressing — Understanding the bit-size architecture of IP addresses and transport protocol port numbers.
- Q2: Port Monitoring — Identifying the standard utility used to display open network ports on a local machine.
- Q3: Domain Resolution — Analyzing the functionality of the
nslookupcommand for retrieving server and IP information. - Q4: Utility Mapping — Comprehensive overview of networking tools including
ifconfig,ping,dig,traceroute, andwget.
Section 2.2: Text Editors (Emacs & Vi)
- Q1 (Emacs): Command Validation — Distinguishing between correct and incorrect keyboard sequences for saving buffers and exiting the editor.
- Q2 (Emacs): Cursor Path Tracing — Predicting final pointer coordinates after a sequence of navigation commands (
C-a,C-e,C-n, etc.). - Q3 (Emacs): Line Navigation — The specific
M-xsequence required to jump to a precise line number in a large file. - Q4 (Emacs): Global Navigation — Mapping shortcuts for moving to the beginning/end of lines and the start/end of a file.
- Q1 (Vi): In-Place Editing — Executing copy and paste operations for single characters while in insert mode.
- Q2 (Vi): Mode Transitions — Identifying the specific trigger to enter insert mode at the absolute beginning of a line.
- Q3 (Vi): Bulk Deletion — Mastering numeric prefixes to delete multiple consecutive lines in navigation mode.
- Q4 (Vi): Global Search & Replace — Decoding complex strings (
:%s/gci) involving case-insensitivity and user confirmation flags. - Q5 (Vi): Editor State Management — Mapping commands for line numbering, forced quitting, and saving.
Section 2.3: Virtual Machines & SSH
- Q1: Public Key Authentication — Troubleshooting “Permission denied” errors related to SSH agents and file permissions.
- Q2: Host Identification — Analyzing security warnings regarding changed remote host identification and its underlying causes.
- Q3: Key Security — Identifying the specific
chmodoctal code required to secure private key files against “too open” permission errors. - Q4: Verification Failures — Understanding why changing a VM’s IP or host key leads to verification errors.
- Q5: Key Database Management — Using
ssh-keygento remove stale or invalid host entries from the known_hosts file. - Q6: Advanced Substitution — Using Vi global commands to perform conditional word deletions across an entire file.
- Q7: Automated Connectivity — The purpose of
StrictHostKeyChecking=noin non-interactive SSH environments.
File Format:
- ☑
v3_t12026_GradeBoost: Complete verified solution set for all Week 2 topics.

Reviews
There are no reviews yet.