Skip to content
Advertisement

Tag: path

Running script in crontab–reboot: command not found

I’ve set a script in my root crontab that is supposed to restart my machine with the reboot command. However, I am getting a reboot: command not found despite the fact that reboot is in the root user’s path. My script: root user crontab: …yes, this is only a temporary workaround while I figure out why the internet keeps dropping.

Amcharts images “304 Not Modified” error

I’m getting 304 error when AMCHARTS images are requested to load. Odd thing is that it works locally on my PC but doesn’t work in development environment. Checked folder and files permissions > Permissions are all OK Checked PATH > Path is OK Tried absolute paths > Still not working in dev env, yes in my pc Among trivial things

Mono executes program with wrong current directory

I have a strange problem. I have written a custom spamfilter in C# .NET 4.6 for personal use. And I put this program up to my Raspberry Pi. I have tested many times the program, and everything worked fine, but when I created a cronjob I have noticed that the program never writes log. As I started to test again

How does ${path} work, in this tutorial

I’m sure this is one of the dumbest problems asked on this site, but I am very new to linux, and a little out of my depths. I’m working off of this tutorial here and am stuck on the “add the path” and verify steps. For this one the tutorial told me to use this: I have already defined DTITK_ROOT,

No JDK found. Please validate either STUDIO_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation

I’m running Ubuntu 15.10. So, I just uploaded the Android Studio from the site. After that I unpacked the zip file. Went to android-studio/bin and found studio.sh. Sit permission to be executed chmod +x studio.sh. Ran the file to install with this line: ./studio.sh. Then I had the error I have already netbeans installed. I just ran the instalation package

od –width=x option isn’t working. My path seems to be correct.

This is in my .bashrc file: But when I run: I get the message “od: –width=10: No such file or directory” Is there something wrong with my path? Answer It looks as if you pasted the –width option from something that improved the double-dash at the beginning of the option. That should be two ASCII – (minus-sign) characters. Pasting from

/bin/sh: 1: arm-linux-gcc: not found on ubuntu

I m trying to build using gcc arm cross compiler and i get following error Building file: ../src/application.c Invoking: GCC C Compiler arm-linux-gcc -O3 -Wall -c -I -fmessage-length=0 -MMD -MP -MF”src/application.d” -MT”src/application.d” -o “src/application.o” “../src/application.c” /bin/sh: 1: arm-linux-gcc: not found i also check my path setting and i had proper valid path to the arm-linux-gcc and also linux “which” command

Make a program in path preferable instead of another

There is a program in the PATH variable installed by root, but I installed a more recent version in my local. There is any way to make my program preferable instead of the root? Sorry for my bad english. Answer put the preferred directory in front of the other one. It will pick up the first one it finds.

Retrieve path of symbolic link

I want to store the path of the file the symbolic link is pointing to into bufff. This works with my current implementation using readlink but it grabs extra data I don’t need because my bufsize is arbitrarily valued. I’m not sure how to size it according to the path of what the symbolic link points to because all I

JAVA_HOME incorrectly set. How to reset it?

When I try to run mvn (Apache Maven, that is), I keep getting error “JAVA_HOME” not set. I follow the instructions to set the JAVA_HOME variable as follow; In the terminal: That looks correct, right? Then how come I still getting the incorrect JAVA_HOME error? Answer JAVA_HOME typically should only include the folder that contains the bin folder. So in

Advertisement