shell学习记录002-知识点储备

时间:2023-03-09 00:20:19
shell学习记录002-知识点储备

1.echo "4*0.33" |bc    #计算机功能的运用

[root@oc3408554812 shell]# ss=22;
[root@oc3408554812 shell]# result=`echo "$no *2" |bc`
[root@oc3408554812 shell]# echo $result
88

2.  文件描述符是文件输入/文件输出相关联的整数。它们用来跟踪已经打开的文件。

stdin (标准输入)

stdout(标准输出)

stderr(标准错误)