linux入命令基础
2016-02-23 19:46
661 查看
查看系统版本:
查看进程:
杀掉进程:
强制杀掉:
命令补全
命令反向查找:
附:
cat /proc/version lsb_release -a uname -a
查看进程:
ps ps aux |grep #查询字符串
杀掉进程:
kill #标号
强制杀掉:
kill -s 9 #标号(进程说明见附件)
命令补全
history|grep xxx
命令反向查找:
ctrl+R 输入历史命令的部分内容
附:
附录:各种信号及其用途 Signal Description Signal number on Linux x86[1] SIGABRT Process aborted 6 SIGALRM Signal raised by alarm 14 SIGBUS Bus error: "access to undefined portion of memory object" 7 SIGCHLD Child process terminated, stopped (or continued*) 17 SIGCONT Continue if stopped 18 SIGFPE Floating point exception: "erroneous arithmetic operation" 8 SIGHUP Hangup 1 SIGILL Illegal instruction 4 SIGINT Interrupt 2 SIGKILL Kill (terminate immediately) 9 SIGPIPE Write to pipe with no one reading 13 SIGQUIT Quit and dump core 3 SIGSEGV Segmentation violation 11 SIGSTOP Stop executing temporarily 19 SIGTERM Termination (request to terminate) 15 SIGTSTP Terminal stop signal 20 SIGTTIN Background process attempting to read from tty ("in") 21 SIGTTOU Background process attempting to write to tty ("out") 22 SIGUSR1 User-defined 1 10 SIGUSR2 User-defined 2 12 SIGPOLL Pollable event 29 SIGPROF Profiling timer expired 27 SIGSYS Bad syscall 31 SIGTRAP Trace/breakpoint trap 5 SIGURG Urgent data available on socket 23 SIGVTALRM Signal raised by timer counting virtual time: "virtual timer expired" 26 SIGXCPU CPU time limit exceeded 24 SIGXFSZ File size limit exceeded 25
相关文章推荐
- NFS 下载失败
- linux下logrotate 配置和理解
- Linux系统运行级别
- Linux下区分物理CPU、逻辑CPU和CPU核数
- Java开发者必会的Linux命令
- Ubuntu配置静态IP
- Linux下安装maven
- linux 查找文件内容及文件
- CentOS7系统常用命令
- Centos 挂载NTFS格式的USB硬盘
- Linux内核分析:实验一
- linux查看系统硬件命令大全
- RedhatEnterpriseLinux7安装系统过程的日志
- linux用户登录就发微信提醒
- (菜鸟玩linux)终端命令行离线和在线中英互译的办法
- Linux下阅读源代码:(g)vim+Taglist+ctags
- Centos7 vncserver安装
- Linux开发cocos2dx程序环境搭建
- Linux环境下的进程控制
- linux常用命令3.1--文件搜索命令之find和其他文件搜索命令