即时通信工具使用
wget -r http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz | gunzip GeoLiteCity.dat.gz && mv GeoLiteCity.dat /home/work/wp-content/plugins/shabatkeeper/GeoLiteCity.dat
我想在GeoLiteCity.dat.gz被解压和移动后将其删除。
发布于 2015-01-04 15:00:34
只需将命令放在括号中,然后用分号分隔每个命令:
(wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz; gunzip GeoLiteCity.dat.gz; mv GeoLiteCity.dat /home/work/wp-content/plugins/shabatkeeper/GeoLiteCity.dat; rm GeoLiteCity.dat.gz)https://stackoverflow.com/questions/27763193
复制相似问题