Answer the question
In order to leave comments, you need to log in
How to output a string after a certain character?
I want to output only after the = sign
# grep 'ncore=' /opt/aliases.conf
ncore=/home/firebird/db/firebird.fdb
Answer the question
In order to leave comments, you need to log in
$ grep 'ncore=' /opt/aliases.conf | sed 's/=/ /' | awk '{ print $2 }'
/home/firebird/db/firebird.fdb
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question