``命令符号 与 $()符号
结论:``命令符号 == $()
程序:
#!/bin/bash
echo `pwd`
echo -e "\n"
echo "$(pwd)"
运行结果:
/mnt/hgfs/1725/shell
/mnt/hgfs/1725/shell
结论:``命令符号 == $()
程序:
#!/bin/bash
echo `pwd`
echo -e "\n"
echo "$(pwd)"
运行结果:
/mnt/hgfs/1725/shell
/mnt/hgfs/1725/shell