diff --git a/test2/foss-lab b/test2/foss-lab new file mode 160000 index 0000000000000000000000000000000000000000..5c33aad56af20586eff23df021b7b78138776b1e --- /dev/null +++ b/test2/foss-lab @@ -0,0 +1 @@ +Subproject commit 5c33aad56af20586eff23df021b7b78138776b1e diff --git a/test2/hist.txt b/test2/hist.txt new file mode 100644 index 0000000000000000000000000000000000000000..35aa7f337d8f3b5b8961374b780da6730484e6f6 --- /dev/null +++ b/test2/hist.txt @@ -0,0 +1,1000 @@ + 535 ls + 536 ls -al + 537 tar tvf backup-lab0315.tar + 538 ls -al + 539 tar xvf backup-lab0315.tar + 540 ls -al + 541 du + 542 ls -lh + 543 du -h + 544 ls -al + 545 tar cvfz test.ztar lab0315 + 546 ls + 547 ls -al + 548 du -h + 549 ls -al -h + 550 man cd + 551 cd --help + 552 man ls + 553 ls --help + 554 cd --help + 555 where is ls + 556 whereis ls + 557 whreis cd + 558 whereis cd + 559 ps + 560 which bash + 561 ls -l /bin/*shell + 562 ls -l /bin/*sh + 563 echo hi + 564 echo -n Hi + 565 echo -n "HI" + 566 echo -n "HI" ; echo " hwanyong" + 567 NAME=Sojin + 568 echo NAME + 569 echo $NAME + 570 vi a.out + 571 ls -al + 572 ./a.out + 573 chmod 755 a.out + 574 ./a.out + 575 cat a.out + 576 vi a.out + 577 echo $PATH + 578 PATH="$PATH:." + 579 echo $PATH + 580 a.out + 581 ls ; a.out ; sleep 1; echo "done" + 582 a.out && ls + 583 echo "1" && echo "2" + 584 cp ../lab0315/hello.c + 585 ls lab0315 + 586 cp ../lab0315/hello.c + 587 ls lab0315 + 588 cp ../lab0315/hello.c + 589 vi hello.c + 590 cc hello.c + 591 a.out + 592 cat hello.c + 593 ls -al + 594 a.out + 595 echo $? + 596 a.out <<<0 + 597 a.out <<< 0 ; echo $? + 598 echo $? + 599 a.out <<<5; echo $? + 600 py + 601 python + 602 a.out <<< 0 && a.out <<< 1 + 603 a.out <<<1 && a.out <<< 0 + 604 a.out <<<1 || a.out <<<0 + 605 a.out <<< 0 || a.out <<<1 + 606 exit + 607 ls + 608 cd foss + 609 ls + 610 cd .. + 611 ls + 612 man touch + 613 cd foss + 614 ls + 615 mkdir lab0401 + 616 cd lab0401/ + 617 cd .. + 618 cd foss + 619 cd lab0401/ + 620 man shopt + 621 shopt --help + 622 shopt + 623 shopt -s histverify + 624 shopt + 625 history + 626 echo "0401 lab start" + 627 cd + 628 cd foss + 629 mkdir lab0401 ; cd lab0401 + 630 history + 631 history > hist.start + 632 ls + 633 ls -l + 634 shopt -u histverify + 635 ls -l + 636 shopt -s histverify + 637 shopt -u histverify + 638 ls -l + 639 ls -l -a + 640 cp ../lab0318 + 641 cp ../lab0329/hello.c ../lab0329/a.out . + 642 ls -al + 643 cc hello.c + 644 a.out + 645 ./a.out + 646 ./a.out <<< 999 + 647 cp a.out b.out + 648 ls -al + 649 cc hello.c + 650 ls -al + 651 ./b.out <<< 100 + 652 cp -a b.out c.out + 653 ls -al + 654 ./b.ous <<< 100 + 655 ./b.out <<< 100 + 656 ./c.out <<< 100 + 657 ./a.out <<< 100 + 658 ./b.out <<< 100 + 659 history + 660 ls -al + 661 touch id > 201920753 + 662 ls + 663 ls -al + 664 history + 665 100 + 666 ./a.out <<< 1999 1 2 3 4 5 6 7 + 667 2 3 + 668 2 + 669 cc hello.c + 670 cc hello.c -o z.out + 671 rm z.out + 672 ls + 673 ls -al + 674 rm id + 675 ls + 676 rm 201920753 + 677 ls + 678 cd .. + 679 ls + 680 cd lab0401 + 681 ls + 682 if ((200>9)); then echo "200 is big"; else echo "9 is big"; fi + 683 ls + 684 * + 685 history + 686 echo * + 687 ehco *out + 688 echo *out + 689 echo *u* + 690 echo l* + 691 echo a* + 692 echo {a,b,c}.out + 693 echo {a,b,c}.abcd + 694 echo {a..z}.123 + 695 echo {1,,5} + 696 echo {1.5} + 697 mkdir temp + 698 cd temp + 699 touch {a..z}.cpp + 700 ls + 701 touch {0..999}.c + 702 ls + 703 rm {a..z}* + 704 rm {1..999..2}.c + 705 ls + 706 cd .. + 707 ./a.out <<< 9 > a.txt ; ./b.out <<< 99 > b.txt + 708 history + 709 history > hist.end + 710 ls + 711 ls -al + 712 cat hist.start + 713 cat hist.end + 714 exit + 715 ls + 716 cd foss + 717 ls + 718 cat studentid + 719 mkdir lab0405 + 720 ls + 721 cd lab0405 + 722 ls -al + 723 touch a aa aaa b bb bbb c cc ccc + 724 ls + 725 ls -a + 726 ls -al + 727 echo * + 728 all=* + 729 echo all + 730 echo $all + 731 echo z* + 732 zall =z* + 733 zall=z* + 734 echo $zall + 735 ball=b* + 736 echo $ball + 737 echo b\* + 738 echo ??? + 739 echo ??a + 740 echo ?? + 741 ls *.c + 742 ls *c + 743 ls -al *c + 744 echo [ab][ab] + 745 echo [ab][ab]* + 746 echo [ab] + 747 echo [abc] + 748 echo [abc]* + 749 history | head + 750 history + 751 alias rm='rm -i' + 752 alias + 753 la + 754 vi ~/.profile + 755 ls + 756 source ~/.bashrc + 757 alias + 758 vi ~/.bash + 759 vi ~/.bash_logout + 760 vi ~/.bash_logout + 761 logout + 762 ls + 763 cd foss + 764 cd lab0405 + 765 ls + 766 cd .. + 767 ls -al + 768 ls -l *.c + 769 ls -l */*.c + 770 ls -lr *.c + 771 ls -lR *.c + 772 ls -lR | grep .c + 773 grep -r main + 774 cd lab0405 + 775 ls + 776 for i in a*; do echo $i; file $i; done + 777 for ((i=0;i<100;i+=2)); sum+=i + 778 echo $i + 779 done + 780 ls + 781 ls -al + 782 for i in a*; do ; file i; done + 783 for i in a*; do file $i; done + 784 for ((i=0; i<1000; i++)); do echo $i; done + 785 for (( + 786 sum=0; for((i=0;i<1000;i++));do; sum=$sum+$i; done + 787 sum=0; + 788 for((i=0; i<1000; i++)); do sum=$sum+$i; done; + 789 echo (($sum)) + 790 echo $sum + 791 echo $(($sum)) + 792 sum=0; for ((i=0; i <1000;i++));do sum=$(($sum+$i)); done + 793 echo $sum + 794 sum=0;for i in {0..1000..5}; do sum$(($sum+$i)); done + 795 sum=0; for i in {0..1000..5};do sum=$(($sum+$i)); done ; echo $sum + 796 read + 797 while read line; do echo $line; done + 798 sum=0; while read a; do sum=$(($sum+$a)); done ; echo $sum + 799 sum=0; while read a; do > sum=$(($sum+$a)); > done ; echo $sum; + 800 cat > infile + 801 cat infile + 802 sum=0 + 803 cat infile | while read a; do sum=$(($sum+$a)); done + 804 ls + 805 sum=0; cat infile | while read a; do sum=$(($sum+$a)); echo $sum; done + 806 sum=0; cat infile | while read a; do sum=$(($sum+$a)); echo $sum; done + 807 vi sum.sh + 808 ls + 809 sum=0; for ((i=0;i<10;i+=2)); do sum=$(($sum+$i)); done + 810 echo $sum + 811 sum=0; for i in {0..10..2}; do sum=$(($sum+$i)); done + 812 echo $sum + 813 all=* + 814 echo $all + 815 all = * + 816 vi sum.sh + 817 exit + 818 ls + 819 cd foss + 820 ls + 821 mkdir lab0408 + 822 ls + 823 cd lab0408 + 824 ls + 825 cp ../lab0315/* . + 826 ls -al + 827 cat *.c + 828 vi hello.h + 829 cat hello.[ch] + 830 echo *.[ch] + 831 ls -al + 832 echo $# + 833 a=a.out + 834 ls + 835 echo $a + 836 echo ${a:a:1} + 837 echo ${a:0:1} + 838 echo ${a:1:2} + 839 echo ${a:(-1):2} + 840 echo ${a:3:4} + 841 echo ${a%out} + 842 mkdir test + 843 ls + 844 cd test + 845 for i in {1..100}; do touch aaa${i}.c; done + 846 ls + 847 for i in aaa5?.c; do echo mv $i ${i%c}java; done + 848 for i in aaa5?.c; do mv $i ${i%c}java; done + 849 ls + 850 rm aaa9?.c + 851 ls + 852 for i in aaa1?.c; do mv $i bbb${i#aaa}; done + 853 ls + 854 pwd + 855 along=/home/course/foss/oss134/foss/lab0408/test + 856 echo ${along/oss/xxx} + 857 echo ${along//oss/xxx} + 858 echo ${#along} + 859 echo $F00 + 860 echo ${F01:=300} + 861 echo $F01 + 862 echo $F00 + 863 echo {F00:100} + 864 echo {$F00:100} + 865 echo {$F00:+100} + 866 echo ${F00:+100} + 867 echo F00 + 868 echo $F00 + 869 cd .. + 870 vi hello.c + 871 cc hello.c + 872 a.out + 873 echo $? + 874 ls zzz.c + 875 echo $? + 876 ls + 877 echo $? + 878 cat h + 879 if a.out ; then echo "TRUE"; fi + 880 ping-c 1 google.com + 881 ping -c 1 goole.com + 882 ping -c 1 git.ajou.ac.kr + 883 echo $? + 884 if [[ -z F00 ]] ; then echo "zero"; fi + 885 if [[ -z $F00 ]] ; then echo "zero"; fi + 886 echo (( 100 < 200 )) + 887 echo 20220408 > today + 888 ls + 889 echo 20220408 > today + 890 cat today + 891 set -o noclobber + 892 cat today + 893 echo 20220408 > today + 894 cd test + 895 ls + 896 rm * + 897 ls + 898 vi fc.sh + 899 ls -al + 900 cs.sh + 901 chmod 700 fc.sh + 902 fc.sh + 903 rm aaa* + 904 ls + 905 vi fc.sh + 906 fc.sh + 907 ls + 908 rm *.c + 909 ls + 910 vi fc.sh + 911 source fc.sh + 912 vi fc.sh + 913 source fc.sh + 914 touch .aaa + 915 ls + 916 ls *aaa* + 917 shopt -s dotglob; ls *aaa* + 918 shopt + 919 exit + 920 ls + 921 cd foss + 922 ls + 923 history + 924 source sum.sh + 925 echo $i + 926 i=110 + 927 echo $i + 928 ps + 929 cd / + 930 echo $$ + 931 exit + 932 ls + 933 cd foss + 934 ls + 935 mkdir lab0412 + 936 ls + 937 cd lab0412 + 938 ls + 939 ls -al + 940 vi sum.sh + 941 source sum.sh + 942 vi sum.sh + 943 source sum.sh + 944 cat sum.sh + 945 bash + 946 echo $i + 947 cat sum.sh + 948 (source sum.sh) + 949 echo $i + 950 vi sum.sh + 951 source sum.sh + 952 vi sum.sh + 953 source sum.sh + 954 cat sum.sh + 955 time source sum.sh + 956 vi sum.sh + 957 (source sum.sh) + 958 vi sum.sh + 959 (source sum.sh) + 960 cat sum.sh + 961 bash sum.sh + 962 ps + 963 vi sum.sh + 964 source sum.sh + 965 vi sum.sh + 966 source sum.sh + 967 vi sum.sh + 968 source sum.sh + 969 vi sum.sh + 970 source sum.sh + 971 cat sum.sh + 972 source sum.sh 1 2 3 4 5 + 973 cp sum.sh sum1.sh + 974 ls + 975 ls -al + 976 diff sum* + 977 if [[ sum.sh -ef sum1.sh ]]; then echo "true"; fi + 978 ln sum.sh sum2.sh + 979 ls -al + 980 if [[ sum.sh -ef sum2.sh ]]; then echo "true"; fi + 981 ln -s sum.sh sum3.sh + 982 ls -al + 983 ls -i + 984 ls -ali + 985 echo $RANDOM + 986 echo $(($RANDOM%200)) + 987 which ls + 988 which cd + 989 command -v ls + 990 printf " %s %s" "hi" + 991 printf "%s %s" "hi""jack" + 992 vi file0000.sh + 993 source file0000.sh + 994 vi file0000.sh + 995 source file0000.sh + 996 vi file0000.sh + 997 ls + 998 ls -al + 999 xargs filename + 1000 xargs touch + 1001 ls -al + 1002 echo filename2 | xargs touch + 1003 ls -al + 1004 'ls' + 1005 lsresult = 'ls' + 1006 lsresult='ls' + 1007 echo $result + 1008 echo $lsresult + 1009 lsresult='ls' + 1010 echo $lsresult + 1011 lsresult=`ls` + 1012 echo $lsresult + 1013 `ls` + 1014 echo `ls` + 1015 vi file0000.sh + 1016 source file0000.sh + 1017 vi file0000.sh + 1018 source file0000.sh + 1019 vi file0000.sh + 1020 source file0000.sh + 1021 ls -al + 1022 vi file0000.sh + 1023 ls | xagrs cat | wc + 1024 ls |xargs cat |wc + 1025 cat <<END + 1026 hello + 1027 END + 1028 cat <<END + 1029 hi + 1030 hello + 1031 ho + 1032 end + 1033 END + 1034 read ppp + 1035 echo $ppp + 1036 help printf + 1037 printf -v num "%08d" d + 1038 printf -v num "%08d" 5 + 1039 $num + 1040 echo $num + 1041 echo "hello" | {read test; echo $test} + 1042 echo "hello" | read test; echo $test + 1043 echo "hello" |{ read test; echo $test } + 1044 echo "hello" |{ read test; echo $test; } + 1045 ls + 1046 ls > files + 1047 ls -al + 1048 cat files + 1049 cat files | while read line; do echo $line; done + 1050 printf "aaaa\nbbb\n" | while read line; do echo $line; done + 1051 3> test.out 1>&3 ls + 1052 more test.out + 1053 exit + 1054 ls + 1055 cd foss + 1056 ls + 1057 mkdir lab0415 + 1058 ls + 1059 cd lab0415 + 1060 touch aaa bbb + 1061 ls + 1062 ls -al + 1063 ls | xargs ls -l + 1064 ls -l `ls` + 1065 files=`ls` + 1066 echo $files + 1067 echo "hello" + 1068 help od + 1069 od hlep + 1070 od help + 1071 od -help + 1072 OD -help + 1073 OD --help + 1074 hlep + 1075 help + 1076 exit + 1077 ls + 1078 cd foss/lab0415 + 1079 ls -al + 1080 cd ../.. + 1081 cd + 1082 mkdir tmp + 1083 cd tmp + 1084 git clone https://git.ajou.ac.kr/948/foss-lab.git + 1085 ls -al + 1086 ls -l + 1087 cd foss-lab/ + 1088 ls + 1089 ls -al + 1090 vi README.md + 1091 cat README.md + 1092 vi README.md + 1093 cat README.md + 1094 git add README.md + 1095 git commit + 1096 git confing --global user.email "jjaren746@ajou.ac.kr" + 1097 git config --global user.email "jjaren746@ajou.ac.kr" + 1098 git config --global user.name "Sojin Han" + 1099 git config --global user.name "948" + 1100 git config --global user.name "한소진" + 1101 git config --global user.email "jjaren746@ajou.ac.kr" + 1102 git config --global user.name "한소진" + 1103 git add README.md + 1104 git commit + 1105 nano + 1106 cd + 1107 ls -la + 1108 vi .gitconfig + 1109 cd tmp + 1110 ls -al + 1111 cd foss-lab/ + 1112 ls -al + 1113 mv .git README.md ~/foss + 1114 ls -al + 1115 cd .. + 1116 ls -al + 1117 ch tmp/foss-lab/ + 1118 cd tmp/foss-lab/ + 1119 ls -al + 1120 mv linux.md ~/foss + 1121 ls -al + 1122 cd + 1123 ls -al + 1124 rmdir tmp + 1125 cd temp + 1126 ls -al + 1127 cd tmp + 1128 ls -al + 1129 rmdir foss-lab/ + 1130 ls -al + 1131 cd + 1132 ls -al + 1133 rmdir tmp + 1134 ls -al + 1135 cd foss + 1136 ls + 1137 ls -al + 1138 cd + 1139 cd ~/foss + 1140 ls -al + 1141 git add * + 1142 git commit -m "All Lab" + 1143 history | tail + 1144 git push + 1145 history + 1146 exit + 1147 who | wc + 1148 exit + 1149 who | wc + 1150 ls + 1151 cd foss + 1152 ls + 1153 mkdir test + 1154 ls + 1155 cd test + 1156 cd .. + 1157 cd test ; echo "201920753 " > s_id + 1158 ls + 1159 cat s_id + 1160 ls -al + 1161 chmod -R 700 . + 1162 ls -al + 1163 chmod 755 . + 1164 ls -al + 1165 chmod 700 . + 1166 ls -al + 1167 cd .. + 1168 ls + 1169 cd lab0322 + 1170 ls -al + 1171 cat inputfile + 1172 ./a.out < inputfile + 1173 cat hello.c + 1174 cd ~ + 1175 ls + 1176 cd /foss/test + 1177 cd foss/test/ + 1178 vi hello.c + 1179 cat hello.c + 1180 touch inputfile + 1181 vi inputfile + 1182 cc hello.c + 1183 ls -al + 1184 ./a.out < inputfile + 1185 ./a.out 0< inputfile + 1186 ./a.out <inputfile 1> outputfile + 1187 ls -al + 1188 cat outputfile + 1189 ./a.out < inputfile 2> errfile + 1190 cat errfile + 1191 ls -al > ls_result.txt + 1192 ls -al + 1193 cat ls_result.txt + 1194 man | + 1195 history + 1196 man tee + 1197 ./a.out tee result + 1198 ls -al + 1199 man tee + 1200 ./a.out tee result + 1201 cat result + 1202 ./a.out | result + 1203 ls -al + 1204 ./a.out |& result + 1205 man | + 1206 | --help + 1207 |& --help + 1208 touch "201920753" > redirection + 1209 cat redirection + 1210 ls -al + 1211 rm redirection + 1212 rm 201920753 + 1213 ls -al + 1214 echo history | tail + 1215 history | tail + 1216 echo (history | tail) + 1217 ls > redirection + 1218 ls -al + 1219 cat redirection + 1220 "hello" >> redirection + 1221 inputfile >> redirection + 1222 chmod 777 . + 1223 inputfile >> redirection + 1224 chmod 700 . + 1225 ls >> redirection + 1226 cat redirection + 1227 ls > redirection + 1228 cat redirection + 1229 100 | ./a.out + 1230 100 |& ./a.out + 1231 100 tee ./a.out + 1232 ./a.out < inputfile tee result + 1233 ls -al + 1234 cp ../lab0318-cp/sum . + 1235 ls -al + 1236 cat sum + 1237 rm sum + 1238 ln inputfile lfile + 1239 cat lfile + 1240 ls -ali + 1241 ls -i + 1242 ls -ai + 1243 ls -alis + 1244 rm lfile + 1245 ls -il + 1246 ln inputfile lfile + 1247 ls -il + 1248 rm lfile + 1249 vi file + 1250 ln file lfile + 1251 ls -ail + 1252 vi lfile + 1253 cat lfile file + 1254 ls -ali + 1255 ln -s file sfile + 1256 ls -al + 1257 ls -ali + 1258 vi sfile + 1259 cat sfile file + 1260 vi file + 1261 cat file lfile sfile + 1262 ln s_id hlid + 1263 ln -s s_id slid + 1264 ls -ali + 1265 ls > lsout + 1266 cat lsout + 1267 cd .. + 1268 ls + 1269 mkdir test2 + 1270 touch A + 1271 touch B + 1272 ls + 1273 rm A + 1274 rm B + 1275 ls + 1276 cd test2 + 1277 ls + 1278 touch A + 1279 touch B + 1280 ls > lsout + 1281 cat lsout + 1282 cat < lsout + 1283 ls -al + 1284 rm lsout + 1285 cat < lsout + 1286 ls > lsout + 1287 cat lsout + 1288 ls > lsout2 + 1289 cat lsout lsout2 > lsout3 + 1290 cat lsout3 + 1291 cat > output + 1292 cat output + 1293 ./a.out 0< inputfile > std.txt + 1294 ls + 1295 cd ../test + 1296 ./a.out 0< inputfile > std.txt + 1297 ./a.out 0< inputfile >& std.txt + 1298 cat std.txt + 1299 ./a.out 0< inputfile > std.txt + 1300 cat std.txt + 1301 cat hello.c + 1302 ./a.out | ./a.out + 1303 ./a.out |& ./a.out + 1304 cat hello.c + 1305 vi hey.c + 1306 ./a.out | ./a.out + 1307 vi hey.c + 1308 rm hey.c + 1309 ./a.out |& ./a.out + 1310 t + 1311 ./a.out |tee ./a.out + 1312 ./a.out tee ./a.out + 1313 ./a.out | tee result + 1314 cat result + 1315 ./a.out | ./a.out + 1316 ./a.out |& ./a.out + 1317 ./a.out | ./a.out > none + 1318 ./a.out |& ./a.out > with + 1319 cat none with + 1320 rm none + 1321 rm with + 1322 ls + 1323 ls -al + 1324 100 | ./a.out + 1325 inputfile | ./a.out + 1326 ./a.out | ./a.out + 1327 ./a.out |& ./a.out + 1328 ./a.out || ./a.out + 1329 ls -al + 1330 chmod 700 . + 1331 ls -al + 1332 chmod g+x file + 1333 ls -al + 1334 chmod o+x file + 1335 ls -al + 1336 cd + 1337 ls + 1338 cd foss + 1339 ls + 1340 cd test2 + 1341 ls + 1342 cat output + 1343 cat lsout lsout2 lsout3 + 1344 cat output + 1345 cd .. + 1346 ls + 1347 rmdir test2 + 1348 rmdir -r test2 + 1349 rm -r test2 + 1350 ls + 1351 mkdir test2 + 1352 cd test2 + 1353 cd ../test/ + 1354 ls -al + 1355 mv outputfile output + 1356 ls -al + 1357 cd ../test2 + 1358 echo "201920753 + 1359 ls + 1360 echo "2019" < stduent + 1361 ls -al + 1362 echo "2019" > student + 1363 ls + 1364 cat stduent + 1365 cat student + 1366 rm student + 1367 cd ../test/ + 1368 ./a.out | tee result + 1369 cat result + 1370 ./a.out | tee result > result.txt + 1371 cat result result.txt + 1372 ls + 1373 rm result.txt + 1374 ls + 1375 cd ../test2 + 1376 ls + 1377 touch a b c + 1378 ls + 1379 ls -al + 1380 echo 'ls -ali' > llls + 1381 chmod +x llls + 1382 ls -al + 1383 ./llls + 1384 ./llls > ans2.txt + 1385 ls + 1386 cat ans2.txt + 1387 ls -ali > llls + 1388 llls + 1389 ls + 1390 ls -ali > llll + 1391 cat llll + 1392 chmod +x llll + 1393 ./llll + 1394 ls + 1395 ./llll > ans3 + 1396 ls + 1397 rm llll + 1398 rm ans3 + 1399 ls + 1400 echo "ls -ali" > llll + 1401 chmod +x llll + 1402 ./llll + 1403 ./llll > ans + 1404 cat ans + 1405 ls + 1406 ls -al + 1407 cp a A + 1408 ls -al + 1409 cp -a a A + 1410 ls -al + 1411 NAME=SOJIN + 1412 echo NAME + 1413 echo $NAME + 1414 touch id > 2019 + 1415 ls + 1416 rm id + 1417 rm 2019 + 1418 ls + 1419 echo 900 > input + 1420 ls + 1421 cat input + 1422 rm input + 1423 touch 753 > id + 1424 ls + 1425 cat id + 1426 echo 753 > id + 1427 cat id + 1428 ls + 1429 touch d e 0 1 2 3 4 5 + 1430 ls + 1431 ls 753 + 1432 ls id + 1433 rm 753 + 1434 rm id + 1435 ls + 1436 echo [a-c0-3] + 1437 echo aaa* + 1438 cd + 1439 ls + 1440 who | wc + 1441 exit + 1442 ls + 1443 logout + 1444 ls + 1445 cd /foss/test2 + 1446 cd foss/test2 + 1447 ls + 1448 cd + 1449 who | wc + 1450 cd foss/test2 + 1451 ls + 1452 cd .. + 1453 ls + 1454 rm test2 + 1455 rm -r test2 + 1456 ls + 1457 mkdir test2 + 1458 cd test2 + 1459 ls + 1460 echo "ls -ali" > llll + 1461 ls + 1462 chmod +x llll + 1463 ls + 1464 ./llll + 1465 ls + 1466 ./llll > ans.txt + 1467 cat ans.txt + 1468 [[ 123 > 99 ]] echo $? + 1469 [[123>99]] echo $? + 1470 echo $((123*123)) + 1471 a=200; b=300 + 1472 echo $((a+b)) + 1473 if ((a>b)) then echo "a is big" fi + 1474 if ((a>b)) then echo "a is big"; fi + 1475 if ((a>b)); then echo "a is big"; fi + 1476 a=200;b=300; + 1477 if ((a>b)); then echo "a is big"; fi + 1478 echo {A,B,C}.js + 1479 touch {a..z}.cpp + 1480 ls + 1481 rm {a..z}.cpp + 1482 ls + 1483 cat 99]] + 1484 ls 99]] + 1485 rm 99]] + 1486 ls + 1487 rm ans.txt + 1488 rm llll + 1489 ls + 1490 touch {a..z}.cpp + 1491 ls + 1492 echo {a..z}.cpp + 1493 echo touch {a..z}.cpp + 1494 ls + 1495 touch {1..999}.c + 1496 ls + 1497 rm {1..9..2}.c + 1498 ls + 1499 rm *.c + 1500 ls + 1501 rm *.cpp + 1502 ls + 1503 echo {1..10..2} + 1504 touch {1..100}.c + 1505 ls + 1506 echo {1..100..2}.c + 1507 rm {1..100..2}.c + 1508 ls + 1509 rm {2..100..2}.c + 1510 ls + 1511 a=a.out + 1512 echo $a + 1513 echo ${a:1:2} + 1514 echo ${a:1:3} + 1515 echo ${a:-3:3} + 1516 echo ${a:-2:3} + 1517 echo $(a%out) + 1518 echo $(a %out) + 1519 echo $a + 1520 echo #{a%out} + 1521 echo ${a%out} + 1522 echo ${a#out} + 1523 echo ${a#a} + 1524 a=abcd_efg_abcd_efg + 1525 echo $a + 1526 echo ${a/abcd/ABCD} + 1527 echo ${a/ABCD/abcd} + 1528 echo ${a//abcd/ABCD} + 1529 echo ${#a} + 1530 ls + 1531 for i in {1..100}; do touch hi${i}.c; done + 1532 ls + 1533 history + 1534 history > hist.txt