Every time I start my terminal I get this message; how to get rid of it?
Command '“export' not found, did you mean: command 'mexport' from deb mblaze (0.6-1) Try: sudo apt install <deb name>
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
I wondered why your machine did not have the
export command... then I noticed that your error message actually says
“export. Your post was not code-formatted at first so the quotation mark was hard to spot.
You have a typo in your
~/.bashrc or your
“export where it should be
"export. Fix it and the error should be gone.
Note: The shape of the quotation marks -
“ instead of
" - tells me that you probably copy-pasted the line from some document or webpage, or you edited the file with a word processor that adds fancy quotes, as @Kusalananda said in the comments.
You have always to be careful about the formatting, as word processors often perform "smart" character substitution, mangling your code in the process; an infamous example is
--someoption being transformed into
—someoption (the two hyphens having been replaced with a mdash).