1.shell程序中不包括的语句结构是()
看程序写结果
echo "current directory is `pwd`"
echo "home diretory is $HOME"
echo "file *.?"
echo "derectory `$HOME`"
current directory is /root
home diretory is /root
file *.?
-bash: /root: Is a directory
derectory
文件m1.c
main()
{
printf("hello1");
}
文件m2.c
main()
{
printf"hello2";
}
文件ex6
cat $1 $2 $3 $4 $5 $6 $7 $8 | wc -l
在终端中执行 ex6 m1.c m2.c 的结果:
6