ITPub博客

首页 > 数据库 > Oracle > 我的高频Unix命令(逐渐补充...)

我的高频Unix命令(逐渐补充...)

原创 Oracle 作者:pan_tian 时间:2014-07-02 12:16:49 0 删除 编辑

su
切换到另一用户

whoami(or who am i)
显示当前用户

who
查看当前在线上的用户

man  
查看其它命令的用法

cp -rf src desc
目录拷贝

rm -rf src
目录删除

mkdir -m777 oralce/apps –p
创建多层目录

emacs  
启动emacs编辑器

netstat  
显示网络状态

vmstat  
显示虚拟内存状态

iostat  
显示输入/输出状态

echo  
将字符串写入到标准输出

ping

测试网络,ping不仅仅是windows下的命令,在unix和linux下也有这个命令


more

多屏文件查看


which/whereis
Basically, whereis searches for "possibly useful" files, while which only searches for executables.
I rarely use whereis. On the other hand, which is very useful, specially in scripts. which is the answer for the following question: Where does this command come from?
$  which ls
/bin/ls
$  whereis ls
ls: /bin/ls /usr/share/man/man1p/ls.1p.bz2 /usr/share/man/man1/ls.1.bz2


Use Linux Command to check directory space
du -sh


wget

wget ftp://site/pub/epd19/B53824-01_1of4.zip

wget -i download.txt

Refer:http://www.editcorp.com/Personal/Lars_Appel/wget/v1/wget_7.html


安装:configure, make, make install

Refer:http://www.codecoffee.com/tipsforlinux/articles/27.html

<!-- Baidu Button BEGIN -->

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26687597/viewspace-1203670/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: Oracle EBS密码安全
下一篇: Oracle API Availability – Profile
请登录后发表评论 登录
全部评论
暂无介绍

注册时间:2012-02-18

最新文章