4 Aug 2009 13:24
Re: how to kill current process in 1 easy step
Forgot reply-to-list again. Relevant parts of of disscusion (with Radu's permission): On Fri, Jul 24, 2009 at 13:20, Beni Cherniavsky<cben@...> wrote: ... > The fish name for $$ is %self: ... > The logic behind the notation is that in fish, % expands to process IDs. > [There is a small downside to reserving "%self" - it means you can't > use it to find the PIDs of programs whose names start with "self". > Maybe "%%" would be a better notation?] > On Fri, Jul 24, 2009 at 13:46, Radu Benea<kitanatahu@...> wrote: > It's just that I sometimes type an awful lot of commands trying to find the > correct syntax for something and just need the last command remembered in > history (the correct one) > Like a few days ago I tried to find the correct way to make a flv file with > mencoder and I tried like 50 variants till I was satisfied, I could safely > paste just the last command in a shell which remembers history and forget > about the rest, so I don't have so many useless items in history. > > Best regards, > Radu > On Sun, Jul 26, 2009 at 15:03, Beni Cherniavsky<cben@...> wrote: > Usually such junk commands don't bother me. > Next time I need them, I'd type "mencoder <Up>" and get the last such > command, presumably the working one. Also, after re-using the right command(Continue reading)
RSS Feed