1
vote
4answers
336 views

Copy from guest Ubuntu terminal in virual machine to Microsoft Word on host windows

Is it possible to copy from the Ubuntu terminal to Microsoft Word? In fact, Microsoft Word is installed on my computer while I am running Ubuntu on a virtual machine.
1
vote
1answer
203 views

Processing clipboard text through a script in between copy and paste

I want to intercept the paste event and run any text through my script. Use case is like this (assume I have a script somewhere which accepts text on stdin and turns 'world' into 'potato', writing on ...
2
votes
2answers
81 views

Which File Is Changed Or Event Is Fired When Something Is Copied To The Clipboard (Ctrl + C)?

If I'd to hook a function or a program that should execute when the system clipboard content is changed then of which file I've to keep checking or which event is fired and how to catch that event by ...
1
vote
1answer
96 views

VIM Overwrite instead of edit

I am currently running the following two commands. \rm myfile vim myfile Then, i, to enter insert mode, and ctrl-shift-v to paste Basically I have text on my clipboard that I would like to copy ...
0
votes
1answer
64 views

Configuring gmusicbrowser to copy now playing to X clipboard

I'm trying to get gmusicbrowser to copy song information to my X.org clipboard with the Now Playing plugin. For on song change, in the plugin's configuration, I have echo "%a - %t (from %l, %y)" | ...
2
votes
1answer
647 views

Save last “copy” from clipboard to file

I am able to copy a massive string of text but unable to paste it anywhere without the program crashing. So, I wonder: How can I fetch it from the clipboard via CLI and save it to a file instead? ...
2
votes
2answers
199 views

How to copy many files to clipboard from the command line?

Suppose you have different files in a directory: one.txt, two.jpg, three.pdf, four.jpg etc. You want to copy them all to clipboard from the command line. Something like copyclipboard *. How do you do ...
36
votes
2answers
13k views

What is the command line equivalent of copying a file to clipboard? [duplicate]

What is the command line equivalent to pressing CTRL+C over a file in the file manager so that the file (not the filename) is copied to the clipboard? A situation where this can be useful and fast, ...
5
votes
5answers
1k views

Copy terminal result from one window to another

I often have many terminals open when working (GNOME Terminal 3.4.1.1, Bash). Quite often I need to copy the results of one terminal into another. An common scenario: terminalA> pwd ...
0
votes
1answer
1k views

How do I copy files from Windows partition to my Ubuntu partition [closed]

I am dual-booting Windows 7 and Ubuntu and I have many important files on my Windows OS. I've been trying to copy the files from windows to my Ubuntu home directory but the paste option is disabled ...
0
votes
1answer
1k views

Is there any way for selecting text in Ubuntu server?

I'm running ubuntu server virtually . I can't select any text with the mouse since we all know there is no mouse in the server version. so how can I select particular lines of text in Ubuntu server?
20
votes
1answer
4k views

How do I pipe terminal standard output (stdout) to the clipboard?

For example, Say I want to list the contents of a folder and directly paste them into a chat window for a friend to see. I realize I could do ls > filename.txt to create a file (filename.txt) ...
1
vote
1answer
137 views

How to make an interrupt assignment in the terminal stick

I followed the instructions from enzotib's answer on Making Ctrl+C copy text in gnome-terminal? to make the ctrl-c and ctrl-v keys act consistent in the terminal and then re-assign ctrl-j to be the ...
2
votes
3answers
4k views

Cut and Copy in Ubuntu Command line

How Could i copy or cut a file from a directory to another directory? I mean in command line!
0
votes
1answer
409 views

How to use primary selection with tilda/terminal

Let me make my question a little bit more clear. I am a linux noob and still trying to get the feel on linux command line. I use tilda as my drop-down terminal. Suppose, I enter a command in ...
1
vote
4answers
372 views

Copying commands from ubuntu 10.04 terminal

Can anyone tell me the way to copy commands from the Ubuntu terminal? I tried Ctrl+C, Shift+Ins, right click option but none of these works.
3
votes
1answer
3k views

Why can't I copy text from the Ubuntu Terminal?

This is really weird. I can't copy anything from the terminal. The Ctrl+Shift+C command and Edit->Copy does nothing, no matter how much or little text I have selected. What ever was on my clipboard ...
2
votes
2answers
379 views

Copy to Primary Selection in VIM

I tried "+y and "*y but both doesn't seem to copy into the primary selection. Note that vim --version returns -clipboard. Not sure what this means. Also note that I'm running VIM in a terminal. So ...
3
votes
1answer
3k views

Highlighting to Copy with Terminal

I'm wondering if there is a terminal enhancement, or a way to make the terminal to where when I highlight over anything it auto copies whatever I highlight. I know this is a feature in some terminal ...
6
votes
2answers
3k views

Command Line Clipboard Access

I'm building a command line tool in order to make some of my tasks more efficient. I need to be able to write content to the clipboard, but for some reason it's not working for me. I've tried ...
0
votes
2answers
3k views

How to copy everything from USB to file system

I have mounted the USB and have successfully accessed it. On the USB are files and directories with files within them as well as .htaccess files. I know that the terminal can't see the .htaccess ...
4
votes
3answers
1k views

Using Terminal I want to copy some files

Assuming I'm not in my home directory, I want to copy all the files starting with "a" from my home directory to my current directory. I've tried cp ~ a* . and different variations of that but it ...
12
votes
3answers
1k views

How to efficiently send text entered on the command line to the system clipboard without using the mouse?

Say I've typed the following long command into the command line $ some very long command that I want to copy to the clipboard How can I get this onto the system clipboard efficiently? I'm using ...
6
votes
2answers
2k views

Replacement for DOS xcopy command

In DOS there's the command xcopy /s *.mp3 ..\TEMP2 How can I do this in Ubuntu? cp -r *.mp3 ../TEMP2 will copy recursively all mp3 files, unfortunately without the path because of the *.mp3 ...
3
votes
2answers
1k views

paste selected text: switch right and middle click

Is there a way of choosing between right and middle click for pasting? There are ways of for disabling it, I want to change the behaviour How do I disable middle mouse button click paste?
4
votes
1answer
5k views

How to gain a permission for copy/pasting for system folders?

I've been using Windows OS before, and it's a bit hard for me copying and pasting to Ubuntu's system folders so. If i drag file or folder into File system folders, I'm getting "permission denied" ...
17
votes
3answers
932 views

How can I initiate Nautilus file operations from the command line?

How can I start Nautilus's "File Operations" GUI from the command line? My goal is to include this in a Nautilus script.
5
votes
3answers
1k views

How do I Copy one file to many subfolders?

It sounds like a simple question but if it was I wouldn't be asking it. I can obviously do this by opening all the folders in nautilus and pasting each one individually but the computer is the robot ...
4
votes
2answers
4k views

cp command process info

Is there any specific package for cp command which shows the process of being copied. I'm wondering if there is any package cp which shows additional information that what has been copied and what ...
7
votes
3answers
4k views

How to pause/resume transfer of large files?

I recently had to copy about 20 GB of data split between about 20 files from my laptop to an external hard drive. Since this operation takes quite a while (at ~560kb/s), I was wondering if there was ...
43
votes
10answers
31k views

A command-line clipboard copy and paste utility?

In Windows I used command-line clipboard copy-and-paste utilities... pclip.exe and gclip.exe These were UnixUtils ports for Windows (but they only handled plain text). There were a couple of ...
3
votes
1answer
513 views

Copy filename in Nautilus, pastes different formats in Terminal vs normal text field

I often copy fully qualified filenames from Nautilus... However I get a different paste result when I paste it into a Terminal vs. when I paste it into a "normal" text field (eg. a text editor, ...