代码搜索:L
找到约 10,000 项符合「L」的源代码
代码结果 10,000
www.eeworm.com/read/101082/6243475
1c l0.1c
#print
The computer keeps track of information in "files."
A file might contain a letter to a friend,
or a memo (or part of it) that you are typing,
or any number of other things.
You can list the nam
www.eeworm.com/read/101082/6243478
3c l7.3c
#print
You can put any number of characters between the
brackets. For example,
ab[123456789]
could match up to 9 names, of the sort
ab1, ab2, ab3, ab4, ab5, ...
How many of the following names ex
www.eeworm.com/read/101082/6243479
1c l6.1c
#print
There is one file in this directory whose name begins
with "g". Rename it so the "g" at the beginning
of the name is replaced by "h".
Then type ready.
#create g23
g23, of course
#user
test -r
www.eeworm.com/read/101082/6243481
2b l7.2b
#print
You can put any number of characters between [..]
characters, as in
[abcdef]
which matches any of the six letters from a to f;
and you can put something like that anywhere in a pattern
for a
www.eeworm.com/read/101082/6243482
1b l5.1b
#print
Will the name
xyz
be selected by the pattern
x?
in an "ls" command?
Type "yes" or "no". If you
have trouble, there is such a file
in the current directory,
so you can find out by trial and
www.eeworm.com/read/101082/6243486
2b l6.2b
#print
There is one file in this directory whose name ends
in "memo". Find out that file name and print
the contents of the file. Then type "ready".
#create mymemo
This is the 7-line file "mymemo";
www.eeworm.com/read/101082/6243487
3b l11.3b
#print
Now there is a file named "good"
in this directory. Make a copy named "better",
then type ready.
#create good
This file has
three lines
in it.
#user
#cmp good better
#log
#next
11.3c 2
www.eeworm.com/read/101082/6243492
2c l12.2c
#print
This directory contains two files named "old" and "new";
What word is in one file but not the other? Find
out. Reply "answer WORD" where WORD is that word.
#create new
Four score and seven
ye
www.eeworm.com/read/101082/6243493
1b l0.1b
#print
You should also understand a few simple commands.
When UNIX types a "%" at you, you can type a command.
For example, if you type "date" the computer will tell
you the current date and time. If
www.eeworm.com/read/101082/6243495
1e l5.1e
#print
Not only may the ? appear anywhere in a name,
but there may be several ? characters in it.
For example,
g??rge
will match "george" and "goerge", among others.
And "a??" will match "abc" or "a