Questions tagged [nano]

GNU nano is an open source, curses-based text editor for Unix systems. It is a clone of [tag:pico], the proprietary Pine e-mail client editor.

Nano is a simple, small, lightweight text editor for written in . It was created in 1999 under the name TIP ("this isn't pico"). It was renamed to avoid conflit with the tip command in 2000 and officially joined the GNU project in 2001.

Nowadays, nano supports interaction through mouse, syntax highlight, -based search, customization of key bindings and (experimental) undo/redo support. More about it can be read in its homepage.

295 questions
-1
votes
1 answer

nano: do you know if is there any way to open the last edited file?

Im just starting with nano, and I'm wondering if is there any way to open the last edited file in nano after close and open it again?
tirenweb
  • 30,963
  • 73
  • 183
  • 303
-1
votes
3 answers

Why won't nano editor install on my mac?

Ok so I am trying to install nano in terminal on my macbook. I downloaded the file, unzipped it, and located the folder/files in terminal. I ran the ./configure command. Then "make." Both ran fine. On "make install" I keep getting an error about…
ModdedLife
  • 669
  • 2
  • 11
  • 24
-2
votes
1 answer

Nano in AWS Linux 2

My 'vi' editor skills are rusty so I thought I would use Nano on my Linux 2 Ec2 instance. The legend at the bottom surely helps, but I can not figure out what the 'M-" means. Such as 'M-Undo', 'M-E Redo' and 'M-A Mark Text'. I now realize that the…
-2
votes
1 answer

Paste a paragraph into a nano editor

I try to copy a paragraph from Word file into a nano editor. When, I open the file nano file.txt, I remark that the text is set into one long line. Is there any option to automatically set the paragraph into several lines as in Word file? I try…
LearnToGrow
  • 1,656
  • 6
  • 30
  • 53
-2
votes
1 answer

Ping 6 program in nano linux using c programming

I am trying to write a program in C language using the nano ceditor in linux(ubuntu) in order to ping many devices at the same time, the goal is to retrieve roundtime information about the ping. The program looks like this : #include…
Fred
  • 1
  • 1
-2
votes
1 answer

problems scripting in linux over ssh from mac

I have a problem using nano in a server throught ssh from mac or other linux. If I write 'sleep 10' in the terminal, over ssh, it works. if I do 'echo "sleep 10" > test.sh' and sh test.sh, it works. If I open nano, write 'sleep 10' and save as…
-2
votes
1 answer

nano via SSH commands not working

I logged into my VPS server via SSH from my remote computer, a macbook pro. I run the command visudo to edit a config file using nano, when I am done editing the file I attempt to exit using control x or ^x (same thing). However instead of…
Hurricane Development
  • 2,449
  • 1
  • 19
  • 40
-3
votes
1 answer

How to open file in nano in C

So I am writing a C program that is more of a shell and I have come to the point where I need to create a command to open a file in nano. I actually have this working pretty nicely and it is all working. Except that I am getting a Sh 1. Permission…
-6
votes
3 answers

How to add dots between every two digits of a six digit substring?

I have a text file that contains roughly a thousand file names that I need to change slightly. Each file name is a date and time formatted like: 2013-05-01 120125.jpg I need to convert all of them to: 2013-05-01 12.01.25.jpg I'm assuming this…
zip_000
  • 1
  • 2
1 2 3
19
20