6

I'm using FileZilla and have found the default LibreOffice Writer not the best for on-the-go code editing.

I have the option to use custom program for text editing, so why not give nano a go. So I'm wondering, where is the nano (shell script?) file located?

I had a quick Google for this question and only found an ArchLinux forum posing the question on this thread.

From the thread, I checked /usr/bin/nano and it's not existant there.

1

3 Answers 3

10

The easiest method:

$ which nano
/bin/nano
0
2

Or you can use

$ whereis nano
nano: /bin/nano 
0

You might like geany which is a useful GUI editor for text files.

sudo apt-get install geany
4
  • Installed it, very nice :) I'll stick to Nano for quick edits though.
    – Jack Hales
    Oct 29, 2017 at 20:02
  • That is a good idea, @Jek. For example, I use nano to edit (small) system files and configuration files which need elevated permissions, for example sudo nano /etc/fstab otherwise I use geany most of the time.
    – sudodus
    Oct 29, 2017 at 20:05
  • I'm in the same area @sudodus, I use nano for small things BUT I use atom for project development and larger files. I have a serious love for nano being able to go to a specific line, I don't know why. nano ./httpf.conf +250
    – Jack Hales
    Oct 29, 2017 at 20:37
  • This answer is better suited as a comment.
    – Zimano
    Mar 27 at 16:30

Not the answer you're looking for? Browse other questions tagged .