PDA

View Full Version : Commands Not Working


a3rofoil
28th July 2006, 03:34 PM
Hi all

I am new to fedora, a migrant from suse, when I realised just how much faster fc5 was. I have tried searching the forums for this but could not find anything.

FC5 has installed, and I am now trying to run a setup script a friend gave me. The setup script runs fine on his machine and other machines he has used it on, however on mine it doesn't. This can be put down to the fact that some commands are not working on my machine.

First of all the command;
cp all-20050412.tar.bz2 /home/$username/Downloads
does not work for some reason. The file exists and is in the correct place and the Downloads folder exists with perms 755. It erros saying the file does not exist but it does and it is currently in the correct directory where the file is.

Secondly;
chkconfig --level 345 NetworkManager on
does not work either. It says the command chkconfig does not exist?!

Thanks in advance for any help. I think I have included all the relevent information, but am a bit new to fc5 (and indeed linux in general) so please go easy on me.

Edit: I have run the disk check, and the installation DVD passed the test.

Thanks again.

pparks1
28th July 2006, 03:36 PM
With regards to the chkconfig command, you likely need to su to the root account, but you have to do so with dash option (to load root's profile). Just like this;

su -

remember the DASH (-). It's the most important part with regards to the problem you are having.

a3rofoil
28th July 2006, 04:19 PM

Great that worked - thanks so much :D

Thanks for explaining what the dash does too, helps my understanding :)

multescugeorge@
28th July 2006, 05:02 PM
Also, you can get Fedora to be even faster than it is now, with this:
http://members.optusnet.com.au/ckolivas/kernel/
But that requires a kernel compile, a kernel patch and other more complex thingys, we'll leave that for when your Linux Knowledge (LK) increases.