Software tutorials, in this tutorial you will learn how to use terminal to copy files.
Tags:How to Use Terminal to Copy Files ,file copying software,pcaddictslive,professional computer tutorials,software tutorials,terminal,terminal to copy files,windows software
Grab video code:
Okay, some of these videos are going to be pretty basic. Lot of people may watch comments, anybody knows this so it’s very easy to Google it. Some of these I think are would come handy for some people.
So for instance, this one I want to show you how to copy a file over through the terminal and the reason I wanted to show this is because I do it quite often with my Xorg.config file when I’m configuring dual manners. I’ve been working with dual video cards and trying to get certain things to work and I was having issues. I’ll show you the way I copy over files.
So, let’s open up terminal window, here we go. Now, you know what? While I do this, I want to—let’s go to my home folder and I’m just going to create a new folder and call it—let’s just call it test and I’m going to go inside that. So here, I’m going to leave this open. Go over here to my terminal and I want to kind of show you, I just go over it so we can see. Let’s see what I’m typing here.
Okay, now where are we at? Within the terminal, this little until we sign here, means that you’re in your home folder. And just to verify that, you do prep working directory, PWD. Okay, show us home Chris. Now, what’s inside that? Let’s just do Plano LS. You can see—it shows the list of our folders and here are the test folders. So go let go ahead and CD in to that. CD, test and tab completion work too as well. So you can just start typing the folder and hit tab and then it will complete it. So now we know we’re there. Let’s do another PWD. /Home Chris and test.
Okay, since we’re in here, let’s create a file just so we can have something to play with. To do that, there’s script called touch, T-O-U-C-H and let’s just create something called my file. Okay, and you see it. It showed up behind there. Let me move it so in case you can’t see. There is test to my file. So, now let’s say we want to copy that to—let’s just say we want to make a copy of it and name it something else. You can go, and this is what I do with my Xorg.config like before I start messing around with my video settings, I’ll do a Sudo. I want to do a Sudo here but because I created this file, I just use it anyway. So I would do a Sudo and go CP for copy space my file, since I’m in the directory, the tab completion work and I don’t have to give the actual path and then I want to just copy it to something called my file two, enter. Because I’m saying Sudo which again, I don’t have too for this file, but I have to put it my password, so there you go. Now there it is.