linux基础指令之一

linux指令下达的方式如下:

linux基础指令之一

linux基础指令之一


语系的支持:

linux基础指令之一


显示日期与时间date:

linux基础指令之一


显示日历cal:

linux基础指令之一

cal指令的语法为: cal [month] [year]


计算器bc:

linux基础指令之一


命令补全和文件名补全tab:

连续按下2次tab键可进行命令补全或文件补全,如果tab接在第一个字后面,它是命令补全,如果接在第二个字以后,它是文件补全。

中断前端进程:ctrl+c

键盘输入结束:ctrl+d,也表示logout,exit.


帮助手册 man:

linux基础指令之一

linux基础指令之一

linux基础指令之一

命令后数字的含义:

linux基础指令之一

man指令内容:

linux基础指令之一

man可使用的快捷键:

linux基础指令之一

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:

linux基础指令之一

linux基础指令之一

linux基础指令之一

linux基础指令之一


数据同步写入硬盘:sync(关机前最好执行一下,避免数据丢失)

关机:shutdown,halt,reboot,poweroff