Flash Sale | 71% + 5% Off & 26-days Extra Lab | Use Coupon Code RDC on Checkout |

  Enroll Now

Linux Basics

87 / 87
   

Setting Environment variables

You can set the environment variables simply by assignment: MYVAR=VAL

The following list of commands:

MYV=myfile

ls $MYV

are equivalent to the single command:

ls myfile