bash
bash-3.00# cat sss
for i in {1..6}
do
touch $i.txt
done
-rw-r--r-- 1 root root 0 Apr 17 01:56 1.txt
-rw-r--r-- 1 root root 0 Apr 17 01:56 2.txt
-rw-r--r-- 1 root root 0 Apr 17 01:56 3.txt
-rw-r--r-- 1 root root 0 Apr 17 01:56 4.txt
-rw-r--r-- 1 root root 0 Apr 17 01:56 5.txt
-rw-r--r-- 1 root root 0 Apr 17 01:56 6.txt
for i in {1..6}
do
touch $i.txt
done
-rw-r--r-- 1 root root 0 Apr 17 01:56 1.txt
-rw-r--r-- 1 root root 0 Apr 17 01:56 2.txt
-rw-r--r-- 1 root root 0 Apr 17 01:56 3.txt
-rw-r--r-- 1 root root 0 Apr 17 01:56 4.txt
-rw-r--r-- 1 root root 0 Apr 17 01:56 5.txt
-rw-r--r-- 1 root root 0 Apr 17 01:56 6.txt
Comments
Post a Comment