No no, which
is a command that searches through your $PATH looking for whatever you give it on its command line (in this case, kdeinit and ksmserver). If it finds one, it prints out the (first) full path to it. If not, it prints "which: no kdeinit found in <bunch of directories corresponding to the current $PATH>".
On my partition that still has KDE 3.0.1 installed on it, which kdeinit
says /usr/kde3/bin/kdeinit. On my main partition, where I use twm instead (yeah, I know, I'm weird for that, oh well
), which kdeinit
prints "which: no kdeinit found in /bin:/usr/bin:/usr/X11R6/bin:/usr/java/j2sdk1.4.0_02/bin:/usr/local/bin". What does it print on your system?