blob: e9df94281cb7304bc1bd5db6cf1b0ba35f96028a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#print
The list of file names from "ls" can also be obtained
sorted by the date the file was most recently changed,
with the newest files listed first. This list is
obtained by typing "ls -t".
What is the oldest file in this directory?
Type "answer name", where "name" is the oldest file.
#create X1
stuff
#create X2
stuff
#create X3
stuff
#
#copyin
#user
#uncopyin
ls -t | tail -1 >X1
tail -1 .copy >test
#cmp X1 test
#log
#next
0.1f 10
|