Lab Echo, CD, LS, and PWD
Lab Echo, CD, LS, and PWD
Objective
Students will gain hands-on experience using the essential Linux commands echo,
cd, ls, and pwd. These commands are fundamental for navigating the file system,
displaying information, and managing files.
Equipment/Tools Needed
Computer with Linux installed (physical or virtual machine)
Terminal application
Content
1. Introduction to Commands
o echo: Displays text or variables.
Step-by-Step Guide
Step 1: Using echo (Display Text)
1. Open your terminal.
2. Type the following command to display a simple message:
echo "Hello, Linux!"
o Expected output: Hello, Linux!
2. After changing directories with cd, use pwd again to confirm your current
location.
cd /etc
pwd
o Expected output: /etc
Key Deliverables
A log of all commands you used during the exercise.
A brief explanation (200-300 words) of what each command does and how
it’s useful in Linux administration.
A screenshot or copy of the outputs where applicable (e.g., results of ls -l or
pwd commands).
Rubric
All commands
Minor errors in Multiple errors
used correctly, Some incorrect
Command command usage, in commands
with usage, limited
Accuracy but clear or unclear
appropriate understanding.
understanding. usage.
results.
Incomplete
Completed all Completed most Completed basic
Hands-On tasks or
tasks with clear tasks with few tasks, but left
Completion unclear
results. issues. out some steps.
execution.
Detailed
explanation of
Understandin Basic Poor or
how each Clear explanation
g of explanation, incomplete
command with minor gaps.
Commands lacks depth. explanation.
works and its
utility.
Well-organized
Basic log with
Documentatio log with all Organized but Disorganized
some missing
n commands and with minor gaps. or missing log.
details.
outputs.
Clear and
insightful Good reflection Limited
Minimal or no
Reflection reflection on with some reflection, lacks
reflection.
command insights. depth.
usage.