Re: mysterious /bin commands

From: David Oxlade (wadh1209_at_crow.linux.ox.ac.uk)
Date: 01/07/04


Date: Wed, 7 Jan 2004 20:59:23 +0000

On Wed, 7 Jan 2004, Hagit wrote:

> Hi
> VERY STRANGE thing is happened to me.
> I am running Linux on MPC8260ADS. When I have removed the /bin/lsmod
> and tried to run the command 'lsmod' and I succeded. I even typed
> /bin/lsmod and the command was executed. I tried to find any other
> location of this command and there isn't. Where does it run the
> command???? I have tried the same thing with other command in the /bin
> and I got the same results!!!!
> Please help
> Thanks
> Hagit

My guess would be that the 'lsmod' that you deleted from the /bin
directory was a symbolic link to the actual program which is in a
different directory - it's in /sbin in the Debian system I'm using. If
the /sbin (or whatever) directory is in your $PATH, the program would run
anyway.

HTH,

Dave



Relevant Pages

  • Re: FC6 not connecting
    ... are the modules loading for it? ... And what command a/o log will tell me whether modules are ... lsmod for listing loaded modules. ... # lspci ...
    (Fedora)
  • Re: Setting up KVM?
    ... Here's my lsmod output: ... Here's my command line to start the install: ... You need the kqemu module to have qemu acceleration, ... You also need a udev entry for the kqemu module like this: ...
    (Fedora)
  • Re: Strange Tape Drive Problem
    ... > I'm assuming it is a SCSI tape drive. ... When performing a 'lsmod', ... it returns to the command line without a ... Tape block size 512 bytes. ...
    (comp.os.linux.misc)
  • Re: mysterious /bin commands
    ... possbily other dists: ... Hagit wrote: ... > VERY STRANGE thing is happened to me. ... > and tried to run the command 'lsmod' and I succeded. ...
    (comp.os.linux.development.apps)
  • Re: [SLE] Audigy2 (Value?) help needed
    ... > Did you perhaps upgrade the kernel and not reboot yet? ... I haven't upgraded the kernel, it's still the stock default from the ... command. ... Lots of other stuff in lsmod, but none to do with sound, I think. ...
    (SuSE)