LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 04: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, 04:04 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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, 04:34 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
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, 05: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, 05: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, 01: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



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

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

All times are GMT -5. The time now is 11:51 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
Open Source Consulting | Domain Registration