The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Find the line/line of a script that is exceuted
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Find the line/line of a script that is exceuted
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
05-27-2009
zaxxon
Moderator
Join Date: Sep 2007
Location: Germany
Posts: 2,311
You could change it's output to a more verbose mode using
Code:
set -x
and watch the output to your screen or logfile.
Commands that are invoked for a very short time might be already terminated before you get your ps running.
To not get too much output you can use
Code:
set +x
to stop the verbose output.
zaxxon
View Public Profile
Find all posts by zaxxon
Find zaxxon's past nominations received
Find zaxxon's present nominations given