N
N
NO_GLITCH2015-09-04 02:20:16
bash
NO_GLITCH, 2015-09-04 02:20:16

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

2 answer(s)
A
Azazel PW, 2015-09-04
@azazelpw

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

S
ShamblerR, 2015-09-08
@ShamblerR

try hex16

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question