Answers for "bash ecohing two lines"

2

bash multiline ech

cat <<EOT >> my_file.txt
my text line 1
my text line 2
EOT
Posted by: Guest on October-13-2020
1

bash lines to one line

LINE=$(paste -sd ' ' $FILE)
Posted by: Guest on April-22-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language