For example, while running the command ls -l, if a file inode gives the ownership as "user 501," then the naming service needs to resolve "uid 501" to the user name printed in the ls command output.
例如,在运行命令ls - l时,如果某个文件inode给出文件的所有者是“user 501”,那么命名服务就需要将“uid 501”解析成用户名,并在ls命令输出结果中输出。
For example: ls | sort does the same thing as the previous two examples without requiring a temporary file; the output from ls goes straight through the sort command.
例如:ls | sort和前面的两个示例完成相同的任务,并且无需临时文件,ls的输出直接进入sort命令。
For example: ls > this-dir sends the output from ls to a file named this-dir.
例如:ls > this-dir 将 ls 的输出发送到一个名为 this-dir 的文件。
应用推荐