How can I get rid off this on terminal?

Last login: Fri Mar 17 21:49:53 on ttys000

/Users/***/.zprofile:1: /usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/mysql-8.0.29-macos12-arm/bin not found

***@SRIs-MacBook-Air ~ % 


Everytime i login getting this "not found error message". Kindly help me to remove from terminal.


[Personal Information Edited by Moderator]

Posted on Mar 17, 2023 9:26 AM

Reply
4 replies

Mar 20, 2023 8:57 AM in response to sri_shanmukha

Is the Terminal opening up automatically when you boot & login, or are you opening the Terminal app yourself to issue some commands?


Something you installed has modified the .zprofile file. What app was last installed just before this message appeared?


Or were you using Terminal commands you found online?


You will need to post the contents of the hidden .zprofile file here. Within the Finder, click on the home user folder which has an icon of a house on the sidebar which will have the short username of your account. Now press Shift + Command + Dot (aka period which looks like " . ") which will toggle hidden files on & off which will allow you to see the .zprofile file. It helps if you in the forum editing window you highlight the copied text and then click on the "Code Insertion" tool located on the forum editing toolbar which looks like "</>" so that the text is easier to read. Only do this for the copied text from the .zprofile file....leave the rest of your post as the default formatting. You may be able to first click the "Code Insertion" tool, then paste the contents into the gray line which appeared. Using the Code Insertion tool for the pasted contents also makes it easier to separate out the contents of the file from the rest of your post.



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How can I get rid off this on terminal?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.