GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Operating System  >  UNIX
Go To First  |  Previous Question  |  Next Question 
 UNIX  |  Question 59 of 61    Print  
Usage of source command in unix
What is the use of "source" command apart from running the script in current shell?


  
Total Answers and Comments: 1 Last Update: October 02, 2009     Asked by: nayakss 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 01, 2009 15:54:13   #1  
mani_develop Member Since: November 2007   Contribution: 2    

RE: Usage of source command in unix
The soure command is used for two ways.

1. If you want run the more than one command at the time. then you should write the commands in one file. which is run by source command.

2. If you connect any database server through unix server. then you can run source command if any file contains more than one commands.

 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : This should be as below:sqlplus -s userid/password@databaseIn case you want to connect to SQL databasesqsh -S Servername -U username -P passwordIn case od SYBASEisql -S Servername -U username -P passwordRegards,Vaibhav ...

Latest Answer : Unix operating system derived into three different levels and the inner most level is Kernel. Who is the sole responsible of all the activites as scheduler, memory manager etc. The outmost level is Shell which connect to end user with the Kernel. ...
Read Answers (7) | Asked by : Beena

Pipe accepts the output of one command, and feeds it as an input to the next command.eg: ls | wc -lOutput of 'ls' is fed as input to wc-l. Hence wc counts the number of lines in the result of 
Latest Answer : piping:- sending the output of a command to the input of another is called piping.some examples are:$cal | wcwill output total line's,word's and character's$cal | wc | wcwill output total line's,word's and character'sA unix pipe provides a one-way flow ...
Read Answers (1) | Asked by : Bindu Puvvala

Latest Answer : well this question is more towards the architecture that the operating system has inherited and was predominanatly designed in a way that would have been easier for the integration and ifaster implementation by the end user. It is less of mechanisms or ...
Read Answers (1) | Asked by : Anu

1. To which operating system is GNU/Linux compatible? a. Windows b. Unix c. it\'s a system on it\'s own d. don\'t know2. What is the origin of GNU/Linux? a. 1984 by Richard 
Latest Answer : 1.c 2.a 3.b 4.a 5.c 6.c 7.b 8.c 9.b 10.b11.b 12.c 13.b 14.a 15.a 16.a 17.c ...
Read Answers (1) | Asked by : malyadri

What is kernel? What is the difference between kernel and microkernel? What is the difference between unix and Linux? What is relational database,hierarchal database. and network database? their difference?
Read Answers (4) | Asked by : somaraju
Tags : RDBMS

How to debug parts of a program in UNIX environment using CORE DUMP generated?Where core dump generated for a program is stored?
Read Answers (2) | Asked by : vijaya

How to find some particular lines in unix Vi editor which starts with a particular word and end with another particular word?? For ex - There are 10 lines in the editor and only 4 lines start with the word APPLE and end with the word MANGO.Now how to find out these particular lines in Unix?
Read Answers (6) | Asked by : sajit kumar

Latest Answer : WhenUnix is running, the kernel has been loaded into the memory. Thekernel file is located in /boot, name vmlinux, usually followed bythe version ...
Read Answers (2) | Asked by : sajit kumar

Latest Answer : grep is used for pattern searching in files ...


 Sponsored Links

 
Related Articles

SOA Industry Usage

SOA Industry Usage First time usage of SOA tends to highlight the need for semantic interoperability While SOA provides framework for integration of cross Business operations with information flow in real time there is also a major semantic interoperability conflict that is not being addressed dir
 

What is the use of truncate command?

Truncate command will delete all records and the most important thing to make note of truncate command is since truncate command cannot be rolled back one must make sure to take proper backup of table data before performing the truncate command. Truncate command is thus used to remove all rows from
 

How to call C header that is not provided generally by system in C++?

Headers can be called by using extern C Syntax of extern C is: extern "C" <function declaration> for example to call C functions from C++ we can write extern "C" { <function declaration> <function declaration> ...
 

How to define command line arguments

The main functions can have arguments passed which are called as command line arguments. There are two command line arguments: Argument count denoted by argc and Argument vector denoted by argv The argc is an integer variable which denotes the number of parameters passed and argv is pointer to a
 

System Implementation

In the previous articles relating to SDLC Stages we discussed about Project Planning and Feasibility Study moved on to System Analysis and Requirements which lead to Systems Design. Systems Design will naturally lead to another stage where it becomes closer to the actual deployment of the p
 

System Analysis and Requirements

In the previous chapter, we’ve discussed about project planning and feasibility study. That stage was important because it tries to establish a problem in our highly technological world. As our understanding on what we can do in computers evolve and so are the things that we need to make t
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Industry Usage of VoiceXML

Wireless communications tools have a number of disadvantages, and some of these are small screens, weak processing power, and a lack of sufficient input abilities. It is these three factors that have greatly limited the scope of many wireless devices, and it is hoped that VoiceXML will remedy many
 

Operating Systems and IT Certification

With the burst of information technology that is becoming a part of the dominant culture throughout the world, are programs that are designed to help those in this area to grow in knowledge.  By understanding the different technologies that are available, one is able to use them and impleme
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape