I want to append the below string at the end of all lines in a file. I tried to search on web but could not get anything relevant. I used the below command too
sed -i -e "s?$?\$dest \$port \$fgt --pin '\$limit' --nogui;"? ipv42
Can someone please help me I want to append the below string in end of all lines in a file
$dest $port $fgt --pin '\$limit' --nogui;
\$limit
or$limit
you want in the replacement?