What prompted the making of Bash in the first place?
什么原因促使您把Bash摆在首位?
The hyphen in -bash indicates that the shell instance is a login shell.
bash中的连字符说明shell实例是一个登录 shell。
Their 27-year-old daughter, Shweta, had a big wedding bash in Bangkok in July.
他们27岁千金施薇塔的盛大婚礼则是今年7月在曼谷举行的。
If a kid idolizes you to the point of annoying the crap out of you, bash in his brains before he can become a super villain.
如果孩子盲目崇拜你,让你烦的无法忍受,就要打他脑袋,以防他变成超级大坏蛋。
Then it emerged that Mr Salmond wants Bannockburn to host a really big bash in 2014 to celebrate the 700th anniversary of the battle.
而萨蒙德却有意让班诺克本在2014举办一场盛典,庆祝战斗胜利700周年。
Everybody knows that you can use a hammer to drive a screw or pliers to bash in a nail, but any skilled craftsperson knows that using the wrong tool for the job will eventually catch up with you.
任何人都知道,你可以使用锤子来敲打螺丝钉,或者钳子来砸钉子。但任何一个有经验的工匠都知道,错误地使用工具最终会给你带来麻烦。
I'll bash your head in if you do that again.
如果你再那么做,我就砸扁你的脑袋。
When you try to bash them, you usually end up punching yourself in the nose.
当你试图痛击他们的时候,你通常会打到自己的鼻子。
"I'll help you bash them in the media," he said.
“我会帮助你在媒体上痛击他们。”他说。
Next let's look at doing this in a Bash function.
下面让我们看一下如何在bash函数中完成同样的事情。
“I'll help you bash them in the media,” he said. “We can't be misers.”
“我会帮助你在媒体上痛击他们。”他说。“我们不能做守财奴。”
With Python, the subprocess module handles making the system call to the shell command, and puts it into a list, called in array in Bash or PHP.
对于Python,子过程模块处理对Shell命令的系统调用,并将输出发在一个列表(在Bash和PHP中称为数组)中。
These commands work in bash, but similar options exist in ZSH and other shells.
这些命令可以在bash中执行,但zsh和其他Shell也具有类似的选项。
Setting default parameters for functions in Bash are always a bit verbose, though.
不过,在Bash中设置函数的缺省参数始终有点麻烦。
Listing 11. Example of man pages in bash.
清单11. bash中的手册页示例。
This command executes the Bash shell in interactive mode, meaning that it is essentially a shell that you can interact with until you explicitly terminate it.
该命令以交互式模式执行Bashshell,表示它本质上是一个您在显式终止它之前可以一直与之交互的shell。
Why is it so unrewarding for politicians to bash the rich in America?
为什么美国政客都不愿意对富人进行打击呢?
These features are as yet poorly documented; however, they are similar to bash scripting features in syntax.
关于这些特性的文档很少;尽管如此,它们在语法上与bash脚本特性类似。
The proof is in the prompt—the prompt at bottom is the default Bash prompt, not the one defined in ~/.bash_profile.
其证据就位于提示符中,底部的提示符是缺省的Bash 提示符,而不是在 ~/.bash_profile中定义的提示符。
Inside a function or script, you can refer to the parameters using the bash special variables in Table 1.
在函数或脚本中,您可以使用表1中列出的bash特殊变量来引用参数。
Few are expected at this year’s bash, which begins in Durban on November 28th.
预计今年还有勇气在11月28号在德班举行的峰会上出席的人会更少。
If you feel so inclined you can also "wadi-bash", driving in 4x4s along dry river beds.
假如你有意,也可以在干涸的河床上驾驶越野车。
The Korn "print" command is not available in Bash; use the "echo" command instead.
Korn的“print ”命令在Bash中不能使用;而是改为使用“echo ”命令。
Save this file, and create the alerts (using simple bash scripting) in the alertdir.
保存此文件,在alertdir中创建警报(使用简单的bash脚本编程)。
In bash, the "source" command reads in bash statements from a file, and executes them as if they appeared immediately in the file the "source" command is in.
在bash中,“source ”命令从文件中读入bash语句,然后执行它们,就好象它们直接出现在“ source ”命令所在的文件中一样。
Please note that this is done in the bash shell, the default in most Linux distributions.
请注意,这是在bashshell(大多数Linux发行版的默认值)内完成的。
For instance, the installNFS script, written in bash, calls text2osd to display messages.
例如installnfs脚本,是使用bash编写的,它调用text2osd来显示消息。
Listing 13. Apropos example in bash.
清单13. bash中的apropos示例。
In bash, all Boolean expressions are enclosed in square brackets.
在bash中,所有布尔表达式都用方括号括起。
What is the most exciting piece of code (that you know of) ever written in Bash?
(您知道的)用Bash编写的最令人激动的代码是什么?
应用推荐