ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Scripts  >>  Shell Script
 
 


 

 
 PHP interview questions  PHP Interview Questions
 ASP interview questions  ASP Interview Questions
 CGI Perl interview questions  CGI Perl Interview Questions
 JavaScript interview questions  JavaScript Interview Questions
 VB Script interview questions  VB Script Interview Questions
 JSP interview questions  JSP Interview Questions
 Shell Script interview questions  Shell Script Interview Questions
 Python interview questions  Python Interview Questions
 Tcl interview questions  Tcl Interview Questions
 Awk interview questions  Awk Interview Questions
 AJAX interview questions  AJAX Interview Questions
 Ruby on Rails interview questions  Ruby on Rails Interview Questions
 Scripts AllOther interview questions  Scripts AllOther Interview Questions
Question
What are the three main forms of enabling debugging in a 
shell script?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are the three main forms of enabling debugging in a shell script?
Answer
# 1
set -x
 
Is This Answer Correct ?    1 Yes 0 No
Guest
 
  Re: What are the three main forms of enabling debugging in a shell script?
Answer
# 2
sh -x
 
Is This Answer Correct ?    1 Yes 0 No
Visitor
 
 
 
  Re: What are the three main forms of enabling debugging in a shell script?
Answer
# 3
set -vx
 
Is This Answer Correct ?    0 Yes 0 No
Anchal
 
  Re: What are the three main forms of enabling debugging in a shell script?
Answer
# 4
set -x
set -v
set -n
 
Is This Answer Correct ?    1 Yes 0 No
Learner
 
  Re: What are the three main forms of enabling debugging in a shell script?
Answer
# 5
set -vx
v:- verbose option(this option outputs every line of the
script onto the standard output console)
x:- this option substitutes every variable's value which is
used in the shell script.

To turn off the debugging option, use set +vx.
 
Is This Answer Correct ?    2 Yes 0 No
Neha C
 
  Re: What are the three main forms of enabling debugging in a shell script?
Answer
# 6
set -x
set -v
set -f
 
Is This Answer Correct ?    1 Yes 0 No
Arun Singh
 

 
 
 
Other Shell Script Interview Questions
 
  Question Asked @ Answers
 
What is the difference between a 'thread' and a 'process'?  3
If one dont know how to create a script then how he/she can use the QTP?  1
How to enable the shell to know what program should be run to interpret the script?  3
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.? Symphony3
What is the syntax of "expr" command?  2
Dear All, Can anybody tell me how to predefind no. of selected rows from a text file. MGL1
How u convert string "hi pravin how are you?" to "Hi Pravin How Are You?" Cap-Gemini8
How to include comments in your shell scripts?  3
How to change our default shell?  3
What are the advantages of bash over all other shells?  1
How would you replace the n character in a file with some xyz?  5
How to customise the other shell? Quest1
what is the difference between writing code in shell and editor?  1
write a shell script to identify the given string is palindrome or not? IBM5
A file has multiple records each having three 30-bit long fields(field1,field2,field3).There is also a lookup file,LOOK_UP.dat.Now, we need to consider only the last ten digits of field1 and lookup the file LOOK_UP.dat. If there a match then field2 and field3 should replaced with corresponding data from the lookup file. otherwise that particular record,for which there is no match, should be stored in a seperate file. Wipro2
what are bootlevel in linux?which level is booting by default. Symphony3
What is use of "cut" command?  3
Hi, i want to zip the files that generates automatically every few minutes (files generated are in .arc extension)....any body write a script for this... thanks in advance HP5
How to group the commands in shell scripting? Polaris1
what are special characters and explain how does text varies by the usage of single quotes,double quotes and back quotes?  1
 
For more Shell Script Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com