Nagaraj Patil wrote:
You can set the environment variables (I assume that you are using bash as a shell) with the 'export ' shell command or usingg the notationhi there, 1.iam trying to set environmental variables for j2ee server using "setenv" command as per the website information. but iam not able to find this command in Fedora Core 2.
<shell_variable>=<value>. There is some difference between them, you can read about it in bash man page. If you need the variable to be set every time when you ligin into system, put line <shell_variable>=<value> into
your .bash_profile (or in /etc/profile for all users).
Check the PATH environment variable. If you are working as root it should include /sbin directory (shutdown is actually /sbin/shutdown).how can i set these variables for all users at once and wat about setenv command in this distro.
2.iam not able to shutdown the system using shutdown command.the responce is "command not found".
Also you can call shutdown with full path /sbin/shutdown.
Of course, you need to be root to use the 'shutdown' command.
Alexey Fadyushin Brainbench MVP for Linux. http://www.brainbench.com
how to shutdown the system from text mode of linux FC2.
thank u, nagu_linux
__________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list