ubuntu12下安装eclipse+pydev +1搜索命令+kill指定进程

sudo apt-get install eclipse

下载pydev for eclipse 2.8,如果是jre6

解压。

sudo nautilus 复制相应的文件夹到/usr/share/eclipse/dropins/

对应的 features 和plugin文件夹里面

查找安装目录

find / -name eclipse -type d 2>/dec/null

ps –ef | grep mysql //查看mysql的进程
kill -9 3306 //强制杀掉进程号3306

sh killhard.sh program

#!/bin/bash

ps -ef|grep $1 |grep -v grep|cut -c 9-15|xargs kill -9

ps -ef | grep sth | awk {'print $2'} |xargs kill

原文地址:https://www.cnblogs.com/huashiyiqike/p/3559456.html