Linux
umbraclet16
这个作者很懒,什么都没留下…
展开
-
Shell命令行小Tips
原文地址:Shell命令行小Tips 作者:大鬼不动 寻找未知的超级用户账号: #grep :x:0: /etc/passwd root:x:0:0:root:/root:/bin/bash 检查命令历史记录文件链接: #ls -l ~/.bash_history lrwxrwxrwx 1 xx xx 0 Oct 00 00:00 /home/xx/.bash_history转载 2017-04-28 15:10:46 · 210 阅读 · 0 评论 -
linux basename命令学习
basename 命令 首先使用 --help 参数查看一下。basename命令参数很少,很容易掌握。 $ basename --help 用法示例: $ basename /usr/bin/sort 输出"sort"。 $ basename ./include/stdio.h .h 输出"stdio"转载 2017-04-28 15:12:50 · 253 阅读 · 0 评论