On Sunday 19 March 2006 23:55, Daniel Vrabioiu wrote:
> # /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
> # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
>
> PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
>
> if [ "$PS1" ]; then
> if [ "$BASH" ]; then
> PS1='[EMAIL PROTECTED]:\w\$ '
> else
> if [ "`id -u`" -eq 0 ]; then
> PS1='# '
> else
> PS1='$ '
> fi
> fi
> fi
>
> export PATH
>
> #umask 022
>
> PATH=$PATH:/billing/jdk15/bin
> export PATH
>
> JAVA_HOME=/billing/jdk15
> export JAVA_HOME
>
> export TOMCAT_HOME=/billing/tomcat
>
> CLASSPATH=$CLASSPATH:/billing/tomcat/webapps/voipbilling/scripts:/billing/t
>omcat/webapps/voipbilling/WEB-INF/lib/mysql.jar export CLASSPATH
>
> PATH=/usr/local/mysql/bin:$PATH
> export PATH
>
>
>
> Logat ca root :
>
> /etc$ sh /etc/profile
> /etc/profile: line 3: : command not found
>
> aparent eroare e de la PATH=
> cine poate sa sara cu un raspuns rapid sa nu ezite, greatly appreciated..

Problema e in alta parte nu in bucata de cod de mai sus. Ruleaza "sh 
-x /etc/profile" sa vezi exact in ce conditii apare eroarea.


Mihai

_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui