Sample Header Ad - 728x90

Terminal Crash on Macbook Air 2011, Mavericks

1 vote
1 answer
244 views
I've managed to wreck my **Terminal** of my Air's OS X (10.9.5) while running a sudo command (**sudo mv git /etc/paths.d**) during git installation. (Following https://stackoverflow.com/questions/4725389/how-to-get-started-with-git-on-mac) Now I receive a continuous string of errors on every new Terminal window that I start, the first 3 lines of which are: -bash: ???H??: command not found -bash: command substitution: line 4: syntax error near unexpected token `(' -bash: command substitution: line 4: `:??H?u?H??HH?BH?E??H?? ]?ffff.?:?U??E??? enter image description here While the Terminal commands do go through after all the errors are listed, RStudio does not start, and the error pop-up states: "*Unexpected exception: Unmatched marking paranthesis ( or \(. The error occurred while passing the regular expression fragment: '* " enter image description here This error stays even on reinstallation of RStudio (while R works correctly) I've tried **resetting the Terminal** by deleting ~/Library/Preferences/com.apple.Terminal.plist but the error still persists. Really appreciate your help! --EDIT--- echo $PATH is also gives a string of errors, starting with /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:????:O"::D?M?A??H?
Asked by Shubhayan Ghoshal (13 rep)
Mar 11, 2017, 08:38 PM
Last activity: Mar 12, 2017, 02:34 PM