Possible Duplicate:
highlight lines in listings
How can I include a source file with the listings package and highlight specific lines (coloured text or coloured background will do)?
Possible Duplicate:
highlight lines in listings
How can I include a source file with the listings package and highlight specific lines (coloured text or coloured background will do)?
If you know which words or sentences you want to highlight, you can use the emph and emphstyle of the command lstset. This is done by hand and not really a trick but it should work.
\usepackage{listings}
\lstset{
language=bash,% or another depending of your input
emph={[1] word with style 1},
emphstyle=[1]\color{teal},
emph={[2] word with style 2},
emphstyle=[2]\color{violet}\bfseries\slshape,
}