Quote:
Originally posted by NoS Sr50
The output? what do you mean
|
What you typed at the command line looks wrong.
[root@localhost robert]# ln -s /usr/java/jr2re1.4.2_05/bin/java /usr/bin/java
[root@localhost robert]# ln -s /usr/java/jr2re1.4.2_05/bin/java/usr/bin/java
Why did you type the second line. Which did you type?
Enter this command
ls -l /usr/bin/ja*
and see what it says. If it shows a link to java, then you are OK. If not, you typed in the command wrong. The command is
ln -s target link
so in this case
ln -s /usr/java/jr2re1.4.2_05/bin/java /usr/bin/java
Is the command that would work. The other one is missing a space and tried to create an unnamed link to a file that does not exist - and therefore would not work.
Verify that the link worked.
When I type
ls -l /usr/bin/ja*
I get the following output (output is what the computer spits out in response to its processing of your input - if you don't know that - you should give up on linux now because it requires at least a minimal understanding of computing just to operate)
lrwxrwxrwx 1 root root 31 Sep 5 18:06 /usr/bin/java -> /usr/java/j2re1.4.2_05/bin/java*
That shows that I have a link to java in my /usr/bin directory, which is in my path.
I don't know how to say this kindly, but I think you would benefit from getting yourself a book on linux, reading it, and working the examples in it before you try installing virtual machines. You don't have to master vi, but you need the basics of how it works. You don't have to master shell scripting, but you do need to know things like
input -> processing -> output
and the difference between stderr and stdout, which are all in chapter one of every Linux and Unix book ever written.
It will make all of this a lot easier.