I am trying to get npm to work. In the process, I seem to have two versions of it installed: A corrupt one installed in ~/bin, and another I just compiled and ran make install to put it in /usr/local/bin/npm.
So, I moved the entire ~/bin folder into ~/old/bin ...
I have 2 problems... 1. I am stupid and installed rvm as root... and 2. after realizing I did that I did rvm implode and now every folder I move too says:
Code:
-bash: /usr/local/rvm/scripts/initialize: No such file or directory
-bash: /usr/local/rvm/scripts/hook: No such file or directory
... where is this config written so I can remove it and start from scratch?
I am currently trying to get some piece of hardware to work on an embedded device. One part of the driver is an executable, which has to be started to get the hardware to work. However when I try to execute it I get
bash: no such file or directory
I have checked and the file is definitely there, executable etc.
Ok, this is the first script I've ever attempted to write so go easy on me. I'm just trying to simple copy a tar.gz file from the directory the script is located to /usr/local/filename.tar.gz The script is run as root so it shouldn't be a permissions issue.
This time I ran the "trusting" install script curl http://npmjs.org/install.sh | sudo sh from the dir /.
I was updating my .bash_profile, and unfortunetly I made a few updates and now I am getting:
env: bash: No such file or directory
env: bash: No such file or directory
env: bash: No such file or directory
env: bash: No such file or directory
env: bash: No such file or directory
-bash: tar: command not found
-bash: grep: command not found
-bash: cat: command not found
-bash: find: command not found
I was setting up a soft link in linux. Here were the steps I followed:
> groupadd mysql
> useradd -g mysql mysql
> cd /usr/local
> gunzip /home/Tim/Download/mysql.....gz | tar xvf -
> ln -s /usr/local/mysql.... mysql
I've installed java by following this instruction and also had installed java 7 from elsewhere but I can't seem to get it to work..
In Debian-based distributions (and here I’m also talking about the widely-spread Ubuntu), there is no rc.local file preinstalled. The good thing is that you can make one easily so you can have a place to put commands to be started up automatically at boot. Here’s what you have to do:
sudo nano /etc/init.d/local.autostart