0
votes
0answers
128 views

How to get write permission on /etc/environment?

I want to add mysql Connector jar file to classpath and by browsing through the net. I read that a global way to do it is to update the /etc/enviroment but the file opens as readonly. What I don't get ...
2
votes
1answer
708 views

Why doesn't JSLint/JSHint work in Ubuntu?

I installed as described here and other places, but after using npm to install jslint, jshint, neither will work. Running "jslint", I only get: /usr/bin/env: node: No such file or directory Is ...
0
votes
1answer
202 views

Editing MANPATH from /etc/environment

Having installed TeX Live on my system (by downloading and running the script from TUG's website: http://www.tug.org/texlive/acquire-netinstall.html), I tried editing the MANPATH variable by adding ...
0
votes
1answer
192 views

Run a shell script from terminal

I have a shell script at /home/user/android-sdk-linux/tools. I wish to run the script from the terminal by typing ddms so I added :/home/user/android-sdk-linux/tools/ddms.sh to /etc/environment and ...
0
votes
1answer
279 views

Difference between /etc/security/pam_env.conf and /etc/environment + making sudo read pam_env.conf

I struggle to see the difference between pam_env.conf and /etc/environment. To me they both do the same thing, with a difference syntax. The manpages were no help. So what is the difference? ...
8
votes
2answers
2k views

Is there a difference between “.” and “source” in bash, after all?

I was looking for the difference between the "." and "source" builtin commands and a few sources (e.g., in this discussion, and the bash manpage) suggest that these are just the same. However, ...
1
vote
1answer
760 views

NoClassDefFoundError: org/apache/derby/tools/ij

Derby says to install to opt, so I did: thufir@dur:~$ thufir@dur:~$ ll /opt/db-derby-10.9.1.0-bin/lib/derbytools.jar -rw-r--r-- 1 root root 174932 May 31 12:19 ...