Initial Practical Diagnostic
Purpose: measure current basic Linux ability before Module 1. This is an assessment, not a lesson.
Suggested timebox: 30–45 minutes. Accuracy and verification matter more than speed.
Rules
- Work on
lab-cli-rhel-46as a non-root user unless a task genuinely requires otherwise. - You may use documentation installed on the RHEL system.
- Do not use web search, AI assistance, or a copied solution.
- Do not install packages or change system-wide configuration.
- If a required utility is not installed, capture the exact result and continue; do not install it for this assessment.
- Do not delete or overwrite unrelated files.
- This diagnostic needs no Proxmox snapshot and no additional infrastructure.
- If access to
lab-cli-rhel-47is unavailable, record that fact and complete the rest; do not reconfigure SSH or the firewall yet.
Scenario
Operations has asked you to build and transfer a small status bundle. Meet the requirements below without being given commands.
Part A — Workspace and files
- Connect to
lab-cli-rhel-46remotely with SSH. - Under your home directory, create
rhcsa-diagnosticwith these subdirectories: sourcereportsarchive- In
source, create and editsystems.txtso it contains exactly these five lines:
server1:production:online
server2:development:offline
server3:production:offline
client1:testing:online
client2:production:online
- Make a copy of this file in
archivenamedsystems.original. - Move the original
source/systems.txttosource/inventory.txt. - Create an empty file named
source/ready.flagwithout opening an editor.
Part B — Redirection and text analysis
- From
source/inventory.txt, createreports/production.txtcontaining only records whose environment field is exactlyproduction. - Create
reports/offline.txtcontaining only records whose final field is exactlyoffline. - Create
reports/count.txtcontaining only the number of records whose final field isonline. - Run one deliberately invalid pathname listing. Save its error message in
reports/error.txtwithout placing that error on the terminal and without mixing it into another report. - Add a line containing your current login name to the end of
reports/count.txt; do not replace the existing count.
Part C — Links and permissions
- In
rhcsa-diagnostic, create:- a symbolic link named
latest-reportthat resolves toreports/production.txt - a hard link named
inventory.hardtosource/inventory.txt
- a symbolic link named
- Set permissions so that:
source/inventory.txtis readable and writable by its owner, readable by its group, and inaccessible to othersreportsis fully accessible by its owner, traversable and readable by its group, and inaccessible to others
Part D — Archives and documentation
- Create
archive/reports.tar.gzcontaining thereportsdirectory and its contents. - Create a bzip2-compressed tar archive named
archive/source.tar.bz2containing thesourcedirectory and its contents. - Validate both archives by listing their contents without extracting over your working files.
- Use only locally installed documentation to determine which option makes a human-readable long listing display an indicator after directory names. Record:
- the command whose documentation you consulted
- the option you found
- which local documentation source you used
in
reports/documentation.txt.
Part E — Remote transfer
- Transfer
archive/reports.tar.gzto your home directory onlab-cli-rhel-47using a secure transfer method. - Log in to
lab-cli-rhel-47and verify that the transferred archive exists, is recognized as gzip-compressed data, and can have its contents listed.
Do not configure a service, open a firewall port, or create an SSH key merely to finish this part. If normal SSH access is unavailable, report the exact symptom as evidence.
What to submit here
Reply with:
- The commands you used, in order. Shell history is acceptable after removing unrelated or sensitive entries.
- Final verification output showing:
- the directory structure
- permissions and both link targets/types
- the contents of all report text files
- the member listing of both archives
- the remote archive verification, or the exact SSH failure
- A short note identifying any step where you used local documentation or were uncertain.
Do not include passwords, private keys, subscription data, or tokens.
Grading policy
The result will be graded for correctness, safety, command choice, verification quality, and independent execution. Mistakes receive hints before a full solution. Ratings and the Module 1 pace will then be recorded in progress.md and session_log.md.