I want to execute this comand in bash scripting.
Code:
#!/bin/bash
line=39;
d=d; ## For delete line
`echo "sed '$line$d' /etc/passwd"`;
But when I execute, I got this error:
sed: -e expresion #1, character 1: unknow command <<'>>
I tried with echo "sed \'$line$d\' /etc/passwd";
But same problem...