How do I debug a shell script?
Answer / Om Prakash
Debugging a shell script can be done by using print statements (echo in bash), running the script with the -x flag, or by identifying and correcting syntax errors.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is web script?
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.?
What is basename in shell script?
What is echo $shell?
What are the zombie processes?
What is the use of script interpreter in shell scripting?
What are the four fundamental components of every file system on linux?
What are the types of script?
write a shell program to check wheather a given string is pallindrome or not?
I want to read all input to the command from file1 direct all output to file2 and error to file 3, how can I achieve this?
What are the two files of crontab command?
How will you connect to a database server from linux?