How to check if the previous command was run successfully?


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

Post New Answer

More Shell Script Interview Questions

How do you rename the files(*.sh) with file names containing space in it?for example "interview question.sh" needs to rename to "interview-question.sh". Appreciate your inputs.Thanks.

5 Answers   Wells Fargo,


How to handle the delimiter unit seperator in Unix

2 Answers  


Is shell scripting a language?

0 Answers  


Create a bash shell script that reads in a number from the user. If the number is 1, print out the date. If the number is 2, list the files in the current directory. If the number is 3, print out who is currently logged onto the system. If the number is anything else, print out an error message and exit. Name this script "various.sh"

4 Answers  


If one dont know how to create a script then how he/she can use the QTP?

1 Answers  






how to read systems current date and time

4 Answers  


How can the contents of a file inside jar be read without extracting in a shell script?

0 Answers  


When you login to a c shell, which script would be run first?

2 Answers  


How will you emulate wc –l using awk?

0 Answers  


What is .sh file in mac?

0 Answers  


Why is a script important?

0 Answers  


What are the two files of crontab command?

0 Answers  


Categories