Results 1 to 5 of 5

Thread: command not found

  1. #1

    Default command not found

    as part of trying to check out a USB scanner, I tried the command : modprobe scanner in a terminal, and got the answer "Command not found": I had previously had the same response (when I think back), to "lsusb" for which the answer was download lsusbutils; that solved the lsusb problem;

    (we have put 11.0 onto one of two computers, and started the install by downloading the gnomeCD); that leaves us short of what the DVD holds;


    so:

    1) am I missing yet more useful files; (because I get the command not found to modprobe scanner)

    and perhaps

    2) a recommended way to download now what a full DVD install has; to save stumbling on missing files, and then downloading intermittently

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,520
    Blog Entries
    15

    Default Re: command not found

    Quote Originally Posted by pdc 2
    as part of trying to check out a USB scanner, I tried the command :
    modprobe scanner in a terminal, and got the answer "Command not found":
    I had previously had the same response (when I think back), to "lsusb"
    for which the answer was download lsusbutils; that solved the lsusb
    problem;

    (-we have put 11.0 onto one of two computers, and started the install
    by downloading the gnomeCD-); that leaves us short of what the DVD
    holds;


    so:

    1) am I missing yet more useful files; (because I get the command not
    found to modprobe scanner)

    and perhaps

    2) a recommended way to download now what a full DVD install has; to
    save stumbling on missing files, and then downloading intermittently
    Hi
    You might find it useful to run the man <name of command> first to find
    out what it does? locate or which <name of command> will help locate it

    Code:
    malcolml@kermit-opensuse:~> which modprobe
    which: no modprobe in
    (/home/malcolml/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/NX/bin
    So it must be a system type command that can only be run by root
    user...

    Code:
    malcolml@kermit-opensuse:~> sudo which modprobe
    /sbin/modprobe
    malcolml@kermit-opensuse:~> sudo /sbin/modprobe scanner
    FATAL: Module scanner not found.
    It appears the module 'scanner' doesn't exist on my system (I've never
    heard of the module 'scanner')

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
    up 4 days 5:16, 3 users, load average: 0.20, 0.28, 0.26
    GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12


  3. #3

    Default Re: command not found

    thanks very much for this: very helpful

  4. #4
    Tilman Schmidt NNTP User

    Default Re: command not found

    pdc 2 schrieb:
    > as part of trying to check out a USB scanner, I tried the command :
    > modprobe scanner in a terminal, and got the answer "Command not found":


    The modprobe command is a system command and resides in the directory
    /sbin, which isn't part of the search path of a regular user. But you
    have to run it as superuser anyway, so become superuser in your
    terminal by using the "su" command and then try the modprobe command
    again.

    > 1) am I missing yet more useful files; (because I get the command not
    > found to modprobe scanner)


    Certainly not. The modprobe command is present on your system, otherwise
    it wouldn't get very far, ie. you wouldn'T even be able to enter a
    command. :-)

    HTH
    T.

  5. #5

    Default Re: command not found

    'whereis -b' will find a binary (-b for binary), whether it's in root's PATH or your user PATH.
    'type' is also pretty useful, as it will tell you if a commmand is a binary, alias, bash builtin, etc.), but it only searches in your PATH - like 'which'.

Posting Permissions

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