LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-05-2009, 05:01 AM   #1
johnmtb
LQ Newbie
 
Registered: Sep 2008
Posts: 14

Rep: Reputation: 0
Entering Command Line commands


Dear All,

I need to issue a command, at the command prompt, NOT in X Windows, and from the book I am reading, I am instructed to:

“For the sake of accuracy, it is recommended to use a copy-and-paste method when issuing the following command.”

I was not aware that one could copy-and-paste commands.

If anyone can advise me on this I would be very grateful.

Regards,

john
 
Old 01-05-2009, 05:04 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
If you have a command in a file, or whatever, you can copy the command, and paste it in the terminal
 
Old 01-05-2009, 05:34 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2beta2 on Lenovo Thinkpad W520
Posts: 6,775

Rep: Reputation: 2115Reputation: 2115Reputation: 2115Reputation: 2115Reputation: 2115Reputation: 2115Reputation: 2115Reputation: 2115Reputation: 2115Reputation: 2115Reputation: 2115
To do that,
- highligt the text you want to copy with the mouse,
- then, still with the mouse, put the cursor at the place you want to paste this text
- press the middle button (the wheel) of the mouse.

You don't need Ctrl+c then Ctrl+v as in Windows.
 
Old 01-05-2009, 06:01 AM   #4
davee
Member
 
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263

Rep: Reputation: 30
Quote:
Originally Posted by Didier Spaier View Post
To do that,
- highligt the text you want to copy with the mouse,
- then, still with the mouse, put the cursor at the place you want to paste this text
- press the middle button (the wheel) of the mouse.

You don't need Ctrl+c then Ctrl+v as in Windows.
Can't do that in command only. As stated above, place the command(s) in a text file, then:
`cat textfile.txt`

Including quotes (they're the ones facing top left to bottom right)
 
Old 01-05-2009, 06:08 AM   #5
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by davee View Post
Can't do that in command only.
You can if gpm has been enabled (which most distros do by default).
 
Old 01-06-2009, 02:26 AM   #6
johnmtb
LQ Newbie
 
Registered: Sep 2008
Posts: 14

Original Poster
Rep: Reputation: 0
All,

thank you for your help. i tried Davee's suggestion, and it worked. it is something new that i have learnt.

Thank you Davee, and thank you all.

regards,

john
 
  


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
command line commands bcbotha Linux - Newbie 15 12-01-2008 09:05 AM
LXer: Useful Commands For The Linux Command Line LXer Syndicated Linux News 0 03-12-2007 11:01 AM
Java Commands for Command Line AceTech Programming 4 08-20-2006 03:55 AM
Time commands from command line ToothlessRebel Linux - Newbie 1 03-09-2005 11:52 AM
shell's command line locks after commands like ls tree_buddy Linux - Networking 17 09-15-2003 11:52 AM


All times are GMT -5. The time now is 03:48 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