Nano Tip

Hints HOWTOs UNIX

I have been doing a lot of work recently on a remote server and have needed to use a text editor – so I decided to use the ever-so-easy nano. Problem is – the files I am working on are very long and editing them is not fun. I finally decided to look through the man pages (I am an emacs person myself) and found something that ended up saving me tons of time…”go to line number”. If you are editing a file and know you need to edit something on line 1245, you would type in:

nano +1245 master.css

and it would open the file to line 1245 so you do not need to scroll down. Thank you man pages!

One thought on “Nano Tip”

  1. Ben

    You know me… I can’t help to offer up my ever favorite tool. BBEdit will open files via ftp or sftp (the ssh variety). <3 ssh. <3 working in BBEdit and not in a terminal window.

Leave a Reply

Your email address will not be published.
*
*

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Life

A Moment Outside

Last weekend Amy, Evan, and I went to some friends’ lake house. We had a nice encounter with some deer (much better than the bear I encountered in my parent’s back yard this summer)

Hosting jappler.com

Jappler Recommends: Liquid Web

It has almost been two years since I moved all my sites to Liquid Web for my hosting needs and am still very happy with them. If you take a look at my hosting category, you can see I have been around the block a few times. I have had a few issues, BUT, everyone […]