What is the output of the following program?
[ -n $HOME ]
echo $?
[ -z $HOME ]
echo $?
a) 0
1
b) 1
0
c) 0
0
d) 1
1
Submitted by: Murtazaa) 0
1
Submitted by: Murtaza
1
Submitted by: Murtaza
Read Online Linux OS Shell Job Interview Questions And Answers
Top Linux OS Shell Questions
| ☺ | cmd > abc 2>&1 will: |
| ☺ | The redirection 2> abc implies: |
| ☺ | Which of these is the correct method for appending \"foo\" in /tmp/bar file? |
| ☺ | Which one of the following is not a valid shell variable? |
| ☺ | What will be output of following command: |
Top Linux OS Categories
| ☺ | Device Drivers Interview Questions. |
| ☺ | Linux OS Management Interview Questions. |
| ☺ | Linux Makefile Interview Questions. |
| ☺ | Linux Environment Interview Questions. |
| ☺ | Linux OS Shell Interview Questions. |
