How to Paste Text Into a Linux Terminal Window

Home > Blogs > Cisco > How to Paste Text Into a Linux Terminal Window

How to Paste Text Into a Linux Terminal Window

Like This Blog 0 Mark Jacob
Added by June 22, 2015

This is just a quick blog to describe a solution I found to an annoying problem.  I was working with Linux virtual machines (although this method will work on a nuts-and-bolts machine just as well) when I wanted to paste text into the window.  Of course, right clicking did nothing.  Control – V did nothing.  I was at a loss.  So I checked the usual web resources, and didn’t find a solution I liked.  Here is how I solved it

This solution does involve having another machine (in this case a Windows box) that can run terminal emulation software.  I used TeraTerm (accessible here Tera Term Home Page), but Putty or SecureCRT or any other terminal emulator will work.  See figure 1 for a screenshot of TeraTerm once it is launched:


Figure 1

I launched TeraTerm on my Windows box and then opened a SSH session to my Linux box.  Back on my Windows box, any command I wanted to enter, especially commands I was repeating frequently, I typed into Notepad.  I would then select text from the Notepad file on the Windows box, click into my TeraTerm window, and then paste the text there.  Since it was in an active session with my Linux box, the text was pasted into Linux as if I typed it there personally.

I am not saying this is the only way to accomplish what I was trying to do, but it certainly was easy, did not require any purchases, and is easy to describe and duplicate.  I hope you find it useful!

If you have any comments or questions, please feel free to post them….
Until next time.

Mark Jacob
Cisco and CompTIA Network + Instructor – Interface Technical Training
Phoenix, AZ


Videos You May Like

A Simple Introduction to Cisco CML2

0 3804 0

Mark Jacob, Cisco Instructor, presents an introduction to Cisco Modeling Labs 2.0 or CML2.0, an upgrade to Cisco’s VIRL Personal Edition. Mark demonstrates Terminal Emulator access to console, as well as console access from within the CML2.0 product. Hello, I’m Mark Jacob, a Cisco Instructor and Network Instructor at Interface Technical Training. I’ve been using … Continue reading A Simple Introduction to Cisco CML2

How to Build in a PSMethod to your PowerShell Code

0 71 0

In this video, PowerShell instructor Jason Yoder shows how to add Methods (PSMethod) to your code using free software that’s added into the PSObject. For instructor-led PowerShell courses, see our course schedule. Microsoft Windows PowerShell Training Download the Building Methods PowerShell script</a> used in this video. <# ╔══════════════════════════════════════════════════════════════════════════════╗ ║ ║ ║ Building Methods ║ ╟──────────────────────────────────────────────────────────────────────────────╢ … Continue reading How to Build in a PSMethod to your PowerShell Code

Configuring Windows Mobility Center and How to Turn it On and Off

1 1434 1

Video transcription Steve Fullmer: In our Windows training courses, we often share information about the Windows 8.1 Mobility Center. Mobility Center was introduced for mobile and laptop devices in Windows 7. It’s present and somewhat enhanced in Windows 8. Since we don’t have mobile devices in our classrooms, I decided to take a little bit … Continue reading Configuring Windows Mobility Center and How to Turn it On and Off

Write a Comment

Share your thoughts...

Please fill out the comment form below to post a reply.