个人网站可以做淘宝客网站吗,赣州网站推广,芜湖做网站,电商有哪些推广方法网上常用的shell命令
#!/bin/bash
echo clear temp file...
sudo apt-get autoclean # 清理旧版本的软件缓存
sudo apt-get clean # 清理所有软件缓存
sudo apt-get autoremove # 删除系统不再使用的孤立软件
echo clear disk temp...
sync #…网上常用的shell命令
#!/bin/bash
echo clear temp file...
sudo apt-get autoclean # 清理旧版本的软件缓存
sudo apt-get clean # 清理所有软件缓存
sudo apt-get autoremove # 删除系统不再使用的孤立软件
echo clear disk temp...
sync #该命令将未写的系统缓冲区写到磁盘中。包含已修改的 i-node、已延迟的块 I/O 和读写映射文件
echo 3 /proc/sys/vm/drop_caches #清空缓存
echo clear log file...
find /var/log/ -mtime 20 -name *.log | xargs rm -f #找出30天之前的log文件并删除
echo /var/log/messages #清空messages文件
echo /var/log/syslog #清空syslog文件
echo clear success