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:

001-How-to-Paste-Text-Into-a-Linux-Terminal-Window

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

Creating Users and Managing Passwords in Microsoft Office 365

0 642 3

In this Office 365 training video, instructor Spike Xavier demonstrates how to create users and manage passwords in Office 365.   For instructor-led Office 365 training classes, see our course schedulle: Spike Xavier SharePoint Instructor – Interface Technical Training Phoenix, AZ 20347: Enabling and Managing Office 365    

Subnetting a TCP/IP Network using the Magic Box Method

0 1649 5

See our class schedule for complete Course Schedule Training. Classes are held in Phoenix, AZ and can be attended online from anywhere in the world with RemoteLive™. Instructor: Rick Trader  Video Transcription: One of the things that we might have to do in our corporate network is to take a class of IP addresses and then subnet that into … Continue reading Subnetting a TCP/IP Network using the Magic Box Method

Detailed Forensic Investigation of Malware Infections – April 21, 2015

4 608 5

How does an investigator hunt down and identify unknown malware? In this recording of our IT Security training webinar on April 21, 2015, Security expert Mike Danseglio (CISSP / CEH) performed several malware investigations on infected computers and identify symptoms, find root cause, and follow the leads to determine what’s happening. He demonstrated his preferred … Continue reading Detailed Forensic Investigation of Malware Infections – April 21, 2015

Write a Comment

Share your thoughts...

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