Listing 14. Typical ls -l output.
清单14.ls- l的典型输出。
User commands (env, ls, echo, mkdir, tty).
用户命令env、ls、echo、mkdir、tty。
By default, ls lists files alphabetically.
默认情况下,ls将按字母顺序列出文件。
Use the ls -laf output found above as examples.
可以使用ls -laF的输出作为示例查找上述内容。
Ls -r recursively lists the contents of a hierarchy.
ls- R可以递归地列出层次结构中的内容。
Note: Listing 3 displays the typical output of ls -l.
注意:清单3显示了ls- l的典型输出。
Next, performing an ls on the directory shows a list of files.
然后对这个目录执行一个ls命令,这会显示很多文件。
Listing 14 shows some sample ls -l output for you to work with.
清单14显示了要进行处理的ls- l输出示例。
LS configuration dialog can be used to enable the public access.
可以使用LS配置对话框启用公共访问。
In Listing 19 we try using find with -exec rather than ls with xargs.
在清单19中我们尝试使用带有-exec的find,而不是带有xargs的ls。
In the sequence above, the variable var is set to the two-letter string ls.
在上面的命令序列中,把变量var设置为两字母的字符串ls。
I'll bet LS IV-14 116 doesn't even care that it isn't made of real diamonds.
我打赌LSIV - 14 116甚至不在乎它有没有形成真的钻石。
That's what we did with the cgroup filesystem which is why ls /cgroup failed.
在cgroup文件系统上就采用了这种做法,这正是ls /cgroup失败的原因。
We saw that the ls command, used for listing directory contents, is an alias.
我们看到,用于列出目录内容的ls命令是一个别名。
For a long listing, use the same options as you would with ls (see listing 10).
要获得长列表,请使用与ls相同的选项(请参见清单10)。
For example: ls > this-dir sends the output from ls to a file named this-dir.
例如:ls >this-dir 将 ls的输出发送到一个名为 this-dir 的文件。
If you run a ls -al command in the users home directory, you quickly see a problem.
如果在用户主目录运行ls—al命令,您很快会看到问题。
List mode ACTS like ls: It lists the contents of source, as shown in Listing 4.
列表模式与ls相似:它列出源的内容,见清单4。
Since the output of ls was redirected to the file, no results appear on the display.
因为,ls的输出被重定向到文件中,所以,在屏幕上也就没有信息显示了。
For example, use ls -lrt to produce a long listing sorted from oldest to newest.
例如,使用ls -lrt生成一个按从最旧到最新排序的长列表。
By default, if you don't specify something to list, ls lists its current directory.
默认情况下,如果不指定要列出的内容,ls就列出当前目录。
If you run ls -lr to see the contents of the application, a few new files stand out.
如果您运行了ls -lR来查看应用程序的内容,将会显示一些新文件。
The scanning device facet values include Scanmelter 2000 (1202) and Pixel Maker LS (207).
scanning device 面值包括 Scanmelter 2000 (1202)和PixelMaker LS (207)。
Commands like BZR commit, BZR add, and BZR ls restrict operation to the current view.
bzrcommit、bzradd和bzrls等命令把操作范围限制在当前视图。
GNU ls USES a '. '(dot) character to signify a file with only an SELinux security context.
GNUls使用一个‘。’(点)来表示文件只有一个SELinux安全上下文。
Run ls -laf on your home directory to reveal more about your files, as shown in Listing 3.
在您的home目录中运行ls -laF,可以显示有关您的文件的更多信息,如清单3所示。
If you run an ls -al command on the Brian user's home directory, you can confirm this.
如果在brain用户的主目录运行ls—al命令,您可以得到确认。
Next, you can check for the presence of the files using the ls command (see Listing 5).
接下来,使用ls命令检查文件是否存在(见清单5)。
To verify that you're getting the expected results, simply use the ls -i command again.
为了验证取得了预期的结果,只需要再次使用ls- i命令。
Without color, you need more information, such as that provided by a long listing using ls -l.
没有颜色,您需要更多信息,比如使用ls -l 命令的长清单所提供的信息。
应用推荐