Skip to content
← Back to Community
Is there a way to paste to the shell what's in my clipboard?
Profile icon
lopecg

--

Answered by Scoder12 [earned 5 cycles]
View Answer
Voters
Profile icon
EdmundEwe
Profile icon
SebastianTvorup
Profile icon
ChineduEdward
Profile icon
lopecg
Comments
hotnewtop
Profile icon
Scoder12

You can just right click on the terminal and select paste.

I am a repl.it helper. If this is helpful please mark my comment as the answer and upvote.

Profile icon
AdithyaShetty10

But it is not working [email protected]

Profile icon
abc3354

Hi !
If you do not want to use the context menu, there are keyboard shortcuts
Use ctrl-inser to copy and shift-inser to paste


Replit helper here !
If you found my answer helpful, you can upvote it :)
If my post answers the question, mark it as the answer with the check mark !

Profile icon
WhoCares3

@abc3354 wow, how did you discover this?

Profile icon
abc3354

@WhoCares3 I think I asked on the discord server

Profile icon
WhoCares3

@abc3354 oh, okay

Profile icon
TieDyeKatz

I am not too sure how you would input CTRL+V or CMD+V in a shell directly in Bash unless Readline is available for it (It's not unless you are using a Linux server). Otherwise, it will only do ^V as one character. If you know NodeJS, you can use the var readline = require('readline-sync') command to install Readline, and then by using the var <variablename> = readline.question("<yourquestion>") command, then you can paste directly.