LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-26-2005, 06:01 AM   #1
tjgadu
Member
 
Registered: Jun 2005
Location: CyberIsland
Distribution: Debian and Fedora
Posts: 31

Rep: Reputation: 15
Commands not found in fedora core4


I recently updated my linux distribution(fedora core3) to fedora core4 and for the first time opte'd for KDE as display manager. Everything went smoothly until I used the console. The problem is that the shell doesnt recognise commands like shutdown and init. to be able to use them I have to issue those commands with their absolute path, i.e /sbin/init 6 for eg. worst, there are some commands that are not "recognised" by the shell. for example clock, hwclock --show. when entered the command which clock to see whether it is found in the PATH variable, a get a negative response. Can someone tell me what is the problem.. are there bugs in the distribution(I got the installation disk with a linux magazine).. Or is part of KDE behaviour
 
Old 10-26-2005, 06:32 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Very unlikely that that is caused by KDE. As normal user, your path-variable mostly contains directories in /usr and no ref to /sbin and other sbin-directories. So that is why the shell can't find the commands. This is (to my knowledge) quite normal. Maybe you changed the path-variable once while you were using FC3 and forgot about it (or the default setup for FC3 differs from FC4).

PS checked on a RH8 box (only references to directories in /usr and to /home/username/bin) and on Slack (a few directories as well but no sbin-directories).

Last edited by Wim Sturkenboom; 10-26-2005 at 06:36 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring Fedora Core4 for network shof515 Linux - Newbie 5 11-22-2005 07:26 PM
f5d6020 v2 in Fedora Core4 Lib_not_found Linux - Networking 1 10-31-2005 02:16 AM
Fedora Core4 issues... DrunkenDisciple Linux - Software 3 10-12-2005 12:01 PM
scorched 3d won't run in Fedora Core4 79spitfire Linux - Games 3 08-23-2005 08:58 PM
install fedora core4 hi_all General 3 05-10-2005 07:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration