running basic shell scripts as root

i am new to the linux world and in my endeavor to learn more i have been experementing with shell scripting.  i am following a tutorial at linuxcommand.org in which the author takes you through the process of writing a script that produces a HTML page with your system info.  at the part im at now the script makes use of the "du" command.

No answers, votes, 472 views
Visitor's picture
asked by Visitor
1 year 25 weeks ago



No Answers

How to set environment variables for bash shell in ubuntu?

I want to set environment variable for example JAVA_HOME under my bash shell, please help
 
Running ant gives the following error
 
 
ml:255: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-openjdk/jre"
 

1 answers, votes, 1549 views
Visitor's picture
asked by Visitor
1 year 32 weeks ago



1 Answers

Syndicate content

Ubuntu 11.04 released!

Ubuntu 11.04 code named natty narwhal is released download ubuntu 11.04

Read ubuntu 11.10 reviews and share yours now!!

Stay Connected

Ubun2.com on Facebook Ubun2.com on Twitter RSS Feeds