grep -nr 'archermind' -r, --recursive Read all files under each directory, recursively, following symbolic links only if they are on the command line. This is equivalent to the -d recurse option. -n, --line-number Prefix each line of output with the
Linux文件类型 文件作为Linux操作系统中最常见的对象,在系统中被分为了多种类型 如下: - 普通文件 d 目录 l 链接 b 块设备 c 字符设备 p 管道设备 s 套接字文件 Linux目录结构 绝对路径及相对路径 绝对路径:一切从根开始”/” 相对路径:从当前所在路径开始 LINUX普通文件及目录核心命令 ls pwd cd tree mkdir touch cp mv rm ls命令 ls 查看当前目录下的内容 ls 常用选项: -a 显示指定目录下所有子目录与文件,包括隐藏文件