All right. Hello and welcome to
Command Line. Basically, this module
will cover how to copy and paste
in Windows command line.
I'm Christopher Haler and this
begin.
So learning objectives for this
module. We're going to learn how to
select text on the command line
and copy the selection from
the command line and how to paste
into the command line for when
you're writing commands.
All right, so assessment the
controls and the control, the
Keys work to copy and paste
in the command line.
True or false,
the answer is false.
Control controls key interrupts
a command, as we've
learned in previous previous
videos. For this course,
you will learn that the control, the
key does work in the Windows command
to paste into it.
So, yeah, let's get started.
All right. So in order to
copy, we have to make a selection
first.
And there's a few different
ways to do this.
You can either, right, click and
choose Mark or you can click it in
the top left the same way that we
were able to change the properties
for the command window.
And so, as you can see in the
screenshot, click the
top left, it pulls up the prompt
window, go into edit and
mark. And this will allow you to
drag across and choose
something to to copy
in order to make your selection.
Just press enter.
So let me give you a quick
demonstration of that.
So I'm going to do
I which change
directory into my desktop
again, change directory to
resources.
And let's say I want to copy
something out of these words that
file.
It's going to use that type command
words.
And let's say this one sentence,
this third sentence here I really
want to see right.
Click copy
and highlight all of
this press enter
and it is now on my clipboard
so I can use the control V
to paste directly into here,
or I can go to any
other type of text editor
and really work my way through.
Also, we can go up to this edit
mark and paste,
select all all
sorts of different functions we can
use.
All right, so the copy,
we already kind of went through
this, we have our selection
made and then we can just press
the anarchy and it will
automatically copy it.
It will be held in the clipboard,
like you would for Microsoft
Word or a
text editor.
And we can be used to paste and
paste plenty of times.
And like I was showing you the
paste, we can just do Kittrell.
We'd paste right into it
and we can use this to
paste are
our text that we got from
running commands into a text
file so we can save it for later,
or we can take a
specific command that we found
on the Internet or a different
command that we've saved.
Copy that and then paste it directly
into the command prompt so that we
can use it for later times as well.
I suppose the assessment,
copying and pasting information
is effective in the command line.
True or false?
The answer is true, copying
and pasting is something that you
will do a lot in the command
line, so you need to be able to be
very comfortable with it in order to
become effective at it.
And like I was saying, you will do a
lot of research trying to figure out
how to utilize specific commands.
So being able to copy and paste
things from Google, from
the Internet, from your notes is
going to be very helpful for you.
All right. So in this video, we
learned how to select text on the
command line, had a copy selection
from the command and how to paste
into the command line.
And I hope to see you in the next
video.