1

In one of my previous sessions using terminal, I typed ^D by mistake.
And now every time I start the terminal, there's this:

^D: command not found

What should I do?

I have used the command clear several times, but every time I start the terminal, that line appears again.

enter image description here

Ravexina
  • 57,256

1 Answers1

5

Because of installing Cisco AnyConnect client, I had typed

$ cat >> ~/.bash_aliases
alias vpn='/opt/cisco/anyconnect/bin/vpn'
alias vpnui='/opt/cisco/anyconnect/bin/vpnui'
^D

So the non existing command ^D was written in my ~/.bash_aliases file which is run every time I open the terminal.

To solve the problem, type:

nano ~/.bash_aliases

and delete the command ^D

αғsнιη
  • 36,350