Skip to main content
1 of 5
Dip
  • 740
  • 3
  • 9
  • 13

Carriage return with echo command

I was practicing echo command with carriage return as below. echo -e "This is \r my college" output : my college

but when i wrote as below echo -e "This is the \r my college" output : my college the

so i wanted to know that what is the actual purpose of carriage return here?

Dip
  • 740
  • 3
  • 9
  • 13