MicrolearnENPTES

Variables and environment

Lesson 19 of 20 · Term.Micro

city=Recife creates a variable, with no spaces around =. $city reads it back. The shell replaces $city with its value before running the command.

Check yourself

Which line correctly creates a variable?

Do it in the browser: a real the Linux terminal tool, a short mission and instant feedback. No install.

Start this lesson — free
← ProcessesYour first shell script →

All lessons · Term.Micro