Ubuntu install mailutils to send email
Install mailutils: sudo apt-get update -y sudo apt-get install -y mailutils Test send email: echo "test message" ...
Install mailutils: sudo apt-get update -y sudo apt-get install -y mailutils Test send email: echo "test message" ...
WSL Ubuntu下,使用Postfix 发送邮件时提示如下错误: postdrop: warning: unable to look up public/pickup: No such file or directory 处理方式: ...
使用 ts 命令实现文本前追加日期、时间 安装工具: sudo apt install moreutils echo test | ts Feb 18 14:42:08 test echo test | ts ['%Y-%m-...
无法远程连接时,查看/etc/mysql/mysql.conf.d/mysqld.cnf 中 bind-address 127.0.0.1 注释掉即可
1. Linux Debian/Ubuntu sudo apt-get install xclip xclip /etc/passwd 或者使用通道 cat /etc/passwd | xclip -sel clip 输出内容:xcl...
curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer
当前账户没有权限执行sudo 1. 切换到root账户 $su 2. chmod +w /etc/sudoers 3. vim /etc/sudoers 在”root ALL=(ALL) ALL”下面增加一行 ...
kill main.py ps -ef | grep main.py | grep -v grep | awk ‘{print “kill -9 “$2}’ | sh
1. 导出原有crontab 定时任务 crontab -l > /tmp/c1 2.编辑临时文件,增加或者修改定时任务 grep -v AAA /tmp/c1 > /tmp/c2 echo “0 * * * * /...
1. Install the vnc4server package on Ubuntu sudo apt-get update sudo apt-get install vnc4server -y 2. Run vncserve...