标签:ar sp 文件 art log ad ef linux as
ps -ef | grep tornado_service | grep -v grep | cut -c 9-15 | xargs kill -s 9
echo 3 > /proc/sys/vm/drop_caches
du -s * | sort -nr | head
apt-get install sudo
chmod 777 /etc/sudoers
vi /etc/sudoers
zhangxl ALL=NOPASSWD: ALL
chmod 440 /etc/sudoers
发送:
scp all.tar zhangxl@10.23.36.311:/home/zhangxl/m passport
获取:
get abc.jpg
vi /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.188
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 219.141.136.10
syslog /etc/init.d/rsyslog stop
syslog /etc/init.d/rsyslog start
标签:ar sp 文件 art log ad ef linux as
原文地址:http://www.cnblogs.com/cnzhangxl/p/4041385.html