![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Display mutiple line in single line | manosubsulo | Shell Programming and Scripting | 4 | 11-11-2008 11:44 PM |
| I would like to separate a line and display accordingly.. | suri.tyson | Shell Programming and Scripting | 6 | 09-25-2008 07:13 AM |
| display lines after a particular line number | rajashekar.y | UNIX for Dummies Questions & Answers | 6 | 01-03-2007 03:53 AM |
| Display a particular line from a file | Rohini Vijay | Shell Programming and Scripting | 5 | 07-31-2006 07:27 AM |
| Display Printers via command line | gseyforth | Windows & DOS: Issues & Discussions | 3 | 06-28-2006 01:02 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Display Line numbers
Hi all experts,
I am getting error in my shell scripts and i want to find out which lines is in errors. How i can display the line numbers . Is it NU command? Please give me some suggestions. Last edited by joeyg; 01-05-2009 at 12:28 PM.. Reason: Corrected spelling |
|
||||
|
I am not sure which shell you are using, I am assuming it is bash shell.
You can try the following to debug your script: Code:
bash -v myscript Code:
bash -x myscript |
| Sponsored Links | ||
|
|