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?
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?
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?
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!
The commands you have listed are part of coreutils : *www.gnu.org/software/coreutils/manual/html_mono/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.
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.
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.
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?
@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:
Hi Guest we just wanted to alert you to a major change in the forum. We will no longer be allowing the posting of outgoing links. Please use the attachment feature to attach media to your posts.