10
6
I made some changes to my .profile
which corrupted the Terminal app. I can launch terminal but I no longer get a prompt. I can't show hidden files in order to delete the .profile
or .bashrc
files.
How do I go about showing hidden files without using the terminal?
Can you execute commands? Try running something like
echo test
and see if the command works. – Wuffers – 2011-06-28T19:24:13.007I edited your question's title, as it didn't match the actual question at the end of your post. You can revert if you disagree. – Daniel Beck – 2011-06-28T19:37:40.530
@Mark - I wasn't able to execute commands at all. I even wrote a script to do this: defaults write com.apple.finder AppleShowAllFiles TRUE (with #!/bin/sh) but it wouldn't execute for some reason. @Daniel sweet, thanks. – upbeat.linux – 2011-06-29T06:00:17.213
You need to mark these files executable (
chmod +x
) first. If you want Terminal to open them, give them a.tool
extension. // Consider accepting an answer, since your problem seems to be solved. – Daniel Beck – 2011-06-29T06:32:19.533