Shell removes double quotes from strings

Related commands:

sed 's/\"//g'

Examples are as follows:

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

 
 

Read More: