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


ADVERTISEMENT

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

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 :: 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 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

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

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

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

General :: Cannot Use Ctrl-Ins And Shift-Ins Shortcuts For Copy And Paste In Console Terminal

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

General :: Make Ubuntu's Terminal Program Automatically Copy To Clipboard Selected Text / Paste

Jul 6, 2011

i'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 Related

Ubuntu Networking :: Copy / Paste From Terminal Window To Another Window?

Mar 1, 2011

I have problem with internet connection on my Ubuntu, but the major problem is that i can't copy the message from my terminal while I type:ifgonfig and paste it here to show you what is the problem.

View 9 Replies View Related

General :: Copy A Read-Only File And Make The Copy Writable With A Single Cp Command?

Mar 1, 2011

How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).

More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.

View 1 Replies View Related

Fedora :: Disk Copy Utility - Should Be Able To Not Only Copy Files But Boot Sector And Everything

Sep 1, 2010

I have a 160GB harddrive which I installed a F12, would like to upgrade to a bigger drive, but I hate to have to re-install everything.

Recommend a good disk copy utility? The utility should be able to not only copy files, but boot sector and everything. So I just need to make a copy, change my BIOS to boot from the new drive and run everything as before.

View 11 Replies View Related

Debian :: Copy Anything It Says Enough Space Memory To Copy?

Jul 5, 2010

I am using windows xp and debian linux.In windows xp I am having around 25 gb offree memory but in linux if i copy anything it says enough space memory to copy

View 4 Replies View Related

Ubuntu Networking :: Edit Proxy Settings Using Terminal / Cronjob Using The Terminal?

Jan 25, 2010

How can I edit the system proxy setting using the terminal? Which file contains this settings? I want to edit this automatically using cronjobs, cause from 8-5 I need to use a proxy, but at home I don't need the proxy. How do I fix this?

View 3 Replies View Related

Ubuntu :: Command For "Open A Terminal Window And Run Application In This Terminal ?

Aug 8, 2010

What is the command for "Open a terminal window and run application in this terminal

View 4 Replies View Related

Ubuntu :: Bash Broken, Lost Functionality In Terminal (gnome-terminal)?

Dec 10, 2010

Linux-goers. I did some research on this, but I am still fairly new to Linux. In Ubuntu 10.10 (Maverick), I accidentally overwrote my "/bin/bash" file. Dude, using "sudo" with a small typo can work disasters. Bash is now broken in the Terminal (gnome-terminal). Terminal itself still works fine, technically, but bash is still hosed/broken. Here is what I did to try to fix it: Booted from Ubuntu 10.10 live CD. Mounted my Ubuntu partition and manually copied the good/fresh "bash" file onto my hard drive. Verified copy was successful. Didn't help, as you see. Reinstalled "gnome-terminal" using synaptic package manager. Tried to reinstall bash via synaptic, it failed with error, "E: /var/cache/apt/archives/bash_4.1-2ubuntu4_i386.deb: subprocess new pre-removal script returned error exit status 2"

In Terminal, all basic commands work as far as I can tell. ("ls", "pwd", navigation, etc.) Here are some problems:My "username@computername" does not display in the prompt; only the $ sign. Bash keyboard shortcuts such as uparrow and tab do not work. Instead, each inserts a key code. I can't even move the cursor left/right. Aliases (a function of bash and .bashrc) are broken, of course. My sanity level decreases when I use Terminal now. For what it's worth, even with "sudo" I get a "permission denied" error when trying to run Google Chrome! I read something about a ".bashrc" file being a possible problem, but I don't know how to make it work, or the file's proper locations in Ubuntu 10.10. Is there something I can do with a "make" or "apt-get install" command or something?? Could this simply be a permissions problem? Is the link to "/bin/bash", "/bin/sh", or a ".bashrc" file broken? Guide me, oh Linux gurus.

P.S. I always wondered what exactly bash was and how it was different from the basic terminal. LoL, this is an excellent way to demonstrate the difference, and I WANT IT BACK!

View 9 Replies View Related







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