Shell removes double quotes from strings

Related commands:

sed 's/\"//g'

Examples are as follows:

[[email protected] ~]# echo \"hello\" | sed 's/\"//g'
hello
[[email protected] ~]# echo \"hello\"
"hello"
[[email protected] ~]# cat test.log
"hello"
[[email protected] ~]# cat test.log | sed 's/\"//g'
hello

 
 

Read More: