Common options for the echo command include:
-
-n: Prevents the output from adding a newline character at the end.Example:
echo -n "Hello, World!" -
-e: Enables interpretation of backslash escapes (like\nfor a new line or\tfor a tab).Example:
echo -e "Hello,\nWorld!" -
-E: Disables the interpretation of backslash escapes (this is the default behavior).
These options can help customize the output of the echo command based on your needs.
