Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-30-2014, 09:52 AM   #1
LQ Newbie
Registered: Nov 2013
Posts: 7

Rep: Reputation: Disabled
how to fetch no of lines which are processed?

Hello all,

I am proccessing on a files and I get error in the file but not the line no.
So, how one could get the no of lines already processed or at which line no the error occured?

Thanks in advance.
Old 09-30-2014, 03:19 PM   #2
Senior Member
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,263

Rep: Reputation: 499Reputation: 499Reputation: 499Reputation: 499Reputation: 499
You are doing what? Compiling, running a bash script, batch renaming?
Old 10-01-2014, 04:47 AM   #3
Registered: Mar 2013
Posts: 633

Rep: Reputation: 141Reputation: 141
I am assuming you are using bash script. Run command
bash -x


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
Parse log file for errors and fetch variable number of lines before and after error jgm27 Linux - Newbie 4 07-18-2012 05:26 PM
mplayer fetch subtitles option: --fetch-subs frenchn00b Linux - General 1 11-09-2009 11:21 PM
Fetch x lines from file G00fy Programming 17 07-18-2008 01:13 PM
distro for bi-processed machine rdabra Linux - Newbie 3 05-02-2008 09:55 PM
Interrupts being processed by only 1 cpu duryodhan Slackware 35 09-10-2007 07:48 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:36 PM.

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