How to display the each executed line of a shell script?

Discussion in 'Perl Misc' started by Matt Benson, Feb 9, 2005.

  1. Matt Benson

    Matt Benson Guest

    When I start (in ksh) a shell script test.sh
    How do I let the shell interpreter display each line he will execute
    just before he is really executing it.
    The display should include the real content of variables.

    Matt
     
    Matt Benson, Feb 9, 2005
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cédric Rossé
    Replies:
    1
    Views:
    671
    Cédric Rossé
    Nov 9, 2004
  2. Gerardo Herzig
    Replies:
    1
    Views:
    1,429
    Philipp Pagel
    Feb 27, 2008
  3. Samuel A. Falvo II
    Replies:
    0
    Views:
    678
    Samuel A. Falvo II
    Oct 8, 2008
  4. scad
    Replies:
    23
    Views:
    1,481
    Alf P. Steinbach
    May 17, 2009
  5. Erik Tank
    Replies:
    3
    Views:
    200
    pkent
    Dec 31, 2003
  6. moongeegee

    execute a shell script in a shell script

    moongeegee, Dec 3, 2007, in forum: Perl Misc
    Replies:
    2
    Views:
    484
    Ben Morrow
    Dec 4, 2007
  7. PerlFAQ Server
    Replies:
    0
    Views:
    266
    PerlFAQ Server
    Jan 26, 2011
  8. PerlFAQ Server

    FAQ 6.14 How do I process each word on each line?

    PerlFAQ Server, Apr 8, 2011, in forum: Perl Misc
    Replies:
    0
    Views:
    300
    PerlFAQ Server
    Apr 8, 2011
Loading...