Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Direct copy from terminal

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
Agvaniot
Posts: 42
Joined: 2017-07-26 13:07

Direct copy from terminal

#1 Post by Agvaniot »

i am trying to understand how "copy paste" is working in debian since im trying to come up with script
that automatically copy text from terminal.
thanks in adnvace

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Direct copy from terminal

#2 Post by dasein »

Instead of presupposing the solution, maybe share what the end goal is?

Agvaniot
Posts: 42
Joined: 2017-07-26 13:07

Re: Direct copy from terminal

#3 Post by Agvaniot »

dasein wrote:Instead of presupposing the solution, maybe share what the end goal is?
personal preference.

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Direct copy from terminal

#4 Post by dasein »

I can't help but wonder if the use-case might be nefarious given that it can't be shared.

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Direct copy from terminal

#5 Post by Dai_trying »

One option would be to pipe the command output to a variable or file, that way it would be easily referenced inside your script, and much easier than trying to copy paste terminal output (shift+Ctrl+c to copy shift+Ctrl+v to paste).

Post Reply