linuxコマンドの使用

2854 ワード

ntpdate 210.72.145.44
じかんどうき
国家授時センターのサーバーIPアドレス——210.72.145.44、
香港天文台の時刻指定サーバーのアドレスはstdtimeです.gov.hk
システム
# uname -a               #     /    /CPU  
# head -n 1 /etc/issue   #         
# cat /proc/cpuinfo      #   CPU  
# hostname               #       
# lspci -tv              #     PCI  
# lsusb -tv              #     USB  
# lsmod                  #          
# env                    #       

しげん
# free -m                #               
# df -h                  #          
# du -sh <   >        #          
# grep MemTotal /proc/meminfo   #       
# grep MemFree /proc/meminfo    #        
# uptime                 #         、   、  
# cat /proc/loadavg      #       

ディスクとパーティション
# mount | column -t      #          
# fdisk -l               #       
# swapon -s              #         
# hdparm -i /dev/hda     #       (    IDE  )
# dmesg | grep IDE       #      IDE      

ネットワーク
# ifconfig               #            
# iptables -L            #        
# route -n               #      
# netstat -lntp          #         
# netstat -antp          #            
# netstat -s             #         

プロセス
# ps -ef                 #       
# top                    #         

ユーザー
# w                      #       
# id <   >            #         
# last                   #         
# cut -d: -f1 /etc/passwd   #         
# cut -d: -f1 /etc/group    #        
# crontab -l             #            

サービス
# chkconfig --list       #         
# chkconfig --list | grep on    #            

プログラム
# rpm -qa                #           
Connected to 10.10.1.239
IXPUBテクニカルブログY:U{OtF@
220 (vsFTPd 2.0.5)
{m4`6j6s,{+z/W0User (10.10.1.239:(none)): xaftp
IXPUBテクニカルブログn 4[F-K,dmx(^8 G]
331 Please specify the password.
)d+D |7tJ#Le0Password:
IXPUBテクニカルブログ1 u k,yM,G 2 I 4 T"a
500 OOPS:cannot change directory:/home/xaftpiXPUB技術ブログ6|L 4 X^hfz,U Login failed.
r.`)Ef&x#AJN0ftp> ls
GBu.t8}/p:N0500 OOPS: child died
IXPUBテクニカルブログ9^E.bc4 o/?
Connection closed by remote host.
IXPUBテクニカルブログ%gg!iw'z6u!N?0P
 
.^O 7 l vchwMG 0この問題はおかしいと思って、配置はきっと大丈夫で、いつもヒントを与えます
500 OOPS: cannot change directory:/home/xaftp
'~u+\)z QbU0
8 n[:I;(S`1 ra[0解決方法:
M[N'e+I(]i 8 d 9 ze 0端末でコマンドを入力:
b7R0^3C ft)k P0setsebool ftpd_disable_trans 1
IXPUB技術ブログ-y)z+x.pX 8 y 5 J 6 D
service vsftpd restart
.xt3n(f Sn0
空は青々としていて,野は茫漠としていて,風が吹いて草の底に牛や羊が見える.