• root 登录

sudo gedit /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
加:greeter-show-manual-login=true
设置密码:sudo passwd root

  • 右键在当前位置打开终端

sudo apt-get install nautilus-open-terminal

  • 环境变量

~/.profile可以设定本用户专有的路径,环境变量,等,它只能登入的时候执行一次
~/.bashrc也是某用户专有设定文档,可以设定路径,命令别名,每次shell script的执行都会使用它一次

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIB_DIR

 

  • 改mac
ifconfig eth0 down
ifconfig eth0 hw ether 00:0c:29:de:3f:01
ifconfig eth0 up

相关文章:

  • 2021-08-03
  • 2021-06-18
  • 2022-12-23
  • 2021-09-28
  • 2021-11-05
  • 2022-12-23
  • 2021-10-20
猜你喜欢
  • 2021-08-23
  • 2020-04-27
  • 2021-09-20
  • 2021-10-16
  • 2021-12-25
  • 2021-12-11
相关资源
相似解决方案