hi3 Whereas Hi3, I just created, it happens to live in this directory but my computer doesn't know that so you do dot slash which says current directory.
至于我刚刚创建的,它正好位于我电脑不知道的位置,所以你必须敲入,/,这代表当前目录。
And in a building nearby, there's actually a job directory.
在附近的一栋楼里,还有工作目录。
If I want to move into a directory and you'll see-- all of these will be walked through in the first problem set.
如果进入一个目录,你们会发现-,所有步骤都在,第一个习题集中提到过。
And "." signifies my current working directory, the folder that I am currently in.
,“表示的是我当前的工作目录,那个我当前所在的文件中。
When you type LS it just lists what's in your current folder, my current folder or my so-called home directory.
当你输入LS时,它会把你当前目录下的文件罗列出来,当前目录或者根目录。
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个或多个单词,在程序名的后面,许多的建立一个新的子目录,然后恢复平静。
Because I know this program was saved by default into my current folder, my current directory, so dot slash means run the program called a.out that's right here in my current directory not in, like, a out my applications folder or somewhere else.
程序默认保存在,当前目录下的文件夹,/意味着运行这个名为“a,out“的文件,是我当前目录下的文件,而不是应用程序文件夹或其他别的地方的。
- And that's because hello.c is something I just wrote -- it's not something I downloaded or bought and installed via double-clicking or anything like that -- because I wrote it, compiled it in my current directory, I have to be ever-so emphatic to the computer that it's actually right here.
那是因为hello,c是我所写的东西-,而不是从哪里下载或购买,并通过双击安装的程序,-因为那是我写的程序,在我当前目录下编译的,我们不得不对计算机强调,它是在这个地方的。
In parenthesis now is a tilde which is shorthand notation for My Home Directory.
在圆括号里的,代表根目录。
Dot is my current directory, slash means Hi3 is located here.
代表我当前目录,/表明hi3位于此处。
应用推荐