File: create_files

package info (click to toggle)
dupd 1.7.3-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 12,688 kB
  • sloc: ansic: 8,381; sh: 879; makefile: 121; perl: 58
file content (29 lines) | stat: -rwxr-xr-x 346 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
rm -f ?
rm -f 1?
echo first file > 1
echo second file > 2
cp 1 3
cp 1 5
chmod 000 2
chmod 000 3

echo cant read any two > 6
cp 6 7
chmod 000 6
chmod 000 7

echo cant read any three > 8
cp 8 9
cp 8 10
chmod 000 8
chmod 000 9
chmod 000 10

echo cant read any four > 11
cp 11 12
cp 11 13
cp 11 14
chmod 000 11
chmod 000 12
chmod 000 13
chmod 000 14