1.[soflib@localhost ~]$ vi yl echo $# arguments passed echo arg 1=:$1,arg 2=:$2,arg 3= :$3 [soflib@localhost ~]$ chmod +x yl [soflib@localhost ~]$ ./yl a b c 3 arguments passed arg1=:a,arg2=:b,arg3=:c 2.[soflib@localhost ~]$ vi yl2 [soflib@localhost ~]$ chomd +x yl2 bash: chomd: command not found [soflib@localhost ~]$ chmod +x yl2 [soflib@localhost ~]$ ./yl2 a b c 3arguments passed they are:a b c 3.[soflib@localhost ~]$ vi yl3 [soflib@localhost ~]$ chmod +x yl3 [soflib@localhost ~]$ ./yl3 a b c d e f g h i j k 11arguments passed they are:a,b,c,d,e,f,g,h,i,j,k 4.[soflib@localhost ~]$ vi m1.c [soflib@localhost ~]$ cat m1.c main(){ printf("Begin/n"); } [soflib@localhost ~]$ vi m2.c [soflib@localhost ~]$ cat m2.c #include<stdio.h> main(){ printf("OK!/n"); } [soflib@localhost ~]$ vi CYY [soflib@localhost ~]$ cat CYY cat $1 $2 |wc -l [soflib@localhost ~]$ chmod +x CYY [soflib@localhost ~]$ ./CYY m1.c m2.c 7 |