Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 01-09-2006, 02:38 PM   #1 (permalink)
Level 96 Headbanger
 
DeSmOnD dAvId's Avatar
 
Join Date: Apr 2005
Location: Metalopolis
Posts: 1,121
Default 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.
DeSmOnD dAvId is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 01-09-2006, 02:58 PM   #2 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default 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
mehulved is offline  
Old 01-09-2006, 08:24 PM   #3 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile 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.
praka123 is offline  
Old 02-09-2006, 11:57 AM   #4 (permalink)
Level 96 Headbanger
 
DeSmOnD dAvId's Avatar
 
Join Date: Apr 2005
Location: Metalopolis
Posts: 1,121
Default 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.
DeSmOnD dAvId is offline  
Old 02-09-2006, 01:27 PM   #5 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default 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!
mediator is offline  
Old 02-09-2006, 01:50 PM   #6 (permalink)
I see right through you.
 
Sykora's Avatar
 
Join Date: Sep 2005
Location: Chennai
Posts: 597
Default 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 --
Sykora is offline  
Old 06-09-2006, 01:30 PM   #7 (permalink)
Level 96 Headbanger
 
DeSmOnD dAvId's Avatar
 
Join Date: Apr 2005
Location: Metalopolis
Posts: 1,121
Default 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.
DeSmOnD dAvId is offline  
Old 06-09-2006, 02:27 PM   #8 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Problem with commands in FC4

What is the output of
Code:
echo $PATH
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 07-09-2006, 11:19 AM   #9 (permalink)
Level 96 Headbanger
 
DeSmOnD dAvId's Avatar
 
Join Date: Apr 2005
Location: Metalopolis
Posts: 1,121
Default Re: Problem with commands in FC4

Quote:
Originally Posted by tech_your_future
What is the output of
Code:
echo $PATH
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.
DeSmOnD dAvId is offline  
Old 07-09-2006, 06:42 PM   #10 (permalink)
I see right through you.
 
Sykora's Avatar
 
Join Date: Sep 2005
Location: Chennai
Posts: 597
Default 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 --
Sykora is offline  
Old 08-09-2006, 12:47 PM   #11 (permalink)
Level 96 Headbanger
 
DeSmOnD dAvId's Avatar
 
Join Date: Apr 2005
Location: Metalopolis
Posts: 1,121
Default 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.
DeSmOnD dAvId is offline  
Old 08-09-2006, 03:00 PM   #12 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Problem with commands in FC4

First see if adding the following line in /etc/bash.bashrc.local helps out
Code:
PATH=$PATH:/sbin
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 07-10-2006, 05:39 PM   #13 (permalink)
Level 96 Headbanger
 
DeSmOnD dAvId's Avatar
 
Join Date: Apr 2005
Location: Metalopolis
Posts: 1,121
Default 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.
DeSmOnD dAvId is offline  
Old 07-10-2006, 07:24 PM   #14 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default 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
mehulved is offline  
Old 07-10-2006, 07:45 PM   #15 (permalink)
I see right through you.
 
Sykora's Avatar
 
Join Date: Sep 2005
Location: Chennai
Posts: 597
Default 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 --
Sykora is offline  
Old 07-10-2006, 08:39 PM   #16 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default 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
JGuru is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 05:12 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2