Another strange thing is that which works in a non-X terminal (by switching to a text-mode console via Ctrl-Alt-F1). When I use which there, it works, but both in uxterm and GNOME Terminal I don't get the correct output.
Another strange thing is that which works in a non-X terminal (by switching to a text-mode console via Ctrl-Alt-F1). When I use which there, it works, but both in uxterm and GNOME Terminal I don't get the correct output.