UPTO 50% OFF on All Courses | Offer Ends at Midnight | Use Coupon Code - FLAT50 During 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