linux基本コマンド操作(継続更新)

1738 ワード

linux基本コマンド操作
     

ps -ef|grep java                          
rz     (    )                       
nohup java -jar jar .jar      &  jar      
tail -f -n 200 nohup.out               
kill -9                                 
/etc/init.d/iptables restart                
date -R                                 

一般的な操作コマンド
cd /opt                      /opt  ,      
cd ..                              
cd /                             
ll                                    
ls                                    
mkdir XXX                       
touch XXX                      
rm -f XXX                      (      ,       ,     )-     
rm -rf XXX                     (         ,     )-     (  )
mv                              
mv                      
cp                          
vi                           
vim                          ( esc   ,  “:wq!”      )
./start.sh                   tomcat( bin     )
./shutdown.sh                tomcat( bin     )
ps -ef|grep tomcat/          tomcat       
kill                         
kill -9                        
more                                ,           
tail -n -200 -f                   
chomd  777                   
sudo su root                 root  
ifconfig                          IP  
exit                         


mysqlのインストール
wget  http://                   
yum install XXX -y            yum  XXX  (  )
service mysqld stop           mysql  
service mysqld start          mysql  
service mysqld restart          mysql  
mysql -u root -p              mysql   
ssh  IP                         
rz -be                                (    )
top                           linux