Posts

Learn echo command in Termux

Image
echo command  The  echo  command in Linux is a built-in command that allows users to display lines of text or strings that are passed as arguments. It is commonly used in shell scripts and batch files to output status text to the screen or a file and its format is “ echo [option] [string] “ [options] = The various options available for modifying the behavior of the  echo  command [string] = It is the string that we want to display. Basic Usage: Displaying Text/String The most straightforward usage of the echo command is to display a text or string on the terminal. To do this, you simply provide the desired text or string as an argument to the echo command  echo [string] Example: echo "hello world" Options Available: Note: -e here enables the interpretation of backslash escapes \b : it removes all the spaces in between the text \c : suppress trailing new line with backspace interpreter ‘-e’ to continue without emitting new line. \t : this option is used to c...