 |
01-09-2006, 02:38 PM
|
#1 (permalink)
|
|
Level 96 Headbanger
Join Date: Apr 2005
Location: Metalopolis
Posts: 1,121
|
Problem with commands in FC4
I have a weird problem with FC4. The konsole does not recognise commands such as insmod, lsmod, chmod, fdisk, etc. What do you think is the cause of this problem? Also, can you tell the solution?
Thanks in Advance!
__________________
"Words meant to dwell in darkness shall never see the light of day.
Words can be broken, so can bones. Execute the mandate." :twisted:
Steam : DeathMetal
Garena : death_metal27
My Blog : The Pandemonium (Latest Post : Where does music come from?)
Guitar gear : GB&A (acoustic), ESP LTD-M50 ( New :twisted:), Roland MicroCube Amp.
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
01-09-2006, 02:58 PM
|
#2 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Problem with commands in FC4
DId you select softwares manually while installation? It seems the installation hasn't gone well. Just search for these in the CD/DVD and install it or install them from net.
Also, see if you can get these commands to work as root?
__________________
http://www.bash.org/?258908
|
|
|
01-09-2006, 08:24 PM
|
#3 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
Re: Problem with commands in FC4
try as root:
Code:
prakash@localhost.localdomain:~# system-config-packages
and get the needed pkgs installed.(devel tools  )
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
Last edited by praka123; 01-09-2006 at 08:26 PM.
|
|
|
02-09-2006, 11:57 AM
|
#4 (permalink)
|
|
Level 96 Headbanger
Join Date: Apr 2005
Location: Metalopolis
Posts: 1,121
|
Re: Problem with commands in FC4
Yeah, I manually selected the packages to install. However, I cant get the commands to work even as root. What extra package do you think will be required?
__________________
"Words meant to dwell in darkness shall never see the light of day.
Words can be broken, so can bones. Execute the mandate." :twisted:
Steam : DeathMetal
Garena : death_metal27
My Blog : The Pandemonium (Latest Post : Where does music come from?)
Guitar gear : GB&A (acoustic), ESP LTD-M50 ( New :twisted:), Roland MicroCube Amp.
|
|
|
02-09-2006, 01:27 PM
|
#5 (permalink)
|
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
|
Re: Problem with commands in FC4
may be the commands are not in path!
command from root "locate chmod" and similarly for others and then add their directory to path!
neways chmod is in "bin directory".....so try "/bin/chmod"
If it doesnt work then probably the packages are not installed!
|
|
|
02-09-2006, 01:50 PM
|
#6 (permalink)
|
|
I see right through you.
Join Date: Sep 2005
Location: Chennai
Posts: 597
|
Re: Problem with commands in FC4
The commands you have listed are part of coreutils : http://www.gnu.org/software/coreutil...coreutils.html , so it is inconceivable that your system is operating without coreutils installed. Go as root and type "which chmod", or like mediator said, "locate chmod". Also try it in virtual terminal mode, or using sudo.
__________________
I didn't make the world, I only try to live in it.
http://lucentbeing.com
-- Sykora --
|
|
|
06-09-2006, 01:30 PM
|
#7 (permalink)
|
|
Level 96 Headbanger
Join Date: Apr 2005
Location: Metalopolis
Posts: 1,121
|
Re: Problem with commands in FC4
Sorry, chmod is working fine, I have problems with insmod, lspci, fdisk and such commands. I have found these commands in /sbin but not in usr/sbin. I tried copying the files to this folder, but no use. They dont work as root.
__________________
"Words meant to dwell in darkness shall never see the light of day.
Words can be broken, so can bones. Execute the mandate." :twisted:
Steam : DeathMetal
Garena : death_metal27
My Blog : The Pandemonium (Latest Post : Where does music come from?)
Guitar gear : GB&A (acoustic), ESP LTD-M50 ( New :twisted:), Roland MicroCube Amp.
|
|
|
06-09-2006, 02:27 PM
|
#8 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Problem with commands in FC4
__________________
http://www.bash.org/?258908
|
|
|
07-09-2006, 11:19 AM
|
#9 (permalink)
|
|
Level 96 Headbanger
Join Date: Apr 2005
Location: Metalopolis
Posts: 1,121
|
Re: Problem with commands in FC4
Quote:
|
Originally Posted by tech_your_future
|
Heres the output exactly as displayed.
Code:
[desmond@localhost /]$ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/desmond/bin
__________________
"Words meant to dwell in darkness shall never see the light of day.
Words can be broken, so can bones. Execute the mandate." :twisted:
Steam : DeathMetal
Garena : death_metal27
My Blog : The Pandemonium (Latest Post : Where does music come from?)
Guitar gear : GB&A (acoustic), ESP LTD-M50 ( New :twisted:), Roland MicroCube Amp.
|
|
|
07-09-2006, 06:42 PM
|
#10 (permalink)
|
|
I see right through you.
Join Date: Sep 2005
Location: Chennai
Posts: 597
|
Re: Problem with commands in FC4
You have to add /sbin to your path, if you want to use these tools. They're put in /sbin because it is forseen that only root user will want to use these tools.
__________________
I didn't make the world, I only try to live in it.
http://lucentbeing.com
-- Sykora --
|
|
|
08-09-2006, 12:47 PM
|
#11 (permalink)
|
|
Level 96 Headbanger
Join Date: Apr 2005
Location: Metalopolis
Posts: 1,121
|
Re: Problem with commands in FC4
So, what should I do to make them available to the user (i.e. myself)
__________________
"Words meant to dwell in darkness shall never see the light of day.
Words can be broken, so can bones. Execute the mandate." :twisted:
Steam : DeathMetal
Garena : death_metal27
My Blog : The Pandemonium (Latest Post : Where does music come from?)
Guitar gear : GB&A (acoustic), ESP LTD-M50 ( New :twisted:), Roland MicroCube Amp.
|
|
|
08-09-2006, 03:00 PM
|
#12 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Problem with commands in FC4
First see if adding the following line in /etc/bash.bashrc.local helps out
__________________
http://www.bash.org/?258908
|
|
|
07-10-2006, 05:39 PM
|
#13 (permalink)
|
|
Level 96 Headbanger
Join Date: Apr 2005
Location: Metalopolis
Posts: 1,121
|
Re: Problem with commands in FC4
The command works. I am temporarily able to use the commands for one session. However, I am not able to find the file /etc/bash.bashrc.local , do I have to create it?
__________________
"Words meant to dwell in darkness shall never see the light of day.
Words can be broken, so can bones. Execute the mandate." :twisted:
Steam : DeathMetal
Garena : death_metal27
My Blog : The Pandemonium (Latest Post : Where does music come from?)
Guitar gear : GB&A (acoustic), ESP LTD-M50 ( New :twisted:), Roland MicroCube Amp.
|
|
|
07-10-2006, 07:24 PM
|
#14 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Problem with commands in FC4
Umm I am not so familar with FC, maybe you could look up in their docs or search up on the net, something similar should be there.
__________________
http://www.bash.org/?258908
|
|
|
07-10-2006, 07:45 PM
|
#15 (permalink)
|
|
I see right through you.
Join Date: Sep 2005
Location: Chennai
Posts: 597
|
Re: Problem with commands in FC4
You can add the command in your ~/.bashrc file. It's got to be there. Otherwise, it'll be called ~/.bash-profile or something like that.
__________________
I didn't make the world, I only try to live in it.
http://lucentbeing.com
-- Sykora --
|
|
|
07-10-2006, 08:39 PM
|
#16 (permalink)
|
|
Wise Old Owl
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
|
Re: Problem with commands in FC4
@Desmond, the files .bashrc, .bash_profile are hidden files!!!
They are in your home directory. For eg., if your Login name is desmond , then
your home is /home/desmond. You can view the hidden files in GNOME , from the
menu 'View'->'Show Hidden files' (Ctrl + H). Another way to view them is from
the Terminal Window, type:
$ ls -al
__________________
* Imagination is more important than knowledge.
-Albert Einstein
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|