I was having some weird issues today after my apache broke down completely. I had to reinstall apache and did so using apt-get install apache2.
Now, whenever I type ls it prints me: Compiled in modules: core.c mod_log_config.c mod_logio.c prefork.c http_core.c mod_so.c
The actual command does not work. Where as /bin/ls -la works. I think that looks like the other ls script is damaged.
All help is greatly appreciated.
Thanks!
lsinstead of getting a directory listing, you get a list of apache's compiled in modules? that doesn't make much sense. – cpbills Jun 5 '11 at 22:14/usr/sbin/lsin the title, but not in the question. What's your evidence for thinking that/usr/sbin/lsis what's run when you runlsat the shell prompt? – JdeBP Jun 5 '11 at 22:14$PATH" mean? If that's an answer to my question it's not a clear one. Again, what makes you think that/usr/sbin/lsis actually the program that you are running when you typelsat the command line? Indeed, what makes you think that/usr/sbin/lsis a script? What did you do to ask the shell what it runs for thelscommand? What did you do to determine what the file/usr/sbin/lscontains? – JdeBP Jun 8 '11 at 9:13