7

I am using Ubuntu, and I have encountered a strange issue where every command I type in the terminal is displayed in figlet font instead of executing normally. For example:

Expected output for ls:

Desktop  Documents  Downloads  Music  Pictures  Videos

Actual output for ls:

 _     
| |___ 
| / __|
| \__ \
|_|___/

This happens for every command, including cd, echo, sudo, etc., making the system almost unusable.

What do I do?

1 Answers1

10

It seems you have somehow added the command figlet to run when your terminal starts. To exit figlet, press Ctrl+C.

Now, you need to find where you have added this command to run. A common place would be ~/.bashrc, but other files may be possible as well.

To find files in your home directory where this string is present, try:

grep -rnw ~ -e 'figlet'

This will return the filename, the line number, and the content of the line containing the figlet command.

Artur Meinild
  • 31,035