Linux Commands

 ------------------------------------------------------------------------------------------------------------------------------------------------

卸载腾讯云云服务器安全监控组件

step1: /usr/local/qcloud/YunJing/YDDelCrontab.sh

step2: /usr/local/qcloud/YunJing/uninst.sh

step3:  /usr/local/qcloud/stargate/admin/delcrontab.sh

step4:  /usr/local/qcloud/stargate/admin/uninstall.sh

step5: /usr/local/qcloud/monitor/barad/admin/uninstall.sh

 ------------------------------------------------------------------------------------------------------------------------------------------------

hostnamectl  系统信息

--------------------------------------------------------------------------------------------------------------------------------------------------

~ 家目录符号  cd ~

----------------------------------------------------------------------------------------------------------------------------------------------------

putty无密码登录CentOS https://www.tecmint.com/ssh-passwordless-login-with-putty/

------------------------------------------------------------------------------------------------------------------------------------------------------

systemctl enable sshd

systemctl disable sshd

systemctl start sshd

systemctl stop sshd

system stop smb --samba

journal xx

------------------------------------------------------------------------------------------------------------------------------------------------------

su - root  # 切换到root

sudo reboot # 使用root用户执行
------------------------------------------------------------------------------------------------------------------------------------------------------

Step1: sudo cp xxx xxx  

Error: UserName is not in the sudoers file. This incident will be reported.

Resolve: https://www.unixtutorial.org/how-to-use-visudo

------------------------------------------------------------------------------------------------------------------------------------------------------

Linux 100

原文地址:https://www.cnblogs.com/chinaniit/p/12323689.html