随笔分类 - shell
摘要:[root@docker00 ~]# ssh-keygen -t rsa [root@docker00 ~]# cd .ssh/ [root@docker00 .ssh]# cp id_rsa.pub authorized_keys [root@docker00 .ssh]# chmod 600 a
阅读全文
摘要:[root@centos00 ~]$ jps 7174 Kafka 7502 Jps [root@centos00 ~]$ PIDS=$(jps -lm | grep -i 'kafka.Kafka'| awk '{print $1}') [root@centos00 ~]$ kill -9 ${P
阅读全文
摘要:[root@centos00 ~]$ ./stop-kafka.sh -bash: ./stop-kafka.sh: /bin/sh^M: bad interpreter: No such file or directory 解决: 编码集Windows(CR LF)更改为Unix(LF)
阅读全文
摘要:[root@centos00 ~]# rsync -auvzr -e "ssh " install.log 192.168.255.255:/root/ The authenticity of host '192.168.255.255 (192.168.255.255)' can't be est
阅读全文
摘要:##从服务器下载文件至本地 C:\Users\>scp -r author@192.162.125.8:/home/author/data/sample.txt C:\Users\Desktop\ ##从本地上传文件至服务器 C:\Users\>scp -r C:\Users\Desktop\sam
阅读全文
摘要:[root@centos00 ~]# ps -ef | grep nginx root 6682 1 0 18:30 ? 00:00:00 nginx: master process sbin/nginx nobody 6801 6682 0 18:46 ? 00:00:00 nginx: work
阅读全文
浙公网安备 33010602011771号