Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

573
Views
Nano - File already being edited - How do I switch to the open file?

I have a tendency to miss-type while trying to Ctrl-X to exit nano.

Every now and then I'll try to re-open the file and get the Nano "File xxx is being edited". How do I switch back to the open file? And also, what am I miss-typing to cause this to happen?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

nano creates a lock file once you try to edit the file, I would say just try to move it and it might work.

over 4 years ago · Santiago Trujillo Report

0

First check if there is a process editing the file.

$> jobs

You will get a list of background jobs, look for Stopped ones.

If there is and it's your editor, try re-attaching to it:

$> fg <n>

Else, if there is no running nano, make sure there is no lock-file.

ls -A *.swp

If there is, remove it.

rm nnn.swp

If you still have trouble editing the file, reboot and restart above. Maybe there are more things to try, but that's all I can think of...

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!