Find the answer to your Linux question:
Results 1 to 8 of 8
2nd thread in 24h time,please don't kill me So,I've solved the Network problem and installed Wine,now I'm trying to run the Winecfg using a command in shell "$ winecfg",but I ...
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Location
    Syria
    Posts
    9

    Can't run Commands ??

    2nd thread in 24h time,please don't kill me

    So,I've solved the Network problem and installed Wine,now I'm trying to run the Winecfg using a command in shell "$ winecfg",but I keep getting this message "bash: $: command not found"

    I've tried to install Smart Package manager through Shell and got the same error message too,so I'm wondering if my installation is damaged somehow

    btw,I have SUSE 10.2 and I've just updated to Kernel 2.6.18 today.

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    That error means the command does not exist on your system or its not in your path. Run "whereis winecfg" and see if there is any helpful info with regards to the location of winecfg.

  3. #3
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Can you post the exact content of the terminal window after you get the error? Also commands are case sensitive. Ensure you don't have caps lock on.

  4. #4
    Linux User dxqcanada's Avatar
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    259
    Do not type in the "$" when starting the command.

    At times you will see examples of a command ... example:
    Code:
    $ winecfg
    this shows the root prompt "$" and the command that was typed in "winecfg".



    Men occasionally stumble over the truth,
    but most of them pick themselves up
    and hurry off as if nothing had happened.

    Winston Churchill


    ... then the Unix-Gods created "man" ...

  5. #5
    Just Joined!
    Join Date
    Feb 2007
    Location
    Syria
    Posts
    9
    Quote Originally Posted by dxqcanada View Post
    Do not type in the "$" when starting the command.

    At times you will see examples of a command ... example:
    Code:
    $ winecfg
    this shows the root prompt "$" and the command that was typed in "winecfg".
    Nailed it mate,I just had to remove the $ symbol

  6. #6
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Nice one! I can't believe I didn't spot that, you had it right there

  7. #7
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Quote Originally Posted by bigtomrodney View Post
    Nice one! I can't believe I didn't spot that, you had it right there
    I didn't spot it either Its amazing how some things are just plain simple to solve and we make it complicated.

  8. #8
    Linux User dxqcanada's Avatar
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    259
    Sometimes we have to think simple ... I immediately did not notice the "$:" in the error message also.

    though I made an error ... the "$" is not the root user's prompt.
    "$" is commonly the non-root user's prompt.
    "#" is commonly the root user's prompt.



    Men occasionally stumble over the truth,
    but most of them pick themselves up
    and hurry off as if nothing had happened.

    Winston Churchill


    ... then the Unix-Gods created "man" ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...