Linux 101: How to execute commands from within the nano text editor

If nano is your Linux editor of choice, and you want to make it a bit more flexible, Jack Wallen is ready to help you with the built-in Execute tool.

Image: jivacore/Shutterstock

The nano text editor has some really cool tricks up its sleeve. One that you probably weren’t aware of was the ability to execute commands and add the output of those commands into the file you are working with. 

SEE: The best programming languages to learn–and the worst (TechRepublic Premium)

Say, for example, you are writing a script or some other file and you needed the contents of your home directory added to it. You could always open a second terminal window, issue the ls command, copy the results, and then paste them into the document. Or, you could use the built-in Execute feature that would paste the output of the command into the…

Keep reading the full content on the TechRepublic site.


Get Free Email Updates!

Signup now and receive an email once I publish new content.

I agree to have my personal information transfered to ConvertKit ( more information )

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Spread the love

Leave a Comment