Suppose I have the following line in my command prompt and the cursor is at the and of the line or the beginning of the line by using (CTRL+A)
[subhrcho@slc04lyo pcbpel]$ abc def ghi jkl
How can I navigate to a particular word say, for example, to def
. I am using tcsh shell in linux with default binding which I suppose is emacs mode.
P.S:I do not have a Meta key in my keyboard. I can move forward or backward between words by using CTRL+f and respectively. So I think my Meta key is the Esc key. Please correct me if that presumption is wrong. Alt isn't working either as the meta key.I had a look at the emacs documentation but invoking CTRL-s w and then pressing Enter is not working for me. It would just try to execute whatever is there in the prompt by first appending a w
character to it and the prompt would say :
[subhrcho@slc04lyo pcbpel]$ abc def ghi jklw
abc: Command not found.