Answers for "bash echo multiple lines"

2

bash print lines that match any of several words

# Basic syntax:
grep 'word1|word2|word3' /path/to/file
# This prints all lines that match word1, word2, OR, word3
Posted by: Guest on October-04-2020
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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language