linux命令集

1 移动多个文件
有a b c三个文件,一个目录d,用下面命令就能将a b c移动到d中 $ mv a b c d

2 查看文件大小
du -h --max-depth=1 路径

3 scp 记得加-r
scp not a regular file错误
传文件夹 用-r参数 否则有 not a regular file错误
scp -r bdump oraprod@192.168.0.188:bdump

4 wget 下载东西
wget 网址
例子: wget http://www.python.org/ftp/python/2.7.5/Python-2.7.5.tar.bz2

posted on 2016-01-23 11:06  一动不动的葱头  阅读(106)  评论(0编辑  收藏  举报

导航