[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: iam not able to find these commands.
- From: "C. Linus Hicks" <lhicks nc rr com>
- To: General Red Hat Linux discussion list <redhat-list redhat com>
- Subject: Re: iam not able to find these commands.
- Date: Fri, 24 Dec 2004 04:48:42 -0500
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>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]