wget命令详解_Linux命令详解(一)

Linux命令详解(一)

今日详解

b47ce7d87b963b5ac8c2d0da846bb880.png

3b3bb7b91d17a593487ad41c871bb4e2.gif

locate

▶locate 命令可以快速的定位文件,特别是在用户完全不知道文件放在哪里的时候,locate命令是个不错的选择,如下:

[WWW@log01 ~]$ locate *exe/usr/bin/gzexe/usr/lib64/python2.6/distutils/command/wininst-6.0.exe/usr/lib64/python2.6/distutils/command/wininst-7.1.exe/usr/lib64/python2.6/distutils/command/wininst-8.0.exe/usr/lib64/python2.6/distutils/command/wininst-9.0-amd64.exe/usr/lib64/python2.6/distutils/command/wininst-9.0.exe/xcatpost/upflagx64.exe/xcatpost/upflagx86.exe

who

▶who命令可以查看当前系统中有哪些人登陆,以及他们都工作在哪个控制台上,如下:

[WWW@log01 ~]$ who... pts/37 2019-05-06 10:27 (10.0.88.12)...

uname

▶uname命令用于显示当前系统的版本信息,如下:

[WWW@log01 ~]$ unameLinux

▶-a 选项的uname命令可以显示当前操作系统的所有有用信息,如下:

[WWW@log01 ~]$ uname -aLinux log01 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

▶大部分时候,只需要知道内核信息,此时可以使用-r选项,如下:

[WWW@log01 ~]$ uname -r2.6.32-220.el6.x86_64

pwd

▶pwd命令会显示当前所在的位置,即工作目录,如下:

[WWW@log01 ~]$ pwd/nu/u/home/WWW

man

▶man命令可以方便的获取某个命令的帮助信息,如下:

[WWW@log01 ~]$ man pwdPWD(1)                           User Commands                          PWD(1)NAME       pwd - print name of current/working directorySYNOPSIS       pwd [OPTION]...DESCRIPTION       Print the full filename of the current working directory.       -L, --logical              use PWD from environment, even if it contains symlinks       -P, --physical              avoid all symlinks       --help display this help and exit       --version              output version information and exit       NOTE:  your  shell  may  have  its  own  version  of pwd, which usually supersedes the version       described here.  Please refer to your shell’s documentation for details about the  options  it       supports.AUTHOR       Written by Jim Meyering.REPORTING BUGS       Report pwd bugs to bug-coreutils@gnu.org       GNU coreutils home page: <http://www.gnu.org/software/coreutils/>       General help using GNU software: <http://www.gnu.org/gethelp/>:

3b3bb7b91d17a593487ad41c871bb4e2.gif

下期预告:

cat | mkdir | watch | * | wget

周三、周六更新

道阻且长  不忘初心

守卫蓝天  同舟共济

b524f43126dfe25ee5236ca8fcab1764.png
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值