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将按字母顺序列出文件。
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。
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 的文件。
For example, use ls -lrt to produce a long listing sorted from oldest to newest.
例如,使用ls -lrt生成一个按从最旧到最新排序的长列表。
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的输出被重定向到文件中,所以,在屏幕上也就没有信息显示了。
By default, if you don't specify something to list, ls lists its current directory.
默认情况下,如果不指定要列出的内容,ls就列出当前目录。
Next, you can check for the presence of the files using the ls command (see Listing 5).
接下来,使用ls命令检查文件是否存在(见清单5)。
Commands like BZR commit, BZR add, and BZR ls restrict operation to the current view.
bzrcommit、bzradd和bzrls等命令把操作范围限制在当前视图。
In Listing 16, you'll change the ls -l output to show the filename, permissions, and size.
在清单16中,您将更改ls- l的输出以显示文件名、权限和大小。
Without color, you need more information, such as that provided by a long listing using ls -l.
没有颜色,您需要更多信息,比如使用ls -l 命令的长清单所提供的信息。
By default, the ls command does not list special files, those whose names start with a dot (.).
默认情况下,ls命令不会列出特殊文件,这些文件的文件名以点号(.)开头。
Using the ls -i command, you can view the inumber next to the file name, as shown in Listing 4.
使用ls-i命令,您可以看到文件名称旁边的索引编号,如 清单 4 中所示。
The ls command: Learn more about the ls command from the Combined IBM Systems Information Center.
ls命令:从CombinedIBMSystems信息中心了解有关ls命令的更多信息。
Have a look at the various object classes in use on your system by using: $ ls -l /usr/lib/objrepos.
使用以下命令来查看一下您系统上正在使用的各种对象类:$ls -l /usr/lib/objrepos。
You can use the -i option of the ls command to display inode Numbers for file and directory entries.
您可以使用ls命令的- i选项显示文件和目录条目的inode号。
Before the installation, I used the Unix ls command to generate a list of every file on the startup drive.
开始安装之前,我用ls这个Unix命令生成了启动驱动器上所有文件的列表。
You can certainly do this visually by repeatedly running a command such as ls -l and comparing file sizes.
通过反复执行ls -l等命令并对比文件大小,肯定可以实现这个目标。
Using the ls command, I was able to verify that it did indeed contain a copy of the entire source file system.
使用ls命令,我能够确认它确实包含整个源文件系统的副本。
The type command reports that the ls command is an alias, but it identifies the set command as a shell builtin.
type命令报告指出,ls 命令是一个别名,但是它将set 命令标识为一个 shell 内置命令。
Comparing the file sizes with the ls command, you see that the backup was used to replace the current database.
通过ls命令比较文件的大小,您可以看到备份被用于替换当前的数据库。
The ls command is used to list the contents of a directory. It is probably the most commonly used Linux command.
ls命令是用来显示一个目录的内容。
What's unusual about ls IV-14 116 is the high concentration of metals heavier than calcium in those cloud layers.
关于LSIV - 14 116的特殊之处还在于它的大气圈中高度聚集着比钙更重的金属元素。
You can also specify multiple parameters to the ls command, where each name is either that of a file or directory.
您还可以为ls命令指定多个参数,其中的每个名称都可能是文件或目录的名称。
应用推荐