Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] displaying executed commands in shell scripts
- Date: Fri, 8 Jun 2007 13:55:12 +0900
- From: baluta@example.com (Chris BALUTA)
- Subject: Re: [tlug] displaying executed commands in shell scripts
- References: <a96ae3bb0706072143x7a10cd22kf1d86aca73b97cbf@mail.gmail.com>
- User-agent: Mutt/1.5.13 (2006-08-11)
Hector Akamine asks: > Is there any way to make the shell console display the commands > executed when a shell script is invoked? Sure is. Add the -x option either to the first line of the script (#!/bin/sh -x) or run the script as /bin/sh -x. (I am assuming, of course, that your version of sh is under /bin/sh.) -Chris
- References:
- [tlug] displaying executed commands in shell scripts
- From: Hector Akamine
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] displaying executed commands in shell scripts
- Next by Date: Re: [tlug] displaying executed commands in shell scripts
- Previous by thread: Re: [tlug] displaying executed commands in shell scripts
- Next by thread: Re: [tlug] displaying executed commands in shell scripts
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links