diff options
Diffstat (limited to 'usr.bin/learn/lib/files/L3.3b')
-rw-r--r-- | usr.bin/learn/lib/files/L3.3b | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/usr.bin/learn/lib/files/L3.3b b/usr.bin/learn/lib/files/L3.3b new file mode 100644 index 00000000000..525d4d2d90d --- /dev/null +++ b/usr.bin/learn/lib/files/L3.3b @@ -0,0 +1,23 @@ +#print +Of course, you can print any file with "cat". +In particular, it is common to first use +"ls" to find the name of a file and then "cat" +to print it. Note the difference between +"ls", which tells you the name of the files, +and "cat", which tells you the contents. + +One file in the current directory is named for +a President. Print the file, then type "ready". +#create roosevelt + this file is named roosevelt + and contains three lines of + text. +#copyout +#user +#uncopyout +cp .ocopy X2 +tail -3 .ocopy >X1 +#cmp X1 roosevelt +#log +#next +3.2b 2 |