Reputation: 645
I was doing the google cloud app engine tutorial and i saw this command. (linux/git).
TUTORIALDIR=src/ewbproject-187620/php_gae_quickstart-2017-12-01-10-29
What does it do?
Upvotes: 0
Views: 56
Reputation: 361
It defines a shell environment variable that will be available during the shell session to be used as arguments for shell commands and programs. For example:
$ VAR1='test'
$ echo $VAR1
test
$
It is possible to use a environment variables inside a program, but to do that you will need to:
export VAR1
after defining the environment variable Upvotes: 0
Reputation: 241758
It assigns the value src/ewbproject-187620/php_gae_quickstart-2017-12-01-10-29
to the variable $TUTORIALDIR
.
Upvotes: 2