I open a file in Ubuntu nano editor from the comand line and I want to copy all the contents of the file so I can paste it in an another application outside the shell.
So far I can only copy using shift on the screen that is visible but not on all content.
You can't use the buffer of
nanoto use it elsewhere, you need to use the buffer of X or Gnome.
xclip is the solution.