Quote:
Originally Posted by complete
But I never learned what a single dot means. For example, where is the folder 'interest' in the command 'gzip -d ./interest/dino-mod.tar.gz'.
|
That means the current directory.
Quote:
Originally Posted by complete
Also, I do not know how '&&' is used. What would the following line do:
'cd ../engine && mkdir thirdparty'
It looks like two commands. So why are they on one line? Is it to make them execute at the same time? Is one command dependent on the other? Where would the directory 'thirdparty" be made?
|
It is a logical "AND". It is kind of a trick to use it this way. When performing a logical "A AND B", if A is False, there is no attempt to evaluate B.
So, if the first command, "cd ../engine", completes without an error return code (return status is 0) then the second command, "mkdir thirdparty", will be run.
Quote:
Originally Posted by complete
Where would the directory 'thirdparty" be made?
|
It would be "../engine/thirdparty".
HTH,
Evo2.