LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2009, 07:41 AM   #16
visitnag
Member
 
Registered: Mar 2008
Posts: 147

Rep: Reputation: 15

you just echo the command... it will be copied...

example:

you have the following command on $ prompt.

$ awk '{sum+=$1}END{print sum}' input

if you want to copy the abov command to vi editor. You do this..

$ echo "your command" >> yourscript
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to copy-paste on command line? jameshao Linux - General 3 02-02-2009 02:14 AM
how to copy-past on command line? jameshao Linux - Newbie 5 02-01-2009 04:55 PM
Copy text from command line Duukkis Linux - General 8 08-25-2003 02:29 PM
copy a cd from the command line illtbagu Linux - General 32 02-09-2003 08:08 PM
Copy Paste under command line? Stingreen Linux - General 7 02-10-2002 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration