创建文件: touch a.txt (chmod 777 log.txt)
创建文件夹: mkdir NewFolder
删除文件: rm a.txt
删除文件夹: rmdir NewFolder
创建文件夹: mkdir NewFolder
删除文件: rm a.txt
删除文件夹: rmdir NewFolder
Apache2重启:
sudo /etc/init.d/apache2 restart
zip压缩文件解压到某个目录下:
unzip -d /var/www/html/usr/plugins youpaiyun.zip
crontab启动:/etc/init.d/cron start ( service cron start )
crontab重启: /etc/init.d/cron restart (service cron restart )
crontab关闭: /etc/init.d/cron stop ( service cron stop )