echo — printing text
cheat sheet · bash https://lab.dimsanych.ru/en/wiki/echo/Cheat sheet
-
echo "x=$var"with variable expansion -
echo 'literal $x'without expansion -
echo -n / echo -eno trailing \n / with escapes -
echo "x" >> fileappend to a file -
printf '%s\n' "$v"a portable equivalent