代码搜索结果
找到约 10,000 项符合
L 的代码
l9.1a
#print
The patterns for selecting file names that have been discussed
can be used with other commands than "ls". For example,
they can be used with the "cat" command to print files.
It is common for
l0.1a
#print
Now you should understand the special characters ^H and @:
^H cancels the previous character typed (called control-h)
@ cancels the line being typed and puts you on a new line
l2.1a
#print
The "mv" command changes the names of files.
For example, "mv bob bill" changes the name
of file "bob" to be "bill". If there was already
a file named "bill", the old version is destroyed.
Th
l10.1a
#print
When you are done with something, you will want to know
how to get rid of the file it is on. The command
for that is "rm" (remove). For example
rm junk
throws away the file named "junk". O
l1.2a
#print
Use the "ls" command to determine if there is a file
named for a state in the current directory.
Find out and type "yes" or "no".
(Don't use the list you got earlier - I've changed things.)
#cr
l13.01a
#print
You may have been wondering what to do in
case Unix prints faster than you can read.
It is often helpful to suspend Unix
output temporarily in order to read it,
and then restart it to let more
l6.2a
#print
Since the '?' character only matches single
characters in file names, it is not useful for
questions like "how many files have names which
begin with the letter g?" There is another character
l11.1a
#print
To create a second copy of a file, the easiest
way is to use the "cp" (copy) command.
If you tell the computer
cp x y
a copy of file "x" is made and named "y".
Note that this is similar to "m
l4.1a
#print
The "ls" command may be given with one
or more file names. In that case,
it will tell which of the files exist.
How many of the files "doug", "dave", and
"dennis" exist in this directory? Fin
l8.2a
#print
Will the command
ls georg[a-f]
match the name
george
Type yes or no.
Experiment first if you want.
#create george
#copyin
#user
#uncopyin
#match yes
#log
#next
8.2b 5
9.1a 10