lesson 2
DESCRIPTION
Class I was asked to teach at a High School I was consulting at reconfiguring there whole it infrastructure. The class was a test case. This is lecture 3 of 3 created...TRANSCRIPT
![Page 1: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/1.jpg)
Lesson 2Basic Commands in Windows and Linux
Information Systems Security & HardwareSecurity & Computer Hardware Course for Teens
![Page 2: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/2.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
2
Brief History…
Windows 1985 Linux 1991
Based on Unix 1960’s Windows and Linux get along very
well.
![Page 3: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/3.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
3
![Page 4: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/4.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
4
1985 – Windows 1.0
![Page 5: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/5.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
5
![Page 6: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/6.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
6
1990 –Windows 3.0
![Page 7: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/7.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
7
![Page 8: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/8.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
8
1992 –Windows 3.11/NT
![Page 9: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/9.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
9
![Page 10: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/10.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
10
1995 –Windows 95
![Page 11: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/11.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
11
![Page 12: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/12.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
12
1998 –Windows 98
![Page 13: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/13.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
13
![Page 14: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/14.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
14
2000 –Windows 2000
![Page 15: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/15.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
15
![Page 16: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/16.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
16
2000 –Windows ME
![Page 17: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/17.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
17
![Page 18: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/18.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
18
2001–Windows XP
![Page 19: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/19.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
19
![Page 20: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/20.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
20
2007 – Vista
![Page 21: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/21.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
21
Linux Rocks!
![Page 22: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/22.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
22
2009 – Windows 7 - Vista (Fixed)
![Page 23: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/23.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
23
Linux was invented by…
Linus Torvalds
![Page 24: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/24.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
24
Linux Baby Pictures (how cute)
![Page 25: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/25.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
25
Tux
![Page 26: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/26.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
26
Windows, Mac and LinuxLinux!
![Page 27: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/27.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
27
Commands…do this…ok do that.
Command line commands We are going to look under the hood
of Windows and Linux OS’s
![Page 28: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/28.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
28
Windows and Linux command lines
Windows
Linux
![Page 29: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/29.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
29
In Class Exercise 1 - Windows
Windows Key + R
+
![Page 30: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/30.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
30
In Class Exercise 1 - Windows
Run Dialog Box
Type in “cmd”
![Page 31: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/31.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
31
In Class Exercise 1 - Windows
Command prompt opens
![Page 32: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/32.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
32
Date
Display or set the date of the system
![Page 33: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/33.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
33
Time
Display or set the time of the system
![Page 34: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/34.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
34
Ver
Display the MS-DOS version that is being used
![Page 35: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/35.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
35
CLs
Clear the screen
![Page 36: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/36.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
36
Dir
Display the list of subdirectories and files of a directory
![Page 37: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/37.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
37
cd\
Go to root
![Page 38: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/38.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
38
Cd continued…
Go to sub directories
![Page 39: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/39.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
39
Cd continued…
Show contents of sub-directories
![Page 40: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/40.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
40
md
Make a directory with the name…”example”
![Page 41: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/41.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
41
Exercise 1
Go to the directory you just made
![Page 42: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/42.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
42
Exercise 1.1
Make a directory called tools within the example directory
![Page 43: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/43.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
43
RD
Remove a directory “tools”
![Page 44: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/44.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
44
RD (continued)
Remove a directory “tools”
![Page 45: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/45.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
45
Tree
Show directory as a hierarchical tree format.
![Page 46: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/46.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
46
mem
Shows memory
![Page 47: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/47.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
47
![Page 48: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/48.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
48
Terminal Window
Launch Terminal Window
![Page 49: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/49.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
49
Terminal Window
Shows Terminal Window
![Page 50: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/50.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
50
pwd
Display the name of the current directory
![Page 51: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/51.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
51
hostname
Display the name of the local host.
![Page 52: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/52.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
52
Finger “user”
Display information on the “user”
![Page 53: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/53.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
53
ls
List the contents of a directory
![Page 54: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/54.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
54
Cd directory
Change the current directory to…
![Page 55: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/55.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
55
Mkdir directory
Make directory
![Page 56: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/56.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
56
Rmdir directory
Remove directory
![Page 57: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/57.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
57
Exercise 1
![Page 58: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/58.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
58
Ping
![Page 59: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/59.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
59
Play…
Do Linux commands work in Windows?
Do Windows commands work in Linux?
Can you find some other commands?
![Page 60: Lesson 2](https://reader035.vdocuments.net/reader035/viewer/2022062615/54855043b4af9f197a8b463c/html5/thumbnails/60.jpg)
Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)
60
FIN
Questions?