Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 08-20-2009, 11:44 AM   #1
LQ Newbie
Registered: Aug 2009
Posts: 3

Rep: Reputation: 0
Copy/Paste algorithm or source code in linux

How does copy and paste works in linux.I want to know the algorithm or source code.I am not talking about the mouse button and all.
Can anyone help me by providing the source code and algorithm of cut/copy/paste taking place in kernel.
Old 08-20-2009, 02:14 PM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,546

Rep: Reputation: 3240Reputation: 3240Reputation: 3240Reputation: 3240Reputation: 3240Reputation: 3240Reputation: 3240Reputation: 3240Reputation: 3240Reputation: 3240Reputation: 3240
Short : The kernel handles interaction between the OS and hardware.

Long definition: The kernel handles the basic functions of the
operating system: memory allocation, processallocation, device
input and output, etc.

And not copy, paste etc.
There is a command for copy ( cp) and move ( mv ).
The copy and paste functions, you ask about are functions in
the applications, you use. All that takes place in user space.

The source code : have a look in the application source.
This tool will find all information :

Old 08-20-2009, 02:49 PM   #3
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,061

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
You have asked two questions on a very similar area (, and make a very similar error.

Originally Posted by ankit.nsit View Post
Can anyone help me by providing the source code and algorithm of cut/copy/paste taking place in kernel.
Given that it doesn't exist, it is a little difficult to satisfy this request; What makes you think that this takes place in the kernel? (It doesn't; Its not there.)

You should try, in particular, to understand pixellany's reply to your other post and its implications.

I suspect once the mods get wind of this 'almost the same post in two threads' they will close this one, given that the other one is probably more helpful to you in your attempt to reach a state of enlightenment the hard way.


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
Source code of RSA algorithm in C language Dyuri Programming 4 12-04-2011 08:04 AM
source code for IDEA algorithm 8902 Linux - Newbie 1 01-27-2009 12:53 AM
Copy and paste in GNU/Linux posix_memalign Linux - Software 2 12-27-2008 04:01 PM
Where can I find source code for CPRM algorithm? George2 Programming 2 03-13-2004 04:06 AM

All times are GMT -5. The time now is 07:12 AM.

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