linux which whatis whereis 查看python命令的信息
【摘要】 ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux which whatis whereis 查看python命令的信息which 查找指令的绝对路径# which python/usr/bin/pythonstat 查看文件具体信息# stat /usr/bin/python...
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 查看简短的帮助信息
# 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()
学习资料
欢迎各位同学一起来交流学习心得^_^
【版权声明】本文为华为云社区用户原创内容,转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息, 否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)