lunix常用命令

重启和关闭mysql

servicemysqlstop/restart/start

servicemysqldstop/restart/start

启动和关闭ftp

/etc/rc.d/init.d/vsftpdstart或者/etc/rc.d/init.d/vsftpdrestart

ftp:ftp.hoolai.com

serviceiptablesstatus

serviceiptablesstop

iptables-l-n

mysql-h192.168.1.1-uroot-proot

usedatabases;

showtables;

rm-fr*

mv*/usr/local/services/jboss-5.1.0.GA/server/default/deploy/test.ear

jar-xvfgame.war

repairtable`app`.`performance_assessment_point`;

ps-ef|grepjboss|grep-vgrep|cut-c9-15|xargskill-9

cd/var/lib/mysql

chmodu+xers

catalinastartup(shutdown/debug(run))

ping

telnet

windows查找8080端口

netstat-ano|findstr"8080"

1、**--help**--?man**chmod644sneakers.txt

2、ls-lls-mls-R(ls-tree)cd/

3、touchcp(-r)

4、vi(a=iddoO)more(cattacheadtail)

5、find/-namea.*whereis

6、echo$PATHlm(-s)a.txt4

7、useraddpasswduserdelgroupaddgroupdel用户suroot

8、chmod755chmod+x...chowntext.txt4

7、checkoutinittab

8、gziptarmv改名字exportrpm-qa(-e|-ivh)

9、wget网址rc.loc

apache+tomcat(合并),负载均衡

tail-fcatalina.out

相关推荐