Skip to content

Commit 33e6071

Browse files
committed
Added exercise 1
1 parent 6a489f5 commit 33e6071

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,6 @@ Once you are inside of a directory, it's useful to be able to interact with file
111111
| Open a file | `open FILENAME` (windows: `start FILENAME`) |
112112
| View text of a file | `less FILE_NAME` |
113113
| See previous commands executed | `history` (also hit up arrow) |
114+
| View Manual information for a command | `man COMMAND` |
114115

115-
To practice using basic command-line syntax, see [exercise-1](exercise-1).
116+
Don't hesitate to experiment with these commands, though I suggest making files to experiment moving/deleting/etc. Google is obviously a great resource, as is the `man` command for reading the manual (though that can be a bit dense). To practice using basic command-line syntax, see [exercise-1](exercise-1).

exercise-1/README.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Exercise 1
2+
This exercise is a brief review of terminal commands. Like all exercises, you can see the answers in the `complete` branch. Open up your command-line terminal, and perform the following tasks (no need to clone or download this repository):
3+
4+
```bash
5+
# Navigate to your "Documents" directory
6+
7+
# Create a new directory "quick-exercise"
8+
9+
# Navigate to your "quick-exercise" directory
10+
11+
# Create a file called "test-file.r" using the `touch` command
12+
13+
# Open "test-file.r" (from the terminal) and edit it
14+
15+
# View the contents of the file in your terminal
16+
17+
# Bonus: Create 10 files with one line in your terminal
18+
```

0 commit comments

Comments
 (0)