summaryrefslogtreecommitdiff
path: root/rushs/evalexpr/create_files/create_files.sh
blob: 28dba0079cf870d86d9152c3dcde2bb45ba9cc98 (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
25
26
27
28
29
30
31
32
33
34
#!/bin/sh

touch ' '
chmod 644 ' '

touch '\'
chmod 644 '\'

touch -- --
chmod 644 -- --

touch '|'
chmod 644 '|'

touch '"'
chmod 644 '"'

touch "'"
chmod 644 "'"

touch -- --\$i*\'\"\\
chmod 644 -- --\$i*\'\"\\

touch '# Exams are fun!'
chmod 644 '# Exams are fun!'

touch ";\`kill -9 0\`"
chmod 644 ";\`kill -9 0\`"

path="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/30/31/32/33/34/35/36/37/38/39/40/41/42/43/44/45/46/47/48/49/50"

mkdir -p "$path"
touch $path/farfaraway
chmod 644 $path/farfaraway