Fix $PATH on Mac OS [closed] - macos

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I was trying to add a dir to my path environment but somehow things went wrong and now the terminal wont even recongnize the 'ls' command.
How can I reset or fix this?
Thanks.

Do it from another account, if needed by booting in single user mode: http://support.apple.com/kb/HT1492
This presumes that you are familiar with the basics of Unix shells.

Related

Command Line terminal in windows [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I just started developing in windows and I don't really like using the "cmd" terminal. Is there any other alternative out there?
Don't use cmd, use Powershell.
If you want something which is Windows-centered and is not cmd.exe, use PowerShell. If you're looking for a more "Linuxy" style, I prefer Cygwin, but there are quite a few alternatives.

how to edit the .profile file to have shortcuts for commands? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
im really new to unix, i wanted to learn how to edit a .profile script on OSX lion to help me have shortcut for this directory:
/usr/local/cellar/node_modules/node.io/bin/node.io
i want to be able to run the program like this:
node.io -h
instead of :
/usr/local/cellar/node_modules/node.io/bin/node.io -h
for some reason npm hasn't decided to set paths for me, even though i used -g, so going to do it manually.
export PATH=${PATH}:/usr/local/cellar/node_modules/node.io/bin

.bash_profile and scripts as symbolic links [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'd like to know, if there is any problem when I set my .bash_profile or other configs such as .irssi or .slate as symbolic links. The thing is, I would like to git all my configs and scripts in /usr/local/bin(I'm on OS X), so that I have version control and a backup for them. This way, I can also use them on other machines.
I was just wondering whether anything could break, if I'm doing that.
Yes as long as the symlinks are valid and the user has proper permissions to read those locations, you should not have any problem.
Nothing breaks, that's exactly how people put their dotfiles under version control

How to use Google on terminal? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
This maybe some ridiculous, but sometimes I need to work on server and there was no X interface. How to use Google and its search results in Unix-like terminal?
There are a bunch of terminal-web-browsers out there, if that's what you're asking. links2 is probably the most famous.
http://links.twibright.com/
And here comes the ultimate-everything-terminal-based-daily-life-programs.

Solaris Shell/Terminal emulator windows [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Hi im looking for a solaris simulating windows terminal to execute some environment specific scripts i have. Any help?
I don't believe anything like that exists. Your best option is probably a Solaris VM. You can download one and VirtualBox from Oracle.
Here is a blog entry that discusses use of the VM

Resources