Good days. I have a problem. I have that get the lines that has a content specified. The command grep allow search a content specified of a file, but this line by line. I would like to select a content of various lines.
How to do this?
something as
cat -n /etc/profile | grep "
if [ "$DISPLAY" != "" ]
then
xhost +si:localuser:root
fi
"
Thank you very much.