So in general, when you're running command line programs, they can take input or arguments or parameters or switches or flags.
一般而言,当你运行命令行程序时,可以把把这些当做输入,像什么参数啊,或开关啊,或标志啊等等。
And my own belief is when you are not in command ; when you are humble before the thing; frankly, only then, is anything of any interest is going to happen in the arts.
我的信念是,只有当你失去了话语权,当你在艺术作品前谦卑时;,坦率地讲,只有这时,你的作品中,才会有奇迹发生。
So generally, if you don't get an error message in a command line environment like this, that's good.
一般来说,如果你在命令行界面,没有收到错误信息,那就是好消息。
Those, you might say, summed up in a word are what the 19 laws of nature command.
那些就是总结在,19条自然法中的法令。
Absolute or apodictic law, by contrast, is an unconditional statement of a prohibition or a command. It tends to be general and somewhat undifferentiated. You shall not murder. You shall love the lord your God.
具体了,相反的,绝对法是对一种禁令或命令的,无条件陈述,它往往都很笼统甚至是,无差别的,你不应该杀人,你应该爱你的主你的上帝。
What this does then is it paralyzes you because your motor neurons-- You send the command to your arm to stand, to lift up.
结果就是它能使你瘫痪,因为你的运动神经元,你想要举起手臂
You were not in command.
作者本身没有话语权。
You send the command to your leg to move.
你想要挪动双腿
> So is there a slash letter command for printf they could just like type you know what I mean?
>,所以这里有一个斜杠字母命令,来printf,他们可以像,【听不见的】你懂我的意思吗?
nano Well, anytime you run a program at the command line, like nano, you've almost always been putting one or more words nano hello c GCC hello c after that program's name; nano hello dot C, GCC hello dot C, and any number of MKDIR for make directory, and then peace at one or similar.
好的,任何时候在命令行中运行一个程序,就像,你几乎总是用1个或多个单词,在程序名的后面,许多的建立一个新的子目录,然后恢复平静。
So what's nice if you configure your command line environment appropriately is that things that are so-called executable, programs that you wrote like a.out happened to show up as green.
只要合理设置一下命令行环境,就可以看到,这些所谓的,执行文件,譬如a,out啊等,都会变成绿色。
It's a little more involved on a PC but it's all free, the software you can download, and Linux in similar operating systems generally come with a compiler or you run a simple command to get it.
在PC机上有点复杂,但是它是免费的,你一般下载的软件,类似Linux的操作系统等等通常都需要,一个编译器,或者你可以运行一些简单的指令来获取。
- You then run a compiler, in our case called "GCC" -- -- one of the world's most popular -- and then you can run it with some number of switches, these command line arguments as they're called that somehow influences the behavior of this program.
然后你们运行编译器,在这里我们使用叫做“GCC“的编译器-,这是全球最流行的-,然后你们可以通过一些命令来运行这个编译器,这些命令行参数可以,影响这个程序的行为。
skittles So when you compile a program called A dot out, or skittles or wherever, and you double-click that program, or our in our command line environment, run it with dot slash skittles, that program is loaded Microsoft Word into memory just like Microsoft Word or whatever would be on your own computer.
当你编译一个程序a,out,或者,或其他的,你双击那个程序,或着在我们的命令环境中,采用,/skittles来运行它,那个程序被加载到,内存中,就像,或者你电脑上的其他程序。
And you can write your source code in it but to compile something you don't run a command like GCC and then the name of the file, you instead click a button.
你们可以在上面写源代码,如果要编译的话,不用像GCC这样要输入命令,文件名,只需点击按钮就可以了。
So it turns out a really nice shortcut on most systems, oops, is to say if you have a file called hello.c and you wanna turn it into a program called hello, well, make hello just write in the command makeHello and it will do all of that for you automatically and hand you a program called hello.
就是寻找一种能在大多数系统上运行的更快捷的方式,哇!,也就是说,你有一个hello,c的文件,你想把它变成一个名为hello的程序,那么只需要敲入命令,它就会自动为你生成,一个hello程序。
And here's a little trick -- and again, we promised to point -- out little tricks of the trade -- if I know I want to execute the last command I typed that started with an m, bangm will actually figure out what that command was and redo it for me so I don't have to figure it out, or you can go back in time in a terminal window.
这里有个小技巧--此外,我们许诺指出行业中的,一些小技巧-,如果我知道我想执行我写入的上一个命令,是以m开头的,!m会明白那个命令是什么,然后为我恢复上次操作,所以我不需要明白它,或者你可以回到,那个终端窗口。
应用推荐