File tree Expand file tree Collapse file tree 1 file changed +17
-16
lines changed
Expand file tree Collapse file tree 1 file changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -32,53 +32,54 @@ Use terminal commands to complete each task below.
32321 . ** Print your current working directory (absolute path).**
3333``` sh
3434pwd
35-
35+ ```
3636 2. List all files and directories inside practice-directory.
37-
37+ ```
3838ls practice-directory
39-
39+ ```
4040
4141 3. Change into folder1 and verify you are inside it.
42-
42+ ```
4343cd practice-directory/folder1
4444pwd
45-
45+ ```
4646
4747 4. Display the contents of fileA.txt.
48-
48+ ```
4949cat fileA.txt
50-
50+ ```
5151
5252 5. Return to the terminal-navigation-assignment root directory in a single command.
53-
53+ ```
5454cd ../../
55-
55+ ```
5656
5757 6. Find all .txt files inside practice-directory.
58-
58+ ```
5959find practice-directory -name "*.txt"
60-
60+ ```
6161
6262 7. Search for the word “Navigation” inside fileC.txt.
63-
63+ ```
6464grep "Navigation" practice-directory/fileC.txt
65-
65+ ```
6666
6767
6868⸻
6969
7070Step 3: Submit Your Work
7171 1. Run the test script to verify your work:
72-
72+ ```
7373bash test_navigation.sh
74-
74+ ```
7575
7676 2. If all tests pass, commit and push your work:
7777
78+ ```
7879git add .
7980git commit -m "Completed Terminal Navigation Assignment"
8081git push
81-
82+ ```
8283
8384 3. Your work will be automatically graded using GitHub Actions.
8485
You can’t perform that action at this time.
0 commit comments