3 ms·
There's a reason why the basic Unix file commands are ls, cp, mv, rm. They're easy to type on a TTY. grep is from the ed command "g/re/p" which is g (all line
by rswail 11mo ago
There's a reason why the basic Unix file commands are ls, cp, mv, rm.
They're easy to type on a TTY.
grep is from the ed command "g/re/p" which is g (all lines, short for "1,$") /re/ regular expression to search for, "p" to print the lines.
It still works in vi.