Interview Questions on Shell Script
11. What is the use unset?
use unset $ unset PI
12. What happens if we execute ‘echo $$’; ?
Prints procees id of current shell.
13. What is the use of $0?
The filename of the current script.
14. What is the use of $#?
The number of arguments supplied to a script.
15. What is the use of $*?
Prints all arguments.