yezsmq
Last Updated: February 25, 2016
·
452
· sheerun
Photo on 08.01.2013 at 04.15

Search through file with less

For example to search for some_method in model.rb:

less -p some_method model.rb
  • Use n key to search for next match
  • Use v key to edit file on selected line.
Say Thanks
Respond
Filed Under

Awesome Job

96b73d3e 7dde 11e7 8947 789166ad48cb
Sr. Computer Scientist
·
San Jose or San Francisco, Californ
·
Full Time