For example, creating alias ll 'ls -hlt' reduces a commonly used command line to just two letters-less to type and less to remember.
例如,命令aliasll'ls -hlt '将一个常用的命令行缩减为两个字母,从而使要输入和要记住的东西变得更少。
Functions are callable from the command line, too, and fill the gap between an alias and a full-blown script.
函数也可以从命令行调用,它们填补了别名与完全成熟的脚本之间的空缺。
The support for command-line arguments is key to supporting certain commands and combinations where an alias would be unable to work.
对于支持别名无法在其中工作的某些命令和组合,对命令行参数的支持非常关键。
The alias system works best where you want to set the command-line options on an individual command, although they can be used to expand a given command into a set of multiple commands, or pipes.
别名机制最适合于您希望设置单个命令的命令行选项的情况,虽然也可以使用它们来将给定的命令展开为一组命令或管道。
On single commands where you want to invoke command-line options, it is best to use the alias system.
在您希望调用命令行选项的单个命令上,最好使用别名机制。
When you type ll, it's replaced by its alias, and any remaining command-line arguments are appended.
当您输入ll时,它会被其别名替换,并且附加上剩下的命令行参数。
You can think of an alias as a nickname for a command line. Instead of typing.
您可以把别名看作是一个命令行的缩写。
An alias can abbreviate command names and command-line phrases.
别名(alias)是缩写的命令名和命令行短语。
The command alias print 'lpr -h -Pps5 \!*' replaces \!* with command-line arguments.
命令aliasprint'lpr-h -Pps5 \!
The command alias print 'lpr -h -Pps5 \!*' replaces \!* with command-line arguments.
命令aliasprint'lpr-h -Pps5 \!
应用推荐