summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/files/L2.2b
diff options
context:
space:
mode:
authorIan Darwin <ian@cvs.openbsd.org>1998-09-28 16:01:59 +0000
committerIan Darwin <ian@cvs.openbsd.org>1998-09-28 16:01:59 +0000
commit1083c89a4423b36811471177bbe3abe0b50f3235 (patch)
tree46432d298508cad92b9cdf3320616c3824573d38 /usr.bin/learn/lib/files/L2.2b
parent5c33bfa47b213f93498fe8c5dc17f90f4d116c06 (diff)
import BTL learn(1) lessons/files
Diffstat (limited to 'usr.bin/learn/lib/files/L2.2b')
-rw-r--r--usr.bin/learn/lib/files/L2.2b24
1 files changed, 24 insertions, 0 deletions
diff --git a/usr.bin/learn/lib/files/L2.2b b/usr.bin/learn/lib/files/L2.2b
new file mode 100644
index 00000000000..e38143cea13
--- /dev/null
+++ b/usr.bin/learn/lib/files/L2.2b
@@ -0,0 +1,24 @@
+#print
+Now your directory contains a file with a name
+that starts with "a" (like "adam", "arthur", etc.).
+Find it and change its name to "martin".
+Then type "ready".
+By the way, if there was already a file around
+named "martin", the old version is clobbered
+by the new one.
+#create andrew
+stuff
+#user
+test -r martin
+#fail
+Do you remember that the "ls" command will
+tell you the names of the files in the current
+directory? Thus you can use "ls" to tell you
+what your file names are; and then you can use
+"mv" to change the name of the file
+beginning with "a" to "martin".
+#log
+#next
+3.1a 10
+3.2a 5
+3.3a 2