[NTLUG:Discuss] Question on understanding Konsole

Allen Meyers chef11994 at sbcglobal.net
Sun Aug 24 14:47:25 CDT 2008


Tony
Thank you so much. Now I understand much better then I did
Allen

 
Allen Meyers
chef11994 at sbcglobal.net
wortham_tx at yahoo.com




 

 



----- Original Message ----
From: Tony <imageek72 at gmail.com>
To: NTLUG Discussion List <discuss at ntlug.org>
Sent: Sunday, August 24, 2008 1:41:57 PM
Subject: Re: [NTLUG:Discuss] Question on understanding Konsole

On Sun, Aug 24, 2008 at 6:19 AM, Allen Meyers <chef11994 at sbcglobal.net> wrote:
>   using the Kubuntu desktop and typing a command+pressing enter and being asked for password leads one to
>   believe they are on the right track. Upon entering password then one is informed that command was not found.
>   My only question here is I know the command line was correct for ubuntu so my obvious conclusion is it is
>   different for Kubuntu. Now is it that simple or am I missing the point again on command line.

If you are using "sudo" at the beginning of your command, then even if
the command does not exist or is typed wrong, it will prompt you for
the password. You should see if the command exists without putting the
sudo in front of it first. It could be that what you are trying to
type is not installed. Preceeding "sudo" to any command just means
"run this command as the super user" aka "run this command as root".
It is a way of giving you more privileges. Not all commands need this.
Only a few of them will unless you are doing some kind of system
administration. The caveat with what i suggested is that when you use
sudo vs. not using sudo, sometimes sudo adds extra paths to you $PATH
environment so that your shell has the ability to "see" those system
commands that you would otherwise not be able to run without first
typing sudo or modifying your $PATH by hand. The $PATH is an
environment variable that is a list of directories that the operating
system looks in to find commands issued by the user. For example, when
you type "ls" to list files, you are actually executing "/bin/ls"
because the /bin directory is in your path by default.  I hope this
has given you a little bit of insight.

_______________________________________________
http://www.ntlug.org/mailman/listinfo/discuss


More information about the Discuss mailing list