How to move selected lines within a file

Posted by Bob_Mesibov on May 13, 2020 1:15 AM EDT
BASHing data
Mail this story
Print this story

If you're working with a GUI text editor and want to move a particular line from one place to another, you might use cut and paste. If you're working with a text file on the command line (not in an editor like emacs or vim) and don't want to use a clipboard, line-moving can be done with a single command.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.