Top Banner
Lesson 2 Basic Commands in Windows and Linux Information Systems Security & Hardware Security & Computer Hardware Course for Teens
60

Lesson 2

Dec 08, 2014

Download

Documents

Peleg

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...
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Lesson 2

Lesson 2Basic Commands in Windows and Linux

Information Systems Security & HardwareSecurity & Computer Hardware Course for Teens

Page 2: Lesson 2

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

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

3

Page 4: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

4

1985 – Windows 1.0

Page 5: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

5

Page 6: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

6

1990 –Windows 3.0

Page 7: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

7

Page 8: Lesson 2

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

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

9

Page 10: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

10

1995 –Windows 95

Page 11: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

11

Page 12: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

12

1998 –Windows 98

Page 13: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

13

Page 14: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

14

2000 –Windows 2000

Page 15: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

15

Page 16: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

16

2000 –Windows ME

Page 17: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

17

Page 18: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

18

2001–Windows XP

Page 19: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

19

Page 20: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

20

2007 – Vista

Page 21: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

21

Linux Rocks!

Page 22: Lesson 2

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

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

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

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

25

Tux

Page 26: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

26

Windows, Mac and LinuxLinux!

Page 27: Lesson 2

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

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

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

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

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

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

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

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

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

35

CLs

Clear the screen

Page 36: Lesson 2

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

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

37

cd\

Go to root

Page 38: Lesson 2

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

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

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

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

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

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

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

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

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

46

mem

Shows memory

Page 47: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

47

Page 48: Lesson 2

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

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

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

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

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

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

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

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

55

Mkdir directory

Make directory

Page 56: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

56

Rmdir directory

Remove directory

Page 57: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

57

Exercise 1

Page 58: Lesson 2

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

58

Ping

Page 59: Lesson 2

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

Course Design by. Peleg (based on the origianl Hacker High School and Youth Technology Corp)

60

FIN

Questions?