1 00:00:06,950 --> 00:00:14,750 So in the previous lesson, we saw the first few commands here, directory KDDI version or V.R. Dasuki, 2 00:00:15,050 --> 00:00:22,490 in this next lesson we're going to see how to use the echo print to screen notepad more, make directory, 3 00:00:22,490 --> 00:00:26,690 remove directory and copy, move, delete so we can play around with files and then we'll come back 4 00:00:26,690 --> 00:00:29,470 and do some more advanced things in the final lesson. 5 00:00:30,020 --> 00:00:36,110 So switch back to your virtual box and I'll leave mine in this window screen here. 6 00:00:36,530 --> 00:00:40,410 I'm going to click inside though and see less to clear the screen. 7 00:00:41,570 --> 00:00:46,400 Well, first of all, if I want to create files on my computer, I can do the same thing that we just 8 00:00:46,400 --> 00:00:54,610 saw in Linux echo text into a text file, not text. 9 00:00:56,540 --> 00:01:02,580 If I move that over, say, I've created a text file just by echoing text into the text file, you can 10 00:01:02,580 --> 00:01:03,750 do more text than that. 11 00:01:03,750 --> 00:01:05,940 You can put it inside quotes if you've got spaces. 12 00:01:06,300 --> 00:01:09,020 So I could echo something even longer. 13 00:01:09,660 --> 00:01:12,560 But if I want to do very much with it, I'd probably want to. 14 00:01:12,570 --> 00:01:13,290 Well, let me do it. 15 00:01:13,410 --> 00:01:15,520 I'll answer that text file is now in there. 16 00:01:16,710 --> 00:01:18,560 Let's say that I want to edit this. 17 00:01:18,570 --> 00:01:24,210 Well, we don't have the handy editor across all of the versions of Microsoft Windows. 18 00:01:24,750 --> 00:01:29,880 We used to have an edit program, but if we run edit on Windows 10 will get an error. 19 00:01:30,180 --> 00:01:38,670 We can run notepad, though, if your machine is configured for it's a notepad TWX tab, notice it auto 20 00:01:38,670 --> 00:01:41,610 completes and it brings up notepad. 21 00:01:41,970 --> 00:01:47,220 So just like in Nano, I could edit a few things here if I save that. 22 00:01:48,980 --> 00:01:56,450 And then closed notepad and come back to my Windows Command prompt, and I can use the more command. 23 00:01:59,010 --> 00:02:04,770 More TSX tab and notice shows every bit of the text in my. 24 00:02:06,420 --> 00:02:09,840 File tick's, this is more text one, even more text. 25 00:02:10,950 --> 00:02:18,930 It's clear the screen so I can see my text file is on my C users be paying desktop, let's say I wanted 26 00:02:18,930 --> 00:02:20,400 to put that into a folder. 27 00:02:20,580 --> 00:02:22,800 Well, I could do something like MMD. 28 00:02:22,830 --> 00:02:25,590 I can also use Make Dear and Kadivar. 29 00:02:25,830 --> 00:02:31,440 But there are shorter commands for these two on Windows M.D. space. 30 00:02:32,190 --> 00:02:41,790 My files are now and I can say I have a folder and if I pull this command prompt over, you see on my 31 00:02:41,790 --> 00:02:47,190 Windows desktop inside my virtual machine, I have a folder called My Files. 32 00:02:47,460 --> 00:02:53,040 Well, I can either drag and drop that if I were using the graphical user interface or I could move 33 00:02:53,040 --> 00:03:01,350 that file by saying MLV text file into my files. 34 00:03:04,600 --> 00:03:14,740 And if I do a deal are now there is no text file, but I see into my files, into a directory and my 35 00:03:14,740 --> 00:03:18,900 text file is there, let's say that I wanted to rename it. 36 00:03:19,090 --> 00:03:20,560 Well, I just do the same thing. 37 00:03:20,560 --> 00:03:25,840 M.V. MLV do I have to spell these out in windows? 38 00:03:26,370 --> 00:03:29,170 Let me make this clear again. 39 00:03:30,670 --> 00:03:41,680 Dianah again M.O.B. text file text to silly not text the hour and we see now we've got that for. 40 00:03:41,680 --> 00:03:42,360 Want to copy it. 41 00:03:42,370 --> 00:03:53,740 I just have to spell out copy SCoPI silly that text copy select text to my text. 42 00:03:54,040 --> 00:03:54,730 Text. 43 00:03:57,130 --> 00:04:01,780 Do directly, and now we have both files with I want to remove one, there's no R.M. command, I have 44 00:04:01,780 --> 00:04:07,630 to do DTL for delete Cyle tab and that gives me my text file. 45 00:04:08,170 --> 00:04:15,610 And if I do a directory now, you'll see that I've deleted with the Dell Command DSL select text. 46 00:04:16,210 --> 00:04:21,070 Well, I probably like to clean this up and delete some of these things, so I'm going to double my 47 00:04:21,070 --> 00:04:21,730 text. 48 00:04:23,640 --> 00:04:31,650 And I'm going to say that the I r I want to remove this empty folder called my files so I can do. 49 00:04:33,200 --> 00:04:36,530 R.M. Dya just answered my. 50 00:04:38,540 --> 00:04:44,150 And then a new directory in my desktop is empty, if I move my command line, I can see I've removed 51 00:04:44,150 --> 00:04:48,150 the text file and the folder from my desktop. 52 00:04:48,560 --> 00:04:54,950 So we've seen some really useful commands to help you get around the the file system and windows. 53 00:04:55,580 --> 00:04:57,730 When we come back, we'll do a few last advanced commands. 54 00:04:57,920 --> 00:05:03,680 We'll see how to do some networking based commands and we'll see how to get help and do a few other 55 00:05:03,680 --> 00:05:04,100 things.