2009年3月5日星期四

Linux常用操作命令

重命名: mv file.zip newFile.zip (把file.zip重命名为newFile.zip)

压缩: zip -r file.zip File (把File目录下的所有文件压缩至file.zip)

查找文件: Find "file.zip" 当前目录下查找

Find "file.zip" / 所有目录下查找

列出文件详细信息: ls -l|grep 'file.zip'

查找进程: ps -ef|grep 'oracle'