代码搜索:L
找到约 10,000 项符合「L」的源代码
代码结果 10,000
www.eeworm.com/read/101082/6243037
1f l2.1f
#print
Obtain a long listing (with "ls -l") of all files in this directory
whose names begin with capital letters, in a file
called "names".
Type "ready" when you're done.
#create STUFF
#create Nonse
www.eeworm.com/read/101082/6243038
1b l0.1b
#print
When you ask for "ls -l", the first line,
which says "total N", is a measure of how much
file space is used by the files in this directory.
The part of the listing that says something like
"-rw
www.eeworm.com/read/101082/6243039
2e l6.2e
#print
How many words in the file "o" do not contain a
slash "/"? Type "answer N", where N is the number of words.
#create o
o
o'
oaf
oaf/ish
oaf/ish/ly
oaf/ish/ness
oak
oak/en
oaks
oa/kum
oar
oared
www.eeworm.com/read/101082/6243040
1e l5.1e
#print
Use "ls", "pr" and a pipe to make a neat list of the files
in this directory, sorted by time of last change.
Do not use a temporary file.
Type "ready" when you are done.
#create x1
adfasdfasdfa
www.eeworm.com/read/101082/6243044
1e l2.1e
#print
If you make a mistake and type something like
xxxxx >precious
where "xxxxx" is ___not the name of a legal UNIX
command, what happens to the file "precious"?
In this directory, there ar
www.eeworm.com/read/101082/6243045
1d l0.1d
#print
Is the file "ref" bigger than the file "ref1"?
Answer yes or no.
#create ref
now is the time.
#create ref1
now is the time for all good men.
#copyin
#user
#uncopyin
#match no
#log
#next
0.1e 10
www.eeworm.com/read/101082/6243046
1c l3.1c
#print
So far the only printing program we have seen
is "cat", which just copies one or more files
onto the terminal (or perhaps onto a file when used
with ">").
The next step up is the program "pr",
www.eeworm.com/read/101082/6243047
1d l4.1d
#print
Unix has several rather simple programs that are useful
in their own right and as building blocks in more complicated
operations. One of the most frequently used is "wc",
which counts lines,
www.eeworm.com/read/101082/6243048
1g l4.1g
#print
By default, "tail" prints the last 10 lines of its input.
You can change this default amount by specifying a different
amount as an optional argument. For example,
tail -5 file
prints the la
www.eeworm.com/read/101082/6243049
1f l4.1f
#print
Another useful command is "tail", which will print the last
10 lines of a file. This is handy when you want to see how
far something got before it stopped, or what the last thing
in a file is