Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

574
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda