Skip to content

Commit fddbccb

Browse files
Update README.md
1 parent 70e35fb commit fddbccb

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

README.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,53 +32,54 @@ Use terminal commands to complete each task below.
3232
1. **Print your current working directory (absolute path).**
3333
```sh
3434
pwd
35-
35+
```
3636
2. List all files and directories inside practice-directory.
37-
37+
```
3838
ls practice-directory
39-
39+
```
4040

4141
3. Change into folder1 and verify you are inside it.
42-
42+
```
4343
cd practice-directory/folder1
4444
pwd
45-
45+
```
4646

4747
4. Display the contents of fileA.txt.
48-
48+
```
4949
cat fileA.txt
50-
50+
```
5151

5252
5. Return to the terminal-navigation-assignment root directory in a single command.
53-
53+
```
5454
cd ../../
55-
55+
```
5656

5757
6. Find all .txt files inside practice-directory.
58-
58+
```
5959
find practice-directory -name "*.txt"
60-
60+
```
6161

6262
7. Search for the word “Navigation” inside fileC.txt.
63-
63+
```
6464
grep "Navigation" practice-directory/fileC.txt
65-
65+
```
6666

6767

6868
6969

7070
Step 3: Submit Your Work
7171
1. Run the test script to verify your work:
72-
72+
```
7373
bash test_navigation.sh
74-
74+
```
7575

7676
2. If all tests pass, commit and push your work:
7777

78+
```
7879
git add .
7980
git commit -m "Completed Terminal Navigation Assignment"
8081
git push
81-
82+
```
8283

8384
3. Your work will be automatically graded using GitHub Actions.
8485

0 commit comments

Comments
 (0)