代码搜索:L
找到约 10,000 项符合「L」的源代码
代码结果 10,000
www.eeworm.com/read/101082/6243457
1c l5.1c
#print
The "?" may appear anywhere in the name.
For example you can type
a?bc
to match the list of names
axbc, aybc, a3bc
and so forth.
But the number of characters must always agree.
How many of
www.eeworm.com/read/101082/6243459
2c l9.2c
#print
And as an example of the [] operators again,
print all the files in this directory whose
names begin with either 'a' or 'c'.
That will tell you to type either 'yes'
or 'no' - do what it says.
#
www.eeworm.com/read/101082/6243461
3b l7.3b
#print
You can use the [] characters anywhere you want
in a file name. For example,
ls a[bc]d
would match abd or acd, right?
What is the command that finds out how
many files are named "ax" or "bx"?
www.eeworm.com/read/101082/6243464
2b l12.2b
#print
Now are the files "dick" and "harry" the same?
Again reply "yes" or "no".
If there are differences between files, "diff" prints
the lines that are different, indicating those
from the first fil
www.eeworm.com/read/101082/6243465
2b l10.2b
#print
You can remove several files at once with the "rm" command.
And you can use the familiar "*" and "?" characters
to abbreviate several file names. BUT BE CAREFUL -
"rm" is irreversible, and it
www.eeworm.com/read/101082/6243466
1b l6.1b
#print
Will the file name "abcd"
be matched by "a*d"? Again,
if you are not sure, you can experiment
in this directory with commands like
"ls" and "ls a*d".
#create abcd
#copyin
#user
#uncopyin
#matc
www.eeworm.com/read/101082/6243469
2b l3.2b
#print
The "cat" command can also print several files
at once. In fact, it is named "cat" as an abbreviation
for "concatenate". To print the files named "dog"
and "mouse" in succession, you could ei
www.eeworm.com/read/101082/6243472
2b l1.2b
#print
You can use the "ls" command to find out how
many files you have in your directory.
How many files are there in the current
directory now? Make another list - the list of files
that you made b
www.eeworm.com/read/101082/6243473
2b l9.2b
#print
You can also use the "*" operator. For example,
print the contents of all the files in this
directory whose names begin with the letter 'p'.
Use just one "cat" command.
Then type "ready".
#cre
www.eeworm.com/read/101082/6243474
2b l4.2b
#print
You can inquire about several files at once
with the "ls" command. If you type, for example,
ls fee fi fo fum
you will be told which of the four files "fee", "fi", "fo",
and "fum" exist. I