Other Commonly Used Bash Commands

Get to learn some useful and important bash commands that are necessary in order to interact with your machine efficiently and get your day-to-day tasks done.

1. echo


echo is the built-in command in bash and C-shells that simply prints its arguments on the console or terminal.


echo [option(s)] [string(s)]


Options Meanings
-n Do not output a trailing newline.
-e Enable interpretation of backslash escape sequences.
-E Disable interpretation of backslash escape sequences.
–help Display a help message and exit.


  • To print a statement “I like to code.” on the console
echo I like to code.

Get hands-on with 1200+ tech skills courses.