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

What is shift command in shell script?

0 Answers  


Write a shell script to looking at the log file to see if the test has passed or not

2 Answers   TCS,


What does $$ mean in shell script?

0 Answers  


how to read systems current date and time

4 Answers  


What is the crontab?

0 Answers  






What is option in shell script?

0 Answers  


What does $# stand for?

3 Answers   IBM,


write a scwipt that a) takes exactly one argument, a directory name. b) if the number of argument is more or less than one,print a usage message c) if the argument is not adirectory, print another message d) for the given directory, print the five biggest files and the five files that were most recently modified. e) save the output to a file called q2output.

2 Answers  


How can you get the value of pi till a 100 decimal places?

0 Answers  


Hi, all Scripting professional. Q. I have written script1.sh and calling script2.sh in script1.sh file using bash shell as interpreter and my log in shell also bash shell.My code like Script1 #!/bin/bash echo "My script2 call" . script2.sh Here script2.sh file run successfully but when I have changed my interpreter bash to ksh like #!/bin/ksh Error are comming script2.sh command not found. Guid me how to call other script in our main script.

2 Answers  


Can you write a script to portray how set –x works?

0 Answers  


What is the purpose of scripting?

0 Answers  


Categories