Answer the question
In order to leave comments, you need to log in
How to echo all tokens and special characters (BASH)?
When you try to echo an SQL query in Linux, an error is generated.
Question:
how to display everything via echo, including special characters, as text?
the case described here does not work if a SQL query is output
Answer the question
In order to leave comments, you need to log in
In order to show the output of the command in the bash, you need to use `
for example
echo "date" will output
date
a
echo `date` Display
today's date in the standard format of the system
Fri Sep 4 08:15:29 NOVT 2015
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question