linux指令下达的方式如下:
语系的支持:
显示日期与时间date:
显示日历cal:
cal指令的语法为: cal [month] [year]
计算器bc:
命令补全和文件名补全tab:
连续按下2次tab键可进行命令补全或文件补全,如果tab接在第一个字后面,它是命令补全,如果接在第二个字以后,它是文件补全。
中断前端进程:ctrl+c
键盘输入结束:ctrl+d,也表示logout,exit.
帮助手册 man:
命令后数字的含义:
man指令内容:
man可使用的快捷键:
man -f(等价于whatis -r)查找命令描述: eg: man -f smail
Lookup the manual pages referenced by smail and print out the short descriptions of any found. Equivalent to whatis -r smail.
man -k(等价于apropos -r)命令作为关键字查找相关文件: eg: man -k printf
Search the short descriptions and manual page names for the keyword printf as regular expression. Print out any matches. Equivalent to apropos -r printf.
info page:
数据同步写入硬盘:sync(关机前最好执行一下,避免数据丢失)
关机:shutdown,halt,reboot,poweroff