summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/files/L2.2b
blob: e38143cea13d56022b0ed23a21d161e7b023b420 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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