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

本文全面介绍了Linux系统的常用命令,包括用户管理、文件操作、网络诊断、内存管理等,涵盖了从su切换用户、whoami显示当前用户、who查看在线用户到更深入的命令如man手册查询、目录拷贝、删除、创建多层目录、使用emacs编辑器、网络状态检查等,提供了一个实用的Linux命令集锦。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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


wget

wget ftp://asacftp01.us.oracle.com/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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值