Prev Next

Tools / Shell Scripting Interview Questions

What is a Shell Variable?

− A shell variable is a special variable that is set by the shell and is required by the shell in order to function correctly. Some of these variables are environment variables whereas others are local variables.

#!/bin/sh

NAME="Javapedia.net"
unset NAME
echo $NAME

More Related questions...

Show more question and Answers...


Comments & Discussions