Tuesday, June 12, 2012

Less command


Less shows the content of a file. syntax is less filename.
You cant less output through a pipe but you can pipe to less.

SPACE = Move forward a page at a time
ESC then V = Move backward a page
UP and Down arrowkeys = Move up and down a line
/word = searches for word forwards
?word = searches for word backwards
g50 = jumps to row 50
q = exits Less program

No comments:

Post a Comment