summaryrefslogtreecommitdiff
path: root/team-1/reading-a-file.txt
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2024-11-13 08:30:52 +0000
committerJoe Carstairs <me@joeac.net>2024-11-13 08:33:25 +0000
commita526b3a4136b13f40394e905476f5a32ec155afa (patch)
tree4cf75e0f1ef322baa70e66a54a59d60fb4eb54d2 /team-1/reading-a-file.txt
Initial commit
Diffstat (limited to 'team-1/reading-a-file.txt')
-rw-r--r--team-1/reading-a-file.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/team-1/reading-a-file.txt b/team-1/reading-a-file.txt
new file mode 100644
index 0000000..21e05d5
--- /dev/null
+++ b/team-1/reading-a-file.txt
@@ -0,0 +1,14 @@
+= Reading a file
+
+cat file-name
+
+This outputs the contents of the file called `file-name`, if it exists. To
+output the contents of a different file, use a different file name.
+
+If it's a long file, you may find it useful to use `less` instead:
+
+less file-name
+
+This opens the file up for you to scroll through. You can scroll down with <d>,
+up with <u>, and quit with <q>.
+