Computing.Net > Forums > Linux > cut/paste in bash shell

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

cut/paste in bash shell

Reply to Message Icon

Name: Scott
Date: June 16, 2000 at 13:51:33 Pacific
Comment:

Anybody know simple commands for cut and paste to and from different files? Thanks in advance.



Sponsored Link
Ads by Google

Response Number 1
Name: wong
Date: June 17, 2000 at 08:30:30 Pacific
Reply:

If you run in xterm then you can do them in 'vim' just use mouse, hilight the area to be copied from one windows, switch to the other and press both mouse buttons at once, and that will copy what ever you have hilighted from other windows in.


0

Response Number 2
Name: Condor
Date: June 20, 2000 at 06:51:11 Pacific
Reply:

In the command line prompt, you have to run gpm (it enables the mouse), then you select text and go to the place you want to past it to (in shell or vi insert mode) abd right-click. It pastes the text.
In the X, you select text in one window, go to where you want to paste it and click the middle button.


0

Response Number 3
Name: me
Date: June 22, 2000 at 21:41:35 Pacific
Reply:

There are probably better ways that were suggested previously... Could you be a bit more detailed about what you are trying to do? either way here is the most basic of basic ways....
cat filename_to_cut_from >> filename_to_append_to

There are much much more advanced ways of automating this kind of stuff but you didn't give enough information.....


laterz..


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: cut/paste in bash shell

Logout from bash shell www.computing.net/answers/linux/logout-from-bash-shell/11711.html

copy/paste in linux www.computing.net/answers/linux/copypaste-in-linux/23495.html

strange error in bash shell www.computing.net/answers/linux/strange-error-in-bash-shell/15794.html