How to run Unix Commands in vi/vim editor

Pradeep Kumar

I am a huge fan of open source and love to share How To's tutorials on Linux, Cloud and DevOps. I have been working as Linux Consultant, Cloud & DevOps Engineer since 2010

You may also like...

1 Response

  1. Shawn H Corey says:

    You can filter lines through a shell command. For example, to sort some lines:

    Go the the top of the lines and press: ma

    Go to the bottom of the lines and press: !’asort
    and then RETURN.

    The lines will be sorted. 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *