快捷键集合:
[Ctrl]+[Alt]+[F1]~[F6]:命令行登入tty1~tty6终端
[Ctrl]+[Alt]+[F7] or [F8]:图形界面桌面
[Ctrl]+[Alt]+[Backspace]:切换用户(登出当前用户)
[Tab]:命令补齐,文件补齐
[Ctrl]+C:终止进程
[Ctrl]+d:结束键盘输入,有时相当于exit命令
命令集合:
date:显示日期命令
cal:显示日历命令
bc:计数器命令
man:在线帮助命令
info:在线帮助命令
sync:数据同步写入磁盘命令
shutdown:关机命令
reboot:机器重启命令
halt:关机命令
poweroff:关闭电源命令
chown:更改文件拥有者命令
chgrp:改变文件所属用户组命令
chmod:改变文件的属性,SUID等特性命令
su:变换用户身份命令
cd:切换目录
pwd:显示当前所在的目录
mkdir:建立新目录
rmdir:删除"空"目录
echo $PATH:显示环境变量PATH
ls:查看文件和目录
cp:复制文件或目录
rm:删除文件或目录
mv:移动文件与目录,或重命名
basename:获取路径的文件名
dirname:获取路径的目录名
cat(concatenate):display content of the specific file
tac:display content of the specific file,but with the different way.