您的位置:首页 > 运维架构 > Linux

linux command --- terminal common commands

2015-12-30 01:39 429 查看
switch to root : sudo su / su root

[b]switch to users : su god(user name)[/b]

set root password : sudo passwd root

check out kernel version : uname -r

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

check the current path: pwd

check thread: top

check process: ps

kill process: kill <process number>

check network information: ifconfig

request URL: curl

output the last part of files: tail -f

print the value of environment: echo $PATH

list all installed software: dpkg -l

[b]config network: ifconfig[/b]

display or manipulate a disk partition table[b]: fdisk[/b]

[b]check mount status: df[/b]

[b]open terminal: ctrl+alt+t[/b]

[b]close terminal: ctrl+d[/b]

[b]exit current thread: ctrl+c[/b]

copy: ctrl+insert

[b]paste: shift+insert[/b]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: