Announcement

Collapse
No announcement yet.

Konsole displays Command Env not found every time I launch a shell

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Konsole displays Command Env not found every time I launch a shell

    Started noticing this since last week... every time I launch a new instance of Konsole or open a new tab in the existing one, I see the following message:
    Code:
    Command 'Env' not found, did you mean:
      command 'inv' from deb python3-invoke (1.4.1+ds-0.1)
      command 'env' from deb coreutils (8.32-4ubuntu2)
    Try: sudo apt install <deb name>
    Click image for larger version

Name:	2021-10-11_19-46.png
Views:	1
Size:	92.5 KB
ID:	649774

    I am not sure where this could be coming from. I don't think I have any custom startup scripts that have the term "Env". Any ideas?

    #2
    Try installing the package coreutils

    Comment


      #3
      One of your startup scripts, or a script one of them invokes, has a line beginning with "Env". The startup script is most likely .bashrc, but the offending line may not be there.

      A (slightly desperate) debugging method is to edit .bashrc and put the command "set -x" near the top. Then you get screeds of output telling you what it's doing.
      Regards, John Little

      Comment


        #4
        Thank you @jlittle! Indeed it was one of the lines from my bashrc file that was causing this. Adding "set -x" to the top of the bashrc file returned a long list messages including the clue about where this issue is coming from.

        Comment

        Working...
        X