Linux常用的有3中進(jìn)入終端界面方法,分別如下:
創(chuàng)新互聯(lián)是一家集網(wǎng)站建設(shè),西安企業(yè)網(wǎng)站建設(shè),西安品牌網(wǎng)站建設(shè),網(wǎng)站定制,西安網(wǎng)站建設(shè)報(bào)價(jià),網(wǎng)絡(luò)營銷,網(wǎng)絡(luò)優(yōu)化,西安網(wǎng)站推廣為一體的創(chuàng)新建站企業(yè),幫助傳統(tǒng)企業(yè)提升企業(yè)形象加強(qiáng)企業(yè)競爭力??沙浞譂M足這一群體相比中小企業(yè)更為豐富、高端、多元的互聯(lián)網(wǎng)需求。同時(shí)我們時(shí)刻保持專業(yè)、時(shí)尚、前沿,時(shí)刻以成就客戶成長自我,堅(jiān)持不斷學(xué)習(xí)、思考、沉淀、凈化自己,讓我們?yōu)楦嗟钠髽I(yè)打造出實(shí)用型網(wǎng)站。
1、按快捷鍵“Ctrl+Alt+T”即可打開終端窗口
2、或者按“Ctrl+Alt+F1-F6”均可進(jìn)入指渣終端(模擬終端,不唯型悄顯示桌面)
3、直接搜索“終端”并進(jìn)入
注意事項(xiàng):
如果采用方法2的F1-F6的方法,返回圖形界面只要租顫按“Ctrl+Alt+F7即可”。
1、#ip link set canX down //關(guān)閉can設(shè)備;
2、#ip link set canX up //開啟can設(shè)備;
3、#ip -details link show canX //顯示can設(shè)備詳細(xì)信息;
4、#candump canX //接收can總線發(fā)來的數(shù)據(jù);
5、#ifconfig canX down //關(guān)閉can設(shè)備,以便配置;
6、#ip link set canX up type can bitrate 250000 //設(shè)置can波特率
7、#conconfig canX bitrate + 波特率;
8、#canconfig canX start //啟動(dòng)can設(shè)備;
9、#canconfig canX ctrlmode loopback on //蘆好慶回環(huán)測試;
10、#canconfig canX restart // 重啟can設(shè)備;
11、#canconfig canX stop //停止can設(shè)備;
12、#canecho canX //查看can設(shè)備總陪握線狀態(tài);
13、#cansend canX --identifier=ID+數(shù)據(jù) //發(fā)送數(shù)據(jù);
14、#candump canX --filter=ID:mask//使用濾波器接襪信收ID匹配的數(shù)據(jù)
shutdown
功能說明:系統(tǒng)關(guān)機(jī)吵咐命令
語法:shutdown [-t sec] [-arkhncfFHP] time [warning-message]
包名稱:SysVinit
相關(guān)命令:halt,reboot
補(bǔ)充說明:本命令可以關(guān)閉所有的程序,并依用戶的需要,進(jìn)行重新逗頌開機(jī)或關(guān)機(jī)的操作。Shutdown命令可以指定系統(tǒng)在特定時(shí)間關(guān)機(jī),但僅限于當(dāng)日山碰鄭。若需指定在特定日期關(guān)機(jī),則需搭配at命令執(zhí)行。
參數(shù):
-a
Use /etc/shutdown.allow.
-t sec
Tell init(8) to wait sec seconds between sending processes the warning and the kill signal, before changing to another runlevel.
-k
Don't really shutdown; only send the warning messages to everybody.
-r
Reboot after shutdown.
-h
Halt or poweroff after shutdown.
-H
Halt action is to halt or drop into boot monitor on systems that support it.
-P
Halt action is to turn off the power.
-n
[DEPRECATED] Don't call init(8) to do the shutdown but do it ourself. The use of this option is discouraged, and its results are not always what you'd expect.
-f
Skip fsck on reboot.
-F
Force fsck on reboot.
-c
Cancel an already running shutdown. With this option it is of course not possible to give the time argument, but you can enter a explanatory message on the command line that will be sent to all users.
time
When to shutdown.
warning-message
Message to send to all users.
范例:
1)立即關(guān)閉系統(tǒng):
# shutdown -h now
2)執(zhí)定在21:10將系統(tǒng)重新開機(jī):
# shutdown -r 21:10
3)指定10分鐘后關(guān)機(jī),并發(fā)送警告信息:
# shutdown +10 “conputer will shut down”
4)取消關(guān)機(jī):
# shutdown -c