Skip to content

Commit 98da60a

Browse files
Update README.md
1 parent fddbccb commit 98da60a

File tree

1 file changed

+29
-28
lines changed

1 file changed

+29
-28
lines changed

README.md

+29-28
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# **Terminal Navigation Assignment**
1+
# Terminal Navigation Assignment
22

3-
## **Objective**
3+
## Objective
44
This assignment will help you practice **essential terminal navigation commands** used in Linux/macOS.
55

66
By the end of this assignment, you should be able to:
@@ -10,82 +10,83 @@ By the end of this assignment, you should be able to:
1010

1111
---
1212

13-
## **Assignment Instructions**
13+
## Assignment Instructions
1414

15-
### **Step 1: Set Up Your Environment**
15+
### Step 1: Set Up Your Environment
1616
1. Open the **GitHub Codespace** or **your terminal** if working locally.
1717
2. Verify that your working directory contains the following structure:
1818

19+
```
1920
/terminal-navigation-assignment
2021
│── practice-directory/
2122
│ ├── folder1/
2223
│ │ ├── fileA.txt
2324
│ ├── folder2/
2425
│ │ ├── fileB.txt
2526
│ ├── fileC.txt
27+
```
2628

2729
---
2830

29-
### **Step 2: Complete the Following Tasks**
31+
### Step 2: Complete the Following Tasks
3032
Use terminal commands to complete each task below.
3133

3234
1. **Print your current working directory (absolute path).**
3335
```sh
3436
pwd
3537
```
36-
2. List all files and directories inside practice-directory.
37-
```
38+
39+
2. **List all files and directories inside practice-directory.**
40+
```sh
3841
ls practice-directory
3942
```
4043

41-
3. Change into folder1 and verify you are inside it.
42-
```
44+
3. **Change into folder1 and verify you are inside it.**
45+
```sh
4346
cd practice-directory/folder1
4447
pwd
4548
```
4649

47-
4. Display the contents of fileA.txt.
48-
```
50+
4. **Display the contents of fileA.txt.**
51+
```sh
4952
cat fileA.txt
5053
```
5154

52-
5. Return to the terminal-navigation-assignment root directory in a single command.
53-
```
55+
5. **Return to the terminal-navigation-assignment root directory in a single command.**
56+
```sh
5457
cd ../../
5558
```
5659

57-
6. Find all .txt files inside practice-directory.
58-
```
60+
6. **Find all .txt files inside practice-directory.**
61+
```sh
5962
find practice-directory -name "*.txt"
6063
```
6164

62-
7. Search for the word Navigation inside fileC.txt.
63-
```
65+
7. **Search for the word "Navigation" inside fileC.txt.**
66+
```sh
6467
grep "Navigation" practice-directory/fileC.txt
6568
```
6669

70+
---
6771

68-
69-
70-
Step 3: Submit Your Work
71-
1. Run the test script to verify your work:
72-
```
72+
### Step 3: Submit Your Work
73+
1. Run the test script to verify your work:
74+
```sh
7375
bash test_navigation.sh
7476
```
7577

76-
2. If all tests pass, commit and push your work:
77-
78-
```
78+
2. If all tests pass, commit and push your work:
79+
```sh
7980
git add .
8081
git commit -m "Completed Terminal Navigation Assignment"
8182
git push
8283
```
8384

84-
3. Your work will be automatically graded using GitHub Actions.
85+
3. Your work will be automatically graded using GitHub Actions.
8586

86-
87+
---
8788

88-
Evaluation Criteria
89+
## Evaluation Criteria
8990

9091
Your assignment will be automatically graded based on:
9192
✅ Correct execution of each command.

0 commit comments

Comments
 (0)