Linux tricks

Environment Settings

Path

Globally set path is in /etc/profile; or the user's .bash_profile for particular user

Adding a Directory to the path

Setting Your Path Variable

Loadable Kernel Modules

lsmod shows loaded loadable kernel modules

rmmod removes a module from kernel

modprobe adds or removes a module from the kernel

Services

stop and start kde service

service kdm stop
service kdm start

 

posted @ 2016-07-01 06:58  quanben  阅读(131)  评论(0编辑  收藏  举报