Linux has a window administrator environment and a plain text interface environment, while Linux defaults to 6 terminal to allow users to log in. The crtl+alt+f1-6 can be switched freely. If the window administrator environment is running, you can cut it directly by CRTL+ALT+F7.
Common commands:
cd [dir] #进入dir目录下
LS #列出当前目录下的项
-A #显示所有文件包括隐藏文件.
-L #显示所有项的属性和修改时间等信息.
Date #显示时间
Cal [[month] year] #显示日历
BC #计算器, enter quit to exit, enter Scale=number to display number decimal places.
Man [command] #打开command的帮助界面.
info [command] #同上, but there are some differences between the format and the above.
Command--help #同上.
Nano [Text.txt] #文本编辑器, there are instructions.
StartX #在此终端开启x window.
Who #查看有谁在线.
su [user] #切换到user的账户
Sync #将内存的数据写回磁盘.
Exit #注销当前账户.
Poweroff #关机.
Reboot #重启.
Shutdown [-t sec] [-KRHC] time ' warning message ' #高级一点的关机方法.
-T sec #sec秒后关机.
-K #只发送警告信息.
-R #重启.
-H #关机.
-C #取消已经在进行的shutdown命令.
init [0-6] #切换执行等级
Three common shortcut keys.
CTRL + C #强行终止正在运行的程序.
Ctrl+d #输入文件尾.
tab #按一下是补全, press twice to display all the [command/file] names you want to enter, depending on what you enter
linux--first knowledge of Linux