LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-26-2019, 11:29 PM   #1
barta75
LQ Newbie
 
Registered: Sep 2019
Posts: 2

Rep: Reputation: Disabled
Copy & paste commands


I've been using copy & paste commands from mouse right click menu. What are the keyboard shortcuts for these in Debian?
Regards
 
Old 09-26-2019, 11:34 PM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
same as windows in a lot of cases.

^X == cut
^C == copy
^V == paste

You can highlight things and middle mouse button to paste. This is a different buffer than the right mouse -> paste one.
 
1 members found this post helpful.
Old 09-26-2019, 11:37 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
^V paste doesn't always work in the X terminal. Gnome has some Cntrl+Shift+V way to paste, or did long ago. I mostly highlight and middle mouse to paste for terminal things.
 
1 members found this post helpful.
Old 09-27-2019, 01:10 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Ctrl-X == cut
Ctrl-C == copy
Ctrl-V == paste

and also Ctrl-A == select all.
 
Old 09-27-2019, 01:37 PM   #5
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by Shadow_7 View Post
^V paste doesn't always work in the X terminal. Gnome has some Cntrl+Shift+V way to paste, or did long ago. I mostly highlight and middle mouse to paste for terminal things.
not just gnome

ctrl+shift+V is the way to paste on a term

If you want to "paste" a literal <enter>
Ctrl+v<enter>
you will then see ^M

a cut and paste on bash

Ctrl+w # cuts
Ctrl+y # Paste
 
Old 09-28-2019, 07:54 AM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Quote:
Originally Posted by ondoho View Post
and also Ctrl-A == select all.
In a terminal, the Cntrl+A is the same as the |HOME| key, and Cntrl+e is the same as the |END| key. With Cntrl+L being the same as issuing the $(clear) command. Probably why clear doesn't appear in the .bash_history. As far as other terminal hotkeys, I haven't had much luck with those outside of stock ubuntu. If you run debian minimal installs and such, they simply do not work (unless you install something I'm not yet familiar with). At least not in xterm, urxvt, or on the console.
 
Old 09-28-2019, 03:14 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Shadow_7 View Post
In a terminal, the Cntrl+A is the same as the |HOME| key, and Cntrl+e is the same as the |END| key. With Cntrl+L being the same as issuing the $(clear) command. Probably why clear doesn't appear in the .bash_history. As far as other terminal hotkeys, I haven't had much luck with those outside of stock ubuntu. If you run debian minimal installs and such, they simply do not work (unless you install something I'm not yet familiar with). At least not in xterm, urxvt, or on the console.
I wasn't talking about terminals, and I don't think OP was either.

Last edited by ondoho; 09-28-2019 at 03:16 PM.
 
Old 09-28-2019, 03:33 PM   #8
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
I don't think it matters, the OP is probably a bot
 
  


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
Copy and Paste commands in various programs henry_faulkner Linux - Newbie 6 06-07-2017 02:05 PM
[SOLVED] Preventing the screen copy and paste error on first paste slackartist Slackware 0 04-03-2016 06:48 PM
CLI commands with(1) and console copy & paste? EricGalaxy Linux - Newbie 2 09-28-2011 09:16 PM
PLEASE copy&paste your /etc/X11/xorg.conf file IF you use Intel 965GM &. Balarabay1 Linux - Software 3 10-06-2008 05:33 PM
Gotta love those &#1649;&#1649;&#1649;&#1649;&#1649;&#1649;&#1649;&# iLLuSionZ Linux - General 5 11-18-2003 07:14 AM

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

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