Linux常用的有3中进入终端界面方法,分别如下:
创新互联是一家集网站建设,西安企业网站建设,西安品牌网站建设,网站定制,西安网站建设报价,网络营销,网络优化,西安网站推广为一体的创新建站企业,帮助传统企业提升企业形象加强企业竞争力。可充分满足这一群体相比中小企业更为丰富、高端、多元的互联网需求。同时我们时刻保持专业、时尚、前沿,时刻以成就客户成长自我,坚持不断学习、思考、沉淀、净化自己,让我们为更多的企业打造出实用型网站。
1、按快捷键“Ctrl+Alt+T”即可打开终端窗口
2、或者按“Ctrl+Alt+F1-F6”均可进入指渣终端(模拟终端,不唯型悄显示桌面)
3、直接搜索“终端”并进入
注意事项:
如果采用方法2的F1-F6的方法,返回图形界面只要租颤按“Ctrl+Alt+F7即可”。
1、#ip link set canX down //关闭can设备;
2、#ip link set canX up //开启can设备;
3、#ip -details link show canX //显示can设备详细信息;
4、#candump canX //接收can总线发来的数据;
5、#ifconfig canX down //关闭can设备,以便配置;
6、#ip link set canX up type can bitrate 250000 //设置can波特率
7、#conconfig canX bitrate + 波特率;
8、#canconfig canX start //启动can设备;
9、#canconfig canX ctrlmode loopback on //芦好庆回环测试;
10、#canconfig canX restart // 重启can设备;
11、#canconfig canX stop //停止can设备;
12、#canecho canX //查看can设备总陪握线状态;
13、#cansend canX --identifier=ID+数据 //发送数据;
14、#candump canX --filter=ID:mask//使用滤波器接袜信收ID匹配的数据
shutdown
功能说明:系统关机吵咐命令
语法:shutdown [-t sec] [-arkhncfFHP] time [warning-message]
包名称:SysVinit
相关命令:halt,reboot
补充说明:本命令可以关闭所有的程序,并依用户的需要,进行重新逗颂开机或关机的操作。Shutdown命令可以指定系统在特定时间关机,但仅限于当日山碰郑。若需指定在特定日期关机,则需搭配at命令执行。
参数:
-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)立即关闭系统:
# shutdown -h now
2)执定在21:10将系统重新开机:
# shutdown -r 21:10
3)指定10分钟后关机,并发送警告信息:
# shutdown +10 “conputer will shut down”
4)取消关机:
# shutdown -c