General :: Command For Cut And Paste?
Jun 14, 2011Is there a terminal command that allows you to cut the text in a text file and paste it into antother text file?
View 8 RepliesIs there a terminal command that allows you to cut the text in a text file and paste it into antother text file?
View 8 RepliesI am trying to upgrade PHP on our linux box ( CentOS ) I copied the configure command from the phpinfo and now I want to execute that.I am not able to copy the command from an editor in linux to the command prompt, clicking the wheel om my mouse does not work, neither does shift-insert or ctrl-shift-insert.It does work in the editor itself.Is there a way to do this ?Or is there a way to execute the command in linux while it is in the file ? Like a bat file on Windows ?
View 14 Replies View RelatedI can't copy and paste into Cygwin... is there a good alternative to Cygwin that will let me do this?
View 7 Replies View RelatedThe usual vim yank and paste works only in the same window (but does work across files and close/save commands). Is it possible to make it work across terminals (yank from window in one terminal and paste in another) and if so, how?
View 1 Replies View RelatedOn standard Linux setups you have two general paste buffers, the main copy(^C)/paste(^V) one and the select-text/middle-click one. For both of these buffers:
At what level in the environment are these buffers stored/managed; the kernel, the X server, KDE/Gnome, or some other service somewhere? Can they be programmatically accessed somehow using some standard library?
There is xclip but this one does not fake the command to paste something to X11?
View 2 Replies View RelatedI'm using SSH (with -X specified) from a Ubuntu box to a RHEL4 box and running GVim. It opens as expected in my local X, but the copy and paste via select doesn't work. I cannot select text in GVim and paste in a local window, nor can I select text from a local window and paste in GVim. This works, however, when I SSH (with -X specified) to a different RHEL4 box. Is there something I need to install on the remote machine? I am running Parcellite 0.9.2 on the local box, but closing it doesn't make the problem go away, and it is not interfering with the other box.
View 1 Replies View RelatedI'm using a work computer so i don't have a root access. I've tried "+y, "*y, set clipboard=unnamed. It looks like my vim doesn't support +clipboard (version 7.0).I'm using Linux Centos 5 so fakeclips doesn't actually help (i think)It's a pain to type stuff manually from firefox to vim or other apps and vice versa.
View 3 Replies View RelatedI want to copy something from window to vi editor. what should I do?
View 3 Replies View RelatedI just installed Fedora11 with the KDE desktop and completed a yum update. Every time i try to copy and paste files and even delete files from a file manager or my desktop, I get this error:Quote:Could not start process Unable to create io-slave:klauncher said: Error loading 'kio_trash'.or thisQuote:Could not start process Unable to create io-slave:klauncher said: Error loading 'kio_file'.orQuote:Could not start process Unable to create io-slave:klauncher said: Error loading 'kio_desktop'.Current KDE version is 4.2.2
View 2 Replies View RelatedWe are having 12 windows computers xp which are connected to a linux machine which has samba server installed on it for backup purposes of these 12 windows users. We want the like this , that a user copy a folder from their local machine and paste it to the samba server . but they cannot delete this folder once the backup is there at linux machine.
So this is working fine. But our users are able to Rename the folder they have pasted at linux machine which we dont want . and even they are able to cut and paste files from 1 folder to another folder in the samba server. We just want them to copy a file or folder from their local windows machine and paste to samba server and they can also read it (copy and paste back to their windows computer)whenever they want . but we dont want them to cut and paste within linux machine and rename that file as well.
I am having a strange problem whenever I copy something from a webpage I see content more than required copied and I then have to manually go and delete all the content. This has been quite frustrating. I am using Ubuntu 9.04 and Dell Inspiron 1440 laptop. What should I check?
View 4 Replies View RelatedI have a file clipboard.txt
I do :
Code:
sleep 10s ; echo "focus on the gedit" ; xclip -o clipboard.txt
is not working.
How to make that possible, how?
I downloaded rhel 5.5 CD 1 iso to my PC, and used it as a virtual CD-ROM to kickstart HP DL380 G4.Here is my questions:
1. how can I cut and paste boot commands (very long strings) from my PC to iLO remote console?
2. is there anyway I can get "boot prompt" by ssh to iLo's IP?
3. after kickstart, I want to eject the virtual CD-ROM / media, I have tried the following method in the kickstart profile, but all failed, after reboot, it still boot from the virtual CD-ROM. So how can I reject the virtual CD-ROM for rhel 5.5 kickstart?
What is the best way to copy and paste some text among text documents in Linux terminal environment? Suppose I have 2 documents, A and B, and I want to copy some part of A to B. What is the way to achieve this?
View 5 Replies View RelatedI often have issues starting my window manager--xfce. My computer misbehaves in one of 3 ways, one of which is to fail to open X, but generate several screens of info. I want to paste that info to this site, but since I'm in the shell, not the terminal (please correct my vocabulary if it's wrong here), I don't know how to copy and paste the output, since right-clicking doesn't give me a menu. Even if I could copy I'm not sure the information would be accessible in X. Are there any other options?
View 13 Replies View RelatedSomeone edited it - it worked as it should....Where does it live? I am certain there should be a backup.
View 2 Replies View RelatedI am trying to copy paste from a file in Nano to a text editor outside of nano on my machine (I am running windows using Nano through Putty) and I cannot figure out how to do it. I can select with mouse support enabled everything that I want to in Nano and I can cut it, but when I try to copy into my other text editor, it does not work.
View 4 Replies View RelatedIn a terminal in OSX I can pipe output to pbcopy and then go into a web browser and paste it. I tried this in Linux with xcopy but when I switch to the browser it just overwrites the clipboard with with whatever was in it the last time the browser was used. What works like pbcopy in Linux?
View 1 Replies View RelatedI am using Ubuntu 10.04. I want to disable the cut, copy, paste options in the Edit menu when my system is connected by rdesktop. I want to make a write/copy protected session in the rdesktop. I have disabled the keybord shortcuts like Ctrl+X ,Ctrl+V, Ctrl+C by disabling their Keysyms in the rdesktop code. Now I need to disable the options in the edit menu.
View 3 Replies View RelatedLets say I log in to bash, open a file in vi, then using alt-f2 I open a new terminal. After logging in I navigate to a second file and open that in vi. How can I CnP between these two files?
I found this from [URL]. I'm not familiar with this command shift-8-y-y. I follow the vimtutor and use virtual mode. I tried this sequence and was unsuccessful.
And, I read this about registers. I found a mention of using double_quote-p to 'put' or paste the register, but this does not work in a different file. The second file reported the register empty.
Alternatively, I read in the VIM docs, it is possible to open multiple files under split screens. This may be a course to a solution. The need I often encounter has me navigating in a different bash window to find a file, then wishing to copy between the two. Whereas, I imagine, a split VIM window useful for files in the same directory.
I installed Slackware 13.37 current 32 bit (kernel 2.6.38.7-smp) last saturday and almost everything works fine. I don't understand why I cannot use Ctrl-Ins and Shift-Ins shortcuts for copy and paste in console terminal. Shortcuts works fine in X terminal (fluxbox) Konsole... but they don't in text console.
View 2 Replies View Relatedknow what can be done to enable the "select text to copy" and "shift+insert to paste" features in linux.
View 2 Replies View RelatedI just maked an ext4 partition by the help of gparted. Ubuntu is my only OS no dual boot. Using Ubuntu Maverick. The problem is partition must be open as root to do any work else it wont even allow me to open file,create folder,cut copy paste or anything.
View 9 Replies View Relatedi'm used to using putty on a window's machine.With putty whatever you select is automatically on the clipboard without having to right click and select copy.And right click just pastes.
View 1 Replies View RelatedOn Linux I do:
rdesktop remotepc
How do I copy and paste between my local system and the remote system?
favor and let me know how can I copy some text in one file and paste it to another file ,when both of the files are being opened by vi text editor ?
View 7 Replies View Relatedi have fluxbox and i need to know how to copy things in xterm and paste them outside of xterm.
View 2 Replies View RelatedI know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
My system:
Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2
I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?
View 4 Replies View Related