Ubuntu :: Copy Pasting From Terminal?

May 29, 2011

I installed the LAMP packages and got them up and running.

Now I want to use a cms: modx and I need to copy paste the cms files in the root folder. But I am not able to paste anything in the root folder. I figured out that apache directories are readonly for a general user. So how do I paste that as a super user? I know about the sudo command but that works only in the terminal. Is there a command to copy paste the whole directory from the terminal?

View 1 Replies


ADVERTISEMENT

Debian :: Copy Pasting A File Via Ssh Possible?

Mar 28, 2011

Is it possible to use the cp command to copy a file from computer A to computer B?

Also, assuming that it is possible, does Linux SSH add extra (=its own) encryption via the file transfer or is it solely reliant upon my WIFI's encryption?

View 7 Replies View Related

Ubuntu Networking :: Copy Files From XP Infact Folders Using TERMINAL In Netbook, Not Copy And Paste Using Mouse?

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

General :: Get Socket.h Header File / Copy Pasting This Header File In 'incl' Directory Allow To Use It In The Program?

Apr 22, 2011

where can i get socket.h header file? will copy pasting this header file in 'incl' directory allow me to use it in the my program?

View 1 Replies View Related

Ubuntu :: Can't Copy Or Paste In Terminal ?

Jul 14, 2010

I'm running Lucid, and whenever I run a program in gnome-terminal that captures the mouse (dvtm, elinks, mc) I cannot highlight any text, which prevents me from copying any text from the terminal.

View 2 Replies View Related

Ubuntu :: Copy Text From Web In Terminal?

Aug 26, 2010

I'm attempting to write a bash script to retrieve information from a websitemy problem is I can't seem to figure out how to simply copy the text from the website (I have tried multiple text-only browsers but they all seem to require some input to be able to do this where I'm looking for it to be done silentlyThe purpose of this is I have created a google doc that is a bash script itself and I want the one I'm writing to download this bash script and execute it (the original will be hard coded on a cd and I'm doing it this way for easy updating) only thing is when I use wget it downloads the html file with the script embedded in it and not the script itself

View 3 Replies View Related

Ubuntu :: Script For Copy To Terminal?

Jan 25, 2011

I found this great script that let me add a open as admin option to my right clickso I was wondering if anyone knows of or can whip up a script that would let me highlight text for example on a web page right click and have an option to open and terminal and paste the text with one click.Instead of highlighting text right clicking selecting copy, then opening terminal and pasting manually. just an idea I had for a time saver but what I have tried didnt work right

View 3 Replies View Related

Ubuntu :: Copy O/p Of Terminal To Gedit?

Jun 24, 2011

I wish to copy o/p of lsusb command to gedit.But I am getting following error>

root@jay-laptop:/home/jay/proj# lsusb -v |
gedit No protocol specified
(gedit:4310): Gtk-WARNING **: cannot open display: :0.0
root@jay-laptop:/home/jay/proj# lsusb -v | gedit hi
No protocol specified

View 9 Replies View Related

Ubuntu :: Copy .jpg To Desktop Folder In Terminal?

Jan 27, 2010

I have been sitting here practising linux commands and I cannot seem to copy a picture from home/pictures to the desktop, specifically a folder I created on the desktop "test"

View 4 Replies View Related

Ubuntu :: Bulk Find & Copy In Terminal?

Mar 29, 2010

I have found KRename to be very useful for bulk find and renames; however, I'd like to do a find a copy, which KRename doesn't appear to do.

For example, I'd like to (case insensitively) search all subdirectories for files called "cover.jpg", "cover.gif", or "cover.png" and create a copy of these called "thumb.xxx", in the same subdirectory the original is found, with the same extension as the original.

View 4 Replies View Related

Ubuntu :: Move / Copy Files From Terminal?

Sep 11, 2010

im using ubuntu 10.04 sometimes i find more useful to use the terminal to copy or move folders or files to other directories (more important when they need admin permission)

today i tried to copy ALL files from a directory to another. and i realized that i dont know. i know that that "~ mv /ThisThing/ /ThisFolder/" "~ cp /ThisThing/ /ThisFolder/" but howould i be able to copy EVERYTHING from a folder into another. tis is diferent from copying the folder itself (which i also would like to know)i bet is a simple thing that i havent figured out!

View 5 Replies View Related

Ubuntu :: Copy A File To A Flash Drive From Terminal?

Jun 2, 2011

how can I either copy a file (say, ~/file.txt) directly to the flash drive? I know that I can use the command

Code:
sudo cp ~/file.txt ???
to copy it, but what goes in the question marks?

View 1 Replies View Related

General :: Copy DB From Server Using Terminal?

Jul 2, 2010

i have been created DB at server..i'm using XAMPP..how to copy the database from server PC using terminal..

View 1 Replies View Related

Programming :: Copy At Terminal With Progress Bar

Mar 9, 2009

After searching I cant find script that can deal with directories. All the found scripts work file to file and not directory to directory. Someone know script that can deal with all this situation?

View 8 Replies View Related

Ubuntu :: Terminal Server Client - Copy Window To Clipboard?

Feb 24, 2010

In windows using remote desktop connection you can press Ctrl+Alt+minus to copy the current window on the remote desktop to the clipboard. How do you do that in Ubuntu's terminal server client? I have not found any key combination that works

View 2 Replies View Related

Ubuntu :: Copy A Line By Number In Text Files On Terminal?

Apr 10, 2010

I got a text file. Now I want to write a line by its number in a bash variable. That is all.

View 1 Replies View Related

General :: Short Cut To Copy From Terminal Output?

Dec 10, 2010

if we type a command such as "locate somefilename" in the terminal we will get all the paths to the file name as output. If i want to copy only one line from that output how do i do that without using mouse?i need terminal short cut to copy one line

View 8 Replies View Related

Ubuntu :: Pasting With Ctrl+V In Gnome?

May 5, 2010

Every time I do Ctrl+C/X and want to paste something with Ctrl+V my browser opens up trying to go to [URL] I looked in the forums and they explained that, if I understand correctly, ubuntu or gnome doesn't have a clipboard manager (I'm probably wrong)... so installed Parcelite and I have it running but it doesn't solve the problem. I'm really used to using shortcuts. At school we use Fedora and there's no problem using Ctrl+V How can I fix this problem?

View 2 Replies View Related

General :: Copy And Paste Text Among Documents In Terminal

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

General :: Copy / Paste Output From Shell (not Terminal)?

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

Ubuntu :: Crop Pictures After Pasting Them Into The Presentation?

Feb 9, 2010

I am using Open Office 3.1 and I am working on a presentation, that I have to give in march and I am wondering how to crop pictures after pasting them into the presentation. Could not find any way to do this yet.

View 4 Replies View Related

Ubuntu :: Openoffice Closes After Pasting Html?

Jun 4, 2010

If I copy and then paste some html text from a web page as I have been doing for a study course, then Openoffice Writer closes. When I go to open Openoffice again it asks if I want to run a recovery, I opt for that and it gets me back into the file (which is empty).I have tried saving the file in html format but, the same thing happens.I can paste into Tomboy without problem so it must be the Openoffice program.Maybe I should simply hop over to Sun Microsystems with this, mmm.

View 1 Replies View Related

General :: Copy Previous Output From Bash Terminal To File?

Oct 26, 2010

I know how to redirect the output of a terminal to a file. For example, if I want to list all the files in ~/Documents and output to a file called test.txt, I would do this: ls ~/Documents > test.txt The question is, can I copy the output to test.txt AFTER I have carried out the command? This would mean that I wouldn't have to know in advance whether I want to copy the output to file. I want to do something like this: ls ~/Documents Then this: <bash command for copying standard output to test.txt>

View 2 Replies View Related

General :: Copy Text From Xterm Based Terminal To Some Other Gui Application?

Jan 13, 2011

i use uxrvt ( for those who dont know, its terminal emulator based on xterm).i know its easy to copy/paste stuff from terminal to itself is a trivial thing. it can be done by mouse left click to select and middle click to paste.but in my case i need to copy text from terminal to another application, viz on google chromium.

View 1 Replies View Related

General :: Copy Directory (Local) From Terminal And Show Progress Bar?

Aug 19, 2010

I am new both here and in Linux. As the subject says, I would like to learn how to copy a directory (not a file) from terminal with progress bar showing. The copy is local, i.e., not to another computer. My distro is CentOS 5.5. I know that if I do it with nautilus I would see the progress, but I want to learn how to do it from the terminal. I know that PV command can show a progress bar, but from what I saw, it works well for files, but not for directories (recursive).

Is it possible to use PV for directories? If yes, could you please show me the syntax? I also saw that some people mentioned that rsync can also show a progress bar, I tried to do it, but it didn't work out - perhaps I got the syntax wrong. If rsync can really be used to copy directories with progress bar, show me the syntax? Any other ideas on how to do it? I would like ideas that do not involve using any script, i.e., just something that I can do using the regular commands.

View 6 Replies View Related

Slackware :: Pasting Delay In The 13.37?

May 19, 2011

highlight text, go to where I want to paste it, click middle mouse button. The text then appears after a delay of at least a second, sometimes several. In SW13.1 and previous, the pasting was almost instantaneous. How do I get rid of this delay?

View 2 Replies View Related

Ubuntu :: Can't Select Text In Eterm For Copying/pasting?

Mar 3, 2010

I'm running Eterm, and Kubuntu (Karmic.) Anyway, I can't select text at all in the Eterm window. I can highlight the text with the mouse, but as soon as a let go of the button, the selection goes away. I mean, the text is still there, its just not highlighted anymore. As a result, I can't copy/paste that text. Have to run a different terminal program (like konsole, or xterm.)

View 1 Replies View Related

Ubuntu Networking :: VNC Crashes And Won't Connect Again When Cutting And Pasting / Fix It?

Apr 8, 2010

I've had this problem for a while and wondering if anyone has an idea what is going on.
I'm running 9.10 on a computer at home, and when I VNC into it from my Mac at work.
When I do a right-click copy or ctrl-c, the vnc will crash and won't connect again. I can reach the computer with SSH and reboot, but it's kind of annoying when it does this. Has anyone seen this before and is there a fix?

View 6 Replies View Related

Ubuntu :: Scutting / Pasting / Editing And Filtering Wav Files?

May 11, 2011

if you know of a good linux-based sound editor? I'm looking at cutting, pasting, editing and filtering wav files.

View 3 Replies View Related

Programming :: Coverage Testing With Gcov - Terminal Not Accepting Copy Paste?

Jun 1, 2010

I have this treacherous program in C which uses external static libraries (extern etc), and want to do a coverage test of it. The libraries are written in fortran. I compile like this Code: gcc -fprofile-arcs -ftest-coverage -o main main.c library.o I run my nice program like that

Code: ./main Then I do the magic stuff
Code: gcov main.c library.f

Ok 98% of the lines were used in main.c, and I get a file with line counts and all that. Great! But, I need to know the coverage in my library too! It says 0.0% and that's impossible. So what can I do? I can't run it like an executable because it's a library.

And why is the terminal not accepting my copy paste? I copy some lines from my IDE, then I want to paste it into the terminal (with ctrl-v of course, not some crazy local application non-standard counter-intuitive key combo made just to cause agony among honest users!), and that could've been the only problem here, but it isn't. I can't even paste with that right click menu. So, if I was crazy before, I went nuts after that. My great "solution" was to paste it into the firefox URL field (not the search field ) and then copy that and paste it into the terminal. Is that common practice for you all while dealing with that unburied DOS-window?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved