分类: LINUX 参考资料:http://sns.linuxpk.com/space-566-do-blog-id-15819.html printf FORMAT [ARGUMENT]... printf OPTION [功能] 格式化并打印数据. [举例] *打印整数和字符串: $printf 'the integer is:%d\nthe string is: %s\n' 3 "test" 输入之后,输出如下: the integer is:3 the string is: t…
查看命令路径其他方法: which 命令: which [options] [--] programname [...] -a:显示所有匹配的程序文件,而非第一个: --skip-alias:略过别名: [root@RHEL-64-45 ~]# which ll alias ll='ls -l --color=auto' /bin/ls [root@RHEL-64-45 ~]# which man /usr/bin/man 别名 alias 由于复杂命令或频繁使用的命令.选项的组合,系统为嫌弃麻…