Determine the output of the following command: [ -z “” ] && echo 0 || echo 1


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Shell Script Interview Questions

What is the lifespan of a variable inside a shell script?

0 Answers  


How to use arguments in a script?

0 Answers  


What are filters explain sort with all the options available?

0 Answers  


How shell works?

1 Answers  


How to group the commands in shell scripting?

2 Answers   Polaris,






What is a command line shell?

0 Answers  


What is the first line in a shell script?

0 Answers  


What is the way to do multilevel if-else's in shell scripting?

0 Answers  


write a program to display all the files from the current directory which are created in particular month

6 Answers  


Create a bash shell script that removes all files whose names end with a "~" from your home directory and subdirectories. Name this script "cleanup.sh"

6 Answers  


What is a shell in operating system?

0 Answers  


Is cmd a shell?

0 Answers  


Categories