[root@localhost ~]# ls -al ~/.bash [Tab][Tab] //显示所有以.bash开头的文件名
.bash_history .bash_logout .bash_profile .bashrc
[root@localhost ~]# ca [Tab][Tab] //显示所有以ca 开头的指令
cacertdir_rehash callback callgrind_control cancel.cups capiinfo card catchsegv
cadaver caller cameratopam capifax capiinit case
cal callgrind_annotate cancel capifaxrcvd captoinfo cat
[Tab]接在一串指令的第一个字的后面,则为命令补全。
[Tab]接在一串指令的第二个字的后面,则为档案补齐。
[Ctrl]-c按键:
即Ctrl+c按键,是组合按键。它可以直接中断当前程序。
[Ctrl]-d按键
即Ctrl+d按键,也是组合按键。它表示“键盘输入结束”的意思,相当于exit的输入。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/25281640/viewspace-704533/ ,如需转载,请注明出处,否则将追究法律责任。