LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2016, 01:32 PM   #1
PleaseHelpMeUnderstand
Member
 
Registered: Apr 2016
Posts: 32

Rep: Reputation: Disabled
Copying from Linux into Word?


I created a text file from ls -l /bin that I need to copy all the permissions listed into a word document. I saved the list from the terminal to the gedit and saved it as bin permissions.txt. I tried right clicking and copying but it did not paste in Word or in Notepad. I also tried ctrl C and ctrl V to copy and paste but that didn't work either. Is this happening because I am working on a virtual machine? Thanks in advance for any assistance offered

Last edited by PleaseHelpMeUnderstand; 05-19-2016 at 01:34 PM.
 
Old 05-19-2016, 01:42 PM   #2
dolphin_oracle
Member
 
Registered: Dec 2013
Posts: 328

Rep: Reputation: Disabled
yes. the virtual machine and your host machine (I assume windows) do not share a clipboard automatically.
 
Old 05-19-2016, 01:46 PM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
what kind of virtual machine is that? VirtualBox has a feature to share clipboard. Also you may try to copy the file from one host to the other.
 
Old 05-19-2016, 01:49 PM   #4
PleaseHelpMeUnderstand
Member
 
Registered: Apr 2016
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
what kind of virtual machine is that? VirtualBox has a feature to share clipboard. Also you may try to copy the file from one host to the other.
Unfortunately it isn't Virtual Box

It's vSphere Client
CentOS 4/5/6 (64-bit)
VM Version: 8

I hope I am answering you correctly but this is what is listed on the machine
 
Old 05-19-2016, 01:56 PM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
and the other host (is virtual too)? Can you copy a file from centos to windows at all? Do they have network?
 
Old 05-19-2016, 01:57 PM   #6
PleaseHelpMeUnderstand
Member
 
Registered: Apr 2016
Posts: 32

Original Poster
Rep: Reputation: Disabled
Wow ok I found some sort of work around for this. I opened up Firefox inside of the virtual machine and it allowed me to open my email so I pasted the contents into my email and EUREKA it pasted! So I opened it up again in Windows and pasted it to Word
 
Old 05-19-2016, 01:59 PM   #7
PleaseHelpMeUnderstand
Member
 
Registered: Apr 2016
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
and the other host (is virtual too)? Can you copy a file from centos to windows at all? Do they have network?
Yes there was a network but it wouldn't allow me to copy anything into Windows. When I attempted, it just sat there & nothing happened
 
Old 05-19-2016, 02:07 PM   #8
PleaseHelpMeUnderstand
Member
 
Registered: Apr 2016
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dolphin_oracle View Post
yes. the virtual machine and your host machine (I assume windows) do not share a clipboard automatically.
Quote:
Originally Posted by pan64 View Post
and the other host (is virtual too)? Can you copy a file from centos to windows at all? Do they have network?
Thank you both for helping me
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux Script required for word by word comaprison from 2 carat separated files. rajeevdvedi2006 Linux - Newbie 1 05-29-2013 07:24 AM
[SOLVED] Find/Replace shell script that replaces word with other word in text, filenames yanom Programming 8 09-12-2012 01:29 AM
[SOLVED] next word of a particular word in linux dinakumar12 Linux - Newbie 13 02-09-2011 10:50 AM
How can i read two files word by word at a time using any loop by shell script? vaibhavs17 Programming 16 03-19-2010 04:48 AM
Problems Copying & Pasting In Word When Word Closes - Ubuntu davidx Linux - Software 3 10-22-2008 09:21 PM


All times are GMT -5. The time now is 08:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration