linux basis --- common commands

时间:2022-05-17 14:02:33

switch to root : sudo su

switch to users : su god(user name)

set root password : sudo passwd root

check out kernel version : uname -r

generate 'config.gz' file(the compressed package of '.config') : modprobe configs

exit current thread: ctrl+c

check the current path: pwd

check thread: top

check process: ps

check network information: ifconfig