MENU

Catalog

    郑州老后台常用命令(待整理)

    April 4, 2018 • Read: 1450 • 常用命令阅读设置

        1  sudo su -
        2  screen  -ls
        3  sudo su 
        4  sudo su -
        5  sudo su
        6  sudo su 
        7  sudo su 
        8  sudo su 
        9  sudo su
       10  scp -r -i /project/conf/yisainuo-tan-mao.pem /project/tomcat7/webapps/ROOT/mobile/page/shop/bag.jsp root@172.31.15.221:/project/tomcat7/webapps/ROOT/mobile/page/shop/
       11  sudo su -
       12  sudo su 
       13  ls
       14  sudo su
       15  sudo su 
       16  sudo su
       17  sudo su 
       18  ping 172.31.15.175
       19  ping 52.77.77.225
       20  screen -ls
       21  cd /project/
       22  ls
       23  sudo su
       24  curl http://52.77.77.225/admin/Clogin.jsp
       25  ls
       26  sudo su
       27  sudo su
       28  sudo su 
       29  sudo su
       30  ls
       31  cd /project
       32  sudo su
       33  sudo su 
       34  sudo su -
       35  sudo su
       36  ls
       37  sudo su
       38  screen -ls
       39  sudo su
       40  sudo su -
       41  ls
       42  screen -ls
       43  sudo su
       44  ls
       45  cat /project/tomcat7/webapps/ROOT/WEB-INF/classes/jdbc.properties 
       46  jdbc-url=jdbc\:mysql\://ysnrdb.civxfbosrcnl.ap-southeast-1.rds.amazonaws.com\:3306/ibt_shop?useUnicode\=true&characterEncoding\=utf8
       47  user=ysn
       48  sudo su 
       49  sudo su
       50  sudo su 
       51  sudo su
       52  ls
       53  sudo su
       54  cat /project/tomcat-xa/webapps/ROOT/WEB-INF/classes/jdbc.properties 
       55  ls
       56  sudo su
       57  screen -ls
       58  sudo su
       59  ls
       60  sudo su
       61  ls
       62  sudo su 
       63  sudo su
       64  find /project/tomcat-xa/webapps/ROOT/upload/ -mmin -240
       65  find /project/tomcat7/webapps/ROOT/upload/ -mmin -240
       66  ll /project/tomcat7/webapps/ROOT/upload/images/goods/
       67  sudo su
       68  sudo su -
       69  find /project/tomcat-xa/webapps/ROOT/ueditor/jsp/upload/  -mmin -7200 
       70  sudo su
       71  sudo su -
       72  llslls
       73  sudo su
       74  sudo su /
       75  ls
       76  sudo su 
       77  ls
       78  sdf
       79  sudo su
       80  sudo su 
       81  sudo su -
       82  sudo su
       83  sudo su 
       84  sudo su
       85  sudo su
       86  sudo su 
       87  ls
       88  sudo su
       89  sudo su
       90  ls
       91  sudo su -
       92  sudo cu
       93  sudo su
       94  ls
       95  sudo su
       96  ls
       97  sudo su
       98  sudo su 
       99  ls
      100  nginx -status
      101  nginx -v
      102  sudo service nginx status
      103  sudo service nginx restart
      104  sudo service nginx status
      105  ls
      106  cd ~
      107  cd /project/
      108  ls
      109  cd tomcat7/
      110  ls
      111  cd webapps/
      112  ls
      113  cd ROOT/
      114  ls
      115  vi 1.txt
      116  ls
      117  cd .
      118  cd ..
      119  ls
      120  cd tomcat/
      121  ls
      122  cd ..
      123  ls
      124  cd tomcat/
      125  ls
      126  cd ..
      127  cd .
      128  ls
      129  cd ..
      130  ls
      131  cd /etc/nginx/
      132  ls
      133  cd conf.d/
      134  ls
      135  sudo vi default.conf 
      136  sudo service nginx restart
      137  ls
      138  sudo /usr/sbin/nginx -t
      139  sudo /usr/sbin/nginx -s reload
      140  sudo /usr/sbin/nginx -s start
      141  sudo service nginx restart
      142  sudo service nginx status
      143  cd /etc/nginx/
      144  ls
      145  cd conf.d/
      146  ls
      147  sudo vi default.conf 
      148  sudo service nginx restart
      149  cd /etc/nginx/
      150  cd /var/log/nginx/
      151  ls
      152  sudo tail -f error.log
      153  jls
      154  cd /etc/nginx/
      155  ls
      156  cd conf.d/
      157  sudo vi default.conf 
      158  sudo service nginx restart
      159  sudo systemctl status nginx.service
      160  sudo service nginx status
      161  cd /etc/nginx/
      162  ls
      163  cd conf.d/
      164  ls
      165  sudo vi default.conf 
      166  sudo /usr/sbin/nginx -t
      167  sudo /usr/sbin/nginx -s reload
      168  sudo service nginx start
      169  sudo reboot
      170  sudo service nginx restart
      171  sudo /usr/sbin/nginx -t
      172  sudo /usr/sbin/nginx -s reload
      173  cd /project/
      174  ls
      175  cd conf/
      176  ls
      177  cd ..
      178  ls
      179  cd tomcat7/
      180  ls
      181  cd conf/
      182  ls
      183  cd ..
      184  ls
      185  cd ..
      186  ls
      187  cd nginx/
      188  ls
      189  cd ..
      190  ls
      191  cd .
      192  ls
      193  cd ..
      194  ls
      195  cd /etc/nginx/
      196  ls
      197  cd conf.d/
      198  ls
      199  sudo vi default.conf 
      200  ls
      201  cd /pro
      202  cd /project/
      203  ls
      204  cd tomcat7/
      205  ls
      206  cd logs/
      207  ls
      208  cd ..
      209  ls
      210  cd bin/
      211  ls
      212  sudo sh startup.sh 
      213  cd /etc/nginx/
      214  ls
      215  cd conf.d/
      216  ls
      217  sudo vi default.conf 
      218  sudo service nginx restart
      219  sudo /usr/sbin/nginx -t
      220  sudo /usr/sbin/nginx -s reload
      221  cd .
      222  ls
      223  cd /etc/nginx/
      224  ls
      225  sudo /usr/sbin/nginx -c nginx.conf 
      226  sudo /usr/sbin/nginx -s reload
      227  sudo su
      228  sudo su -
      229  sudo su 
      230  sudo su
      231  lsls
      232  ls
      233  sudo su
      234  sudo su 
      235  sudo su
      236  sudo su
      237  cd /
      238  ls
      239  cd /project/
      240  ls
      241  scp -r -i /project/conf/yisainuo-tan-mao.pem /project/tomcat7/webapps/ROOT/mobile/page/shop/detail.jsp root@172.31.15.221:/project/tomcat7/webapps/ROOT/mobile/page/shop/
      242  scp -r -i /project/conf/yisainuo-tan-mao.pem /project/tomcat7/webapps/ROOT/mobile/page/shop/detail.jsp root@172.31.8.59:/project/tomcat7/webapps/ROOT/mobile/page/shop/
      243  sudo su
      244  llll
      245  sudo su
      246  scp -r -i /project/conf/yisainuo-tan-mao.pem /project/tomcat7/webapps/ROOT/mobile/ga-script.jsp root@172.31.15.221:/project/tomcat7/webapps/ROOT/mobile/
      247  scp -r -i /project/conf/yisainuo-tan-mao.pem /project/tomcat7/webapps/ROOT/mobile/ga-script.jsp root@172.31.8.59:/project/tomcat7/webapps/ROOT/mobile/
      248  sudo su
      249  ls
      250  sudo su
      251  lll
      252  sudo su
      253  19036954439orderNo订单编号301010'合计'0a0lll
      254  lll
      255  sudo su
      256  ls
      257  sudo su
      258  telnet
      259  sudo su
      260  sudo us
      261  sudo su
      262  sudo su 
      263  ls
      264  lll
      265  sudo su
      266  sudo su -
      267  ping google.com
      268  sudo su 
      269  lll
      270  sudo su
      271  ll
      272  ps -aux
      273  sudo su
      274  cat /etc/logrotate.conf
      275  sudo su
      276  sudo du
      277  sudo su
      278  ls
      279  cd /project/backup/db/
      280  ls
      281  ll
      282  df
      283  lll
      284  sss
      285  sudo su
      286  df -m
      287  sudo su
      288  sudo su 
      289  ls /project/tomcat7/webapps/manager/
      290  cd /project/tomcat7/webapps/manager/
      291  vi index.jsp 
      292  ls
      293  cd WEB-INF/
      294  ls
      295  ls jsp
      296  cat web.xml 
      297  df
      298  sudo su
      299  scp -r -i /project/conf/yisainuo-tan-mao.pem /project/tomcat7/webapps/ROOT/mobile/page/pay/index.jsp root@172.31.19.107:/project/tomcat7/webapps/ROOT/mobile/page/pay/
      300  sudo su
      301  sudo su -
      302  sudo su 
      303  sudo su
      304  sudo su
      305  ls
      306  ps -aux|grep scp
      307  kill -9 52740
      308  sudo su
      309  ls
      310  ./scp-web-img.sh 
      311  vi scp-web-img.sh 
      312  sudo 
      313  sudo su
      314  ./scp-web-img.sh
      315  ?./scp-web-img.sh
      316  ./scp-web-img.sh
      317  df
      318  sudo su -
      319  ls
      320  sudo su
      321  sudo su
      322  ?./scp-web-img.sh
      323  ./scp-web-img.sh
      324  df
      325  sudo su
      326  df
      327  ps
      328  ?./scp-web-img.sh
      329  ./scp-web-img.sh
      330  sudo su
      331  sudo su
      332  ?./scp-web-img.sh
      333  ./scp-web-img.sh
      334  top
      335  df -h
      336  lsblk
      337  df -h
      338  file -s 
      339  sudo file -s /dev/xvd*
      340  dh -f
      341  df -h
      342  sudo yum install xfsprogs
      343  lsblk
      344  df -h
      345  sudo xfs_growfs -d /
      346  df -h
      347  lsblk
      348  df
      349  du -h 
      350  sudo su
      351  df -m
      352  cd /project/baktomcat/
      353  ls
      354  cd logs/
      355  ll
      356  df
      357  rm -r catalina.out 
      358  sudo su
      359  ?./scp-web-img.sh
      360  ./scp-web-img.sh
      361  df
      362  nc
      363  sudo su
      364  ls
      365  sudo mv ysn-centos-admin2.pem  /project/conf/
      366  sudo su
      367  lll
      368  ll
      369  ?./scp-web-img.sh
      370  ./scp-web-img.sh
      371  ./SCP-WEB-IMG-SH
      372  ./scp-web-img.sh
      373  sudo su
      374  sudo su 
      375  df
      376  ll /project/backup/
      377  ll /project/backup/db
      378  ll /project/backup/
      379  sudo su
      380  netstat -na | grep ESTAB | grep 80 | wc -l
      381  ll
      382  sudo su
      383  sudo su
      384  ls
      385  sudo su
      386  ls
      387  cd /project/
      388  sudo su
      389  free
      390  ls
      391  cd /
      392  ls
      393  sudo su
      394  sudo 
      395  sudo su
      396  date
      397  ls
      398  sudo su
      399  ls
      400  screen -ls
      401  sudo su
      402  df
      403  ls
      404  df
      405  sudo su
      406  lsls
      407  lsls
      408  ls
      409  ll
      410  ;;;;
      411  ping 54.65.63.119
      412  curl http://54.65.63.119/mobile/page/shop/detail?gid=890
      413  sudo su
      414  ls
      415  lll
      416  ll
      417  lll
      418  df
      419  llllllllklllllll
      420  ll
      421  lll
      422  lll
      423  ll
      424  lllll
      425  llllll
      426  screen -ls
      427  sudo su
      428  ccurllll
      429  lll
      430  curl http://54.65.63.119:8080/manager/html
      431  curl http://54.65.63.119:8080/mobile/page/shop/detail?gid=curl 
      432  ls
      433  df
      434  screen -ls
      435  sudo su
      436  lllll
      437  lll
      438  ll
      439  llll
      440  ll
      441  sudo su
      442  sudo  su
      443  lll
      444  sudo su
      445  lL\
      446  sudo su
      447  sudo su 
      448  ls
      449  lll
      450  sudo su
      451  ls
      452  lll
      453  sudo su
      454  llll
      455  sudo su
      456  ls
      457  sudo su
      458  www.channeladvisor.cn
      459  sudo do 
      460  sudo su
      461  scp -r -i /project/conf/yisainuo-tan-mao.pem /project/tomcat7/webapps/ROOT/mobile/page/query root@172.31.19.107:/project/tomcat7/webapps/ROOT/mobile/page/
      462  sudo su
      463  date
      464  sudo su
      465  ll
      466  sudo su
      467  lll
      468  sudo 
      469  sudo su
      470  ll
      471  sudo su
      472  ll
      473  llllllll
      474  lll\
      475  lll
      476  sudo su 
      477  sudo su
      478  ping www.myibit.net
      479  traceroute www.myibit.net
      480  sudo su
      481  cd /project/tomcat7/webapps/ROOT/upload
      482  ls
      483  cd ..
      484  ls
      485  zip
      486  ls
      487  zip -r upload.zip upload
      488  ls
      489  du -h upload.zip 
      490  zip -r ueditor.zip ueditor
      491  ls
      492  pip
      493  sudo su
      494  sudo su 
      495  sudos u
      496  sudo su
      497  ll
      498  sudo su
      499  lll
      500  wget http://us03.dwcheck.cn/Js/lockview.js?uid=LK5348222
      501  ls
      502  cat lockview.js\?uid\=LK5348222 
      503  dq:
      504  sudo su
      505  sudo su -
      506  sudo su
      507  lll
      508  sudo su
      509  ll
      510  screen -S mysql
      511  screen -ls
      512  sudo su
      513  screen -r 22510
      514  sudo su
      515  ll
      516  screen -r 22510
      517  sudo su
      518  ll
      519  lllllll
      520  ll
      521  ;;lll
      522  lll
      523  sudo su 
      524  sudo su
      525  sudo su 
      526  sudo su
      527  sudo su 
      528  sudo su
      529  sudo su
      530  ll
      531  date
      532  df
      533  ls
      534  sudo su
      535  ll
      536  sudo su
      537  sudo su
      538  sudo du
      539  sudo su
      540  sudo su 
      541  sudo su
      542  ls
      543  ps -ef | grep nginx
      544  cd /nginx
      545  nginx -t
      546  /etc/ginx/nginx.conf -V
      547  vim /etc/nginx/nginx.conf
      548  ls
      549  netstat -anpo | grep "php-cgi" | wc -l
      550  sudo su
      551  sudo su 
      552  sudo su
      553  mysql -uroot -p9wp4wTRBz235HI9c -hgiikin-read.civxfbosrcnl.ap-southeast-1.rds.amazonaws.com
      554  sudo su
      555  mysql -uroot -p9wp4wTRBz235HI9c -hgiikin-read.civxfbosrcnl.ap-southeast-1.rds.amazonaws.com
      556  sudo su
      557  lllll
      558  ll
      559  ll
      560  top
      561  cd /project/
      562  ls
      563  cd /project/
      564  ls
      565  cd ba
      566  cd backup/
      567  ls
      568  cd db
      569  ls
      570  mysql -hysnrdb.civxfbosrcnl.ap-southeast-1.rds.amazonaws.com -uysn -p8MB0ZXchA9Sw
      571  sudo su
      572  jjj
      573  lll
      574  ll
      575  lllll
      576  lll
      577  sudo su
      578  ls
      579  sudo su
      580  lll
      581  sudo su
      582  sud su
      583  sudo su
      584  ll
      585  lll
      586  sudo su
      587  cat /project/tomcat7/conf/tomcat-users.xml 
      588  sudo su
      589  sudo du
      590  sudo su
      591  ping  famoustop.com
      592  sudo su
      593  ping latticeboots.top
      594  curl http://latticeboots.top
      595  sudo su
      596  time dd bs=64k count=4k if=/dev/zero of=test
      597  lua
      598  ks
      599  ls
      600  cd test
      601  ls
      602  mkdir script
      603  ls
      604  cd script
      605  ls
      606  vi vv.lua
      607  lua vv.lua 
      608  wget http://luarocks.org/releases/luarocks-2.2.1.tar.gz
      609  tar zxpf luarocks-2.2.1.tar.gz
      610  cd luarocks-2.2.1
      611  ./configure; sudo make bootstrap
      612  ls
      613  ./configure 
      614  cat README.md 
      615  ./configure 
      616  sudo su
      617  curl   -F 'name=My Ad Set'   -F 'optimization_goal=REACH'   -F 'billing_event=IMPRESSIONS'   -F 'bid_amount=2'   -F 'daily_budget=1000'   -F 'campaign_id=<CAMPAIGN_ID>'   -F 'targeting={"geo_locations":{"countries":["US"]}}'   -F 'status=PAUSED'   -F 'access_token=<ACCESS_TOKEN>'   https://graph.facebook.com/v2.11/act_<AD_ACCOUNT_ID>/adsets
      618  history
    

    兼总条贯 知至知终

    无标签