Re: iam not able to find these commands.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2004-12-23 at 22:57 -0800, Nagaraj Patil wrote:
> hi 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.
> how can i set these variables for all users at once
> and wat about setenv command in this distro.

The setenv command is used in csh compatible shells like zsh. If that's
what you want, you could set your default shell. Otherwise, Fedora
defaults to using the bash shell which is more like sh. You could read
the man page: man bash. Setting the path for all users can be done
in /etc/profile or /etc/profile.d/.

> 2.iam not able to shutdown the system using shutdown
> command.the responce is "command not found".
> 
> how to shutdown the system from text mode of linux
> FC2.

Generally speaking, /sbin is not on your path unless you are logged in
as root, and only the root user is allowed to use shutdown (unless you
have /etc/shutdown.allow). Are you connected as root when you issue the
shutdown command?

-- 
C. Linus Hicks <lhicks at nc dot rr dot com>

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux