报错如下: MoTTY X11 proxy: Authorisation not recognised In case you are trying to start a graphical application with "sudo", read this article in order to
1.查询当前视频输出口 [ems@LTHDB1 ~]$ for p in /sys/class/drm/*/status; do con=${p%/status}; echo -n "${con#*/card?-}:"; cat $p;done 比如查出来咱们是VGA-1 2.修改 grub 参数
查看firewalld状态: systemctl status firewalld(或者:systemctl status firewalld.service,或者:systemctl is-active firewalld)active(running):表示防火墙已经开启。 开启、重启、关闭fi
解决方法: cd vim .bash_profile #输入下面内容 # .bash_profile if [ -f ~/.bashrc ]; then . ~/.bashrc
单网卡配置 以配置eth0为例: vim /etc/network/interfaces //添加如下内容 auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.1.100
单行、多行注释 // ctrl+k 区块注释 // ctrl+q 取消单行、多行、区块注释 // ctrl+shift+k 如果没效果可以再上方工具栏选择语言
ps -ef|grep gnome-shell kill -9 [进程号] 例如 [ems@NWFZOP2 ~]$ ps -ef|grep gnome-shell ems 8188 35624 0 09:36 pts/6 00:00:00 grep --color=auto g