Javatpoint Logo
Javatpoint Logo

Linux cat -e command (to display $)

The 'cat-e' option displays '$' sign at the end of every line.

Syntax:

Example:

Linux cat e

Look at above snapshot, some lines include spaces also. A user won't be able to recognise whitespace at the end of each line. "cat -e program" command will put the $ sign at the end of every line including spaces.





Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA