Mmm very true, I just copied this one from the wiki, to have color output, but I think it wont be possible anymore:https://wiki.archlinux.org/index.php/Co … _all_usersI'll try to understand what is wrong with the one provided in the wiki, because I really prefer having some color.I have restored defaul arch setting ('~/.bashrc' and '/etc/bash.bashrc') and mc is working, th
Is there a simple way to list all the command conflicts that have occurred in the system due to the bashrc update involving alias commands?
For example, someone writes alias ls=/path/to/user-generated/executable in bashrc. How does one find out that this is masking an actual command (ls). One way seems to be to run all the aliases before and after sourcing bashrc and diff the output.
I have added this line at the end of ~/.bashrc file.
export JAVA_HOME=/usr/java/jdk1.5.0_07/bin/java
But when I do echo $JAVA_HOME I don't get anything as output, I expected "/usr/java/jdk1.5.0_07/bin/java".
Any idea?
Ubuntu 11.10.
JAvi
I am trying to define some commands for my convenience but worried a bit if editing .bashrc can lead to security issues.
Hi,
While I'm trying to compile a simple servlet program, on typing the below command:
#javac A5SA3.java
I get the error mssg as:
#A5SA3.java:9: error: package javax.servlet does not exist
#import javax.servlet.*;
^
After doing a bit of google search, I found out that the classpath is incorrect.
So when I compile with cmd:
#javac -cp $CLASSPATH:/usr/share/java/tomcat-servlet-a
Unia wrote:For step four, you don't have to log out and back in. I think you could also run "source /etc/bash.bashrc" instead.Thanks. Edited post.
I've set usr/lib/jvm/java-6-openjdk/jre/bin/java as JAVA_HOME in /etc/environment and ¬/.bashrc as well as webgoat.sh files, but when i try to run the file it says "eval: 1: /usr/lib/jvm/java-6-openjdk/jre/bin/java/bin/java: not found"
Someone please help.
Thanks
My computer keeps crashing, the sort where no programs will start, and the load keeps on rising (3 and up).I recently changed the harddrive in my laptop, because I thought that might be the problem. But now, similar problems arise. The last thing I did before this occurred this time, was to experiment with my .bashrc for root and user.
well I created a lot of trouble for myself. I was trying to install GTK+ 3.0 something and was trying to extract the .tar.xz file. so I looked it up on here and found a helpful little thing to add to my .bashrc file. so i added it and saved the file 'rm .bashrc~' afterwards (or I thought I put the ~) maybe thats why things are messed up.