LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-05-2013, 03:56 AM   #1
kspgreenhorn
LQ Newbie
 
Registered: Aug 2013
Posts: 5

Rep: Reputation: Disabled
set command


in a shell script I read
set -x
set -e

what does that mean?

Thanks for the answer
 
Old 08-05-2013, 04:10 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

the -x will echo every line for debugging and -e will exit the script on any error.

Evo2.
 
2 members found this post helpful.
Old 08-05-2013, 04:20 AM   #3
kspgreenhorn
LQ Newbie
 
Registered: Aug 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by evo2 View Post
Hi,

the -x will echo every line for debugging and -e will exit the script on any error.

Evo2.
Thanks a lot this very helpful: Watashi wa anata o aishite geschrieben: 私はあなたを愛して
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
set command smehra24 Linux - Newbie 6 03-13-2008 03:28 AM
set command consty Programming 7 02-23-2007 03:55 AM
set/export command? blackzone Linux - Newbie 1 03-05-2005 08:11 PM
how to set command path okiyani Linux - General 1 03-04-2004 08:57 PM
Using set command Debian twantrd Linux - General 0 11-23-2003 04:10 AM


All times are GMT -5. The time now is 06:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration