General :: UNIX - Copy And Paste Between Different Bash Windows With Files Opend With VI?
Jun 15, 2011
Lets 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.
View 6 Replies
ADVERTISEMENT
Mar 16, 2010
I 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 Related
Jun 2, 2011
I want to write a shell script which will copy files from user Mac machine to UNIX Server without prompting userID and Password. I do not want to use ssh or rcp commands as it prompts for password.
View 5 Replies
View Related
Jul 9, 2010
just installed ubuntu couple of days back on my netbook. I am still a beginner, enjoying my adventure exploring ubuntu. I have another desktop which runs on XP. I am able to access XP shared folders through my netbook(linux). However, i wanted to copy files from XP infact folders using TERMINAL in my netbook, not copy and paste using my mouse. Are there any commands for it?
View 1 Replies
View Related
Nov 27, 2010
I just installed Ubuntu 10.10 on my laptop. Now I am organising the structure of maps and folders, etc. My struggle is that I seem to have no permission to copy, paste and move files to another place then the home folder and the desktop.I am a total newby in Ubuntu and coming from a Windows operating system, so please give me some assist. I guess it must be very simple, but I don't have a clue at the moment.
View 4 Replies
View Related
Jul 28, 2010
Here is what I currently do and want to automate:
1) I manually enter a particular web site address in the browser.
2) When the page displays on my machine, it shows a number of links I need to visit, one after the other.
3) Each of these links display another page (file) from which I "cut and paste" information. I do this by highlighting manually the wanted info, click "copy" then select an open file on my computer, select "undo" if necessary to remove any previous content, click "paste" and then "save".
4) I then call a Yabasic program that reads the saved file and trims unwanted info.
5) At the completion of the Yabasic program, I click the web page tag, click the "back" button to return to the first page (since I am in the second) and click the next link in this first page till all links have been visited.
6) visit the next known web site and repeat 1 to 5
In an automated program, what I need to do is:
1) Visit the known page of the web site showing the links
2) save the page showing the links (the first page)
3) make a list of those links
4) visit each link one after the other and save its page from which I will programmatically (Yabasic) select info.
5) repeat 1 to 4
I can do this in "Yabasic" (which can issue Linux commands) or PHP although I do not know PHP much.the purpose of this is to associate towns and cities of the world with their respective political/geographical divisions and their respective time zone. This has to be done often because that data changes regularly.
View 3 Replies
View Related
May 6, 2010
I am now converted over to ubuntu 10.04, love it everything works perfectly. However i use windows 2003 server for my files and remote desktop and my outlook email, i can remote desktop and do everything but i can't copy and paste a url or a text name. Is there a way around this or something I have to turn on ?
View 2 Replies
View Related
Jun 21, 2011
I am using XMing+Putty to access a Linux machine from an XP32 machine. I can copy text from windows and paste it to Linux fine, but I can't copy from Linux and paste to Windows consistently. If I try several times (or hold down the paste keystroke) it will eventually paste; sometimes several times!
I would like to improve the consistency of my Linux to Window pastes. I have per-mutated every combo of Clipboard and Clipboard2. I can not edit /etc/gdm/custom.conf like some other fixes suggest. I have been informed the Linux admins will not allocate resources to resolve this problem in the near future so any fixes need to be Windows side or able to be done without root/admin privileges.
View 4 Replies
View Related
Sep 27, 2010
just want to download the 60mb-ish pack of family photos from my external usb hard drive. I've gone through a multitude of wikis and help threads and can't seem to figure out how to copy and paste those files to my laptop The usb hd works perfectly as I just was using it about 1 hour ago when I still had vista on this laptop. Here's a copy of my fstab as that seems the file all the wiki's:
[Code].....
View 9 Replies
View Related
May 12, 2011
My usb stick will not allow me to easily copy and paste files on to it, or delete them once I no longer want them on the drive. Its owner is root. How can I change the owner? At the moment it is loading as a stylesheet in media/usb0.
The file is transferring at a very low speed. 74mb in 4 minutes
I suspect I will do better if I set up the drive via fstab. What entry should I put in fstab for a USB stick drive?
View 3 Replies
View Related
May 7, 2010
I can't copy and paste into Cygwin... is there a good alternative to Cygwin that will let me do this?
View 7 Replies
View Related
Jan 19, 2011
The 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 Related
Nov 12, 2010
I'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 Related
Sep 13, 2011
I'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 Related
Feb 2, 2010
I want to copy something from window to vi editor. what should I do?
View 3 Replies
View Related
Jun 23, 2010
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 Related
Mar 28, 2010
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 Related
Dec 23, 2010
I 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 Related
Jul 15, 2010
I 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 Related
Mar 27, 2011
I 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 Related
May 3, 2011
I 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 Related
Jul 22, 2010
I'm having a problem with my hard drive. Windows can't even open it. I run DSL linux and successfully moynted the drive so I can view my file structure. I thought I just connect my other windows HD, mount it and then just copy all the folders I need. Unfortunatelly I'm getting cp: cannot create directory blabla - read-only file system. Is there a way at all to copy NTFS files in Linux?
View 7 Replies
View Related
Jun 7, 2010
I am running some Pcap files through editcap and then tshark. I am running fedora 11. This will create a couple of thousand text files all numbered sequentially 1-x. How can I copy these files across a network(I connect using putty) or how can I copy them onto an external HD so that when I view them on the windows machine they have the right formatting (Windows know to open them with wordpad/notepad) basically that windows knows that they are text?
View 11 Replies
View Related
Jun 29, 2011
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 Related
Mar 9, 2010
know what can be done to enable the "select text to copy" and "shift+insert to paste" features in linux.
View 2 Replies
View Related
Mar 17, 2011
I 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 Related
Apr 4, 2011
Someone edited it - it worked as it should....Where does it live? I am certain there should be a backup.
View 2 Replies
View Related
Jun 30, 2010
I need a command-line method of copying files from a Linux box to a Windows machine that is in a domain and requires authentication. I cannot install additional software or services on the Windows XP machine. I can install any software on the Linux machine. I've tried scp, but the connection failed and if my understanding is correct it is because scp requires that the target (windows machine) be running an ssh service. Is there a command-line linux utility that can pass Windows domain user and password and then copy a file from the linux machine to a share on the windows machine?
View 1 Replies
View Related
Jul 16, 2011
I have a NTFS drive mounted at /media/bigbrother as my user. I have no trouble reading or writing to files here. I just created a link to /var/www using: ln -s /var/www /media/bigbrother/
The link is there however, I can't even open the folder. How should I go about getting access. So that I'm able to copy files from other systems on the network.
View 1 Replies
View Related
Jun 11, 2010
Is it possible to copy zipped (my.zip) files from Windows systems to Linux systems and unzip them without any corruption.
I know the command unzip is available, but I want to know if this copying from WIndows to Linux could lead to file corruption.
View 7 Replies
View Related