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                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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 ?    0 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 ?    0 Yes 0 No
Neha C
 

 
 
 
Other Shell Script Interview Questions
 
  Question Asked @ Answers
 
The information of the two files should be redirect to Third file in such a way that, the third file contain the information like this. 1st line in third file should be from 1st file 2nd line in Third file should be from 2nd file 3rd line in Third file should be from 1st file 4th line in Third file should be from 2nd file - - so on Caritor1
What is "test"? How it is used in shell scripting?  2
What is use of "cut" command?  2
How can I Debug a shell scripts and Perl scripting?? or How do you debug a shell scripting and perl scripting ( at the compile time error or run time error) in Unix environment ?  2
What are the different shells available?  1
What is the need of including script interpreter in your shell script?  1
How to customise the existing shell?  1
What are the Different types of shells?  1
When we login into our account which files are executed? Chip-Quest2
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
Create a bash shell script that removes all files whose names end with a "~" from your home directory and subdirectories. Name this script "cleanup.sh"  4
How to take input values from the user?  2
How will you list only the empty lines in a file (using grep)? ANZ2
What are the different methods available to run a shell script?  1
What is the command for " how many shell is running in your system or how many shell supported by your system " ?.  1
What is INODE?  1
give me some website where i can get unix and testing meterials  1
What are environment variables?  1
In which variable prompt value is stored?  1
how do you write sql queries using shell script for eg:- we have databae table like EMPNO,ENAME,SAL,DEPTNO columns in EMP table how you display EMPNO,SAL FIELDS from emp in SHELL SCRIPT please explain with an example  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