From the course: Learning Linux Shell Scripting

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Display a variable

Challenge: Display a variable - Linux Tutorial

From the course: Learning Linux Shell Scripting

Start my 1-month free trial

Challenge: Display a variable

- [Narrator] Let's put what we've learned to use with a challenge. Create a script named env.sh. Have it display a sentence which includes the computer's name, the user's name, and the user's home directory. Give yourself about five minutes to complete this challenge.

Contents