determine the output of the following command: echo ${new:-variable}


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

Post New Answer

More Shell Script Interview Questions

How do you print the output the same string which is typed in command line. how do you write the shell script or command for this. if i entered "Hello" in command line, it should print 'Hello', if i say "Hello Welcome", i should get the "Hello Welcome" as output.?

3 Answers   IBM, Symphony,


In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?

0 Answers  


What is a boot block?

0 Answers  


There is a record with fields namely name,roll no.,salary,grade etc.Now,write a script to create a file with multiple records have same combination of fields but with unique roll numbers.The script should work for different names in the input file.

1 Answers   Wipro,


What is the first line in a shell script?

0 Answers  






How to handle the delimiter unit seperator in Unix

2 Answers  


What is difference between bash and shell?

0 Answers  


What is the need of including script interpreter in your shell script?

2 Answers  


Why is used in shell scripting?

0 Answers  


How do I run a powershell script?

0 Answers  


Write down the syntax for all the loops in shell scripting.

0 Answers  


What is the use of a shebang line?

0 Answers  


Categories