linux which whatis whereis 查看python命令的信息

网友投稿 520 2022-05-29

ECS信息

规格:2vCPUs | 4GiB | kc1.large.2

镜像:openEuler 20.03 64bit with ARM | 公共镜像

linux which whatis whereis 查看python命令的信息

which 查找指令的绝对路径

# which python /usr/bin/python

stat 查看文件具体信息

# stat /usr/bin/python File: /usr/bin/python -> python2 Size: 7 Blocks: 0 IO Block: 4096 symbolic link Device: fd02h/64770d Inode: 2240627 Links: 1 Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2021-10-04 14:49:25.651799849 +0800 Modify: 2020-03-24 03:08:29.000000000 +0800 Change: 2020-05-18 10:35:42.132000000 +0800 Birth: 2020-05-18 10:35:42.132000000 +0800

whatis 查看简短的帮助信息

linux which whatis whereis 查看python命令的信息

# whatis python python (1) - an interpreted, interactive, object-oriented programming language

whereis 査找二进制命令、源文件和帮助文档的命令。

# whereis python python: /usr/bin/python2.7-config /usr/bin/python2.7 /usr/bin/python2.7-debug-config /usr/bin/python2.7-debug /usr/bin/python3.7 /usr/bin/python /usr/bin/python3.7m /usr/lib/python2.7 /usr/lib/python3.7 /usr/lib64/python2.7 /usr/lib64/python3.7 /usr/local/lib/python3.7 /usr/include/python2.7 /usr/include/python2.7-debug /usr/include/python3.7m /usr/share/man/man1/python.1.gz

# python Python 2.7.16 (default, Mar 23 2020, 19:07:51) [GCC 7.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> exit()

学习资料

弹性云服务器 ECS

openEuler-官网

openEuler-B站

openEuler-慕课

openEuler-文档

鲲鹏社区

欢迎各位同学一起来交流学习心得^_^

Linux openEuler

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:linux uname 查看系统基本信息
下一篇:深度学习核心技术精讲100篇(五十一)-Spark平台下基于LDA的k-means算法实现
相关文章