Presentation is loading. Please wait.

Presentation is loading. Please wait.

Command Line Basics.

Similar presentations


Presentation on theme: "Command Line Basics."— Presentation transcript:

1 Command Line Basics

2 Introduction Stage 1 GUI Stage 2 Command Line Stage 3 Linux

3 You need the right attitude!
Introduction You need the right attitude! Yes, you are a guinea pig Hi…I’m well brave But be a brave guinea pig!

4 1 2 3 Outline Practical Task - GUI Practical Task - Command Line
Homework Task

5 1 2 3 Outline Practical Task - GUI Practical Task - Command Line
Homework Task

6 1 Practical Task - GUI Our first activity with the VM is to create a basic set-up of folders & files You’ll do it using the GUI Then we’ll play around with it using the command line Let’s start by finding My Documents…

7 1 Practical Task - GUI

8 Practical Task - GUI 1 Root Directory Is the hard drive for C:
Is a folder

9 Practical Task - GUI 1 This is a strange part of the file path
It shows how the OS handles multiple users Windows stores Profiles for different users And so this is part of the ‘Profile Path’ So each user gets their own My Documents We’ll come back to this when doing Users…

10 Practical Task - GUI 1 Root Directory Profile Path Is the hard drive
The user’s ‘home’ folder Profile Path System folders that let the OS handle multiple users

11 Now make this file structure…
My Documents One Two Hello.txt Bye.txt

12 1 Practical Task - GUI

13 1 2 3 Outline Practical Task - GUI Practical Task - Command Line
Homework Task

14 Using GUI for Folders & Files
4 Using GUI for Folders & Files You have used the GUI to create a basic set-up of folders & files Now we’ll play around with it using the command line Normally, you can’t do this on school PCs It’s blocked for ordinary users (students) That’s part of our network security policy But on the VM, you can run the command line…

15 Practical Task - Command Line
2 Practical Task - Command Line

16 Practical Task - Command Line
2 Practical Task - Command Line Root Profile Path Whole thing = ‘prompt’

17 Practical Task - Command Line
2 Practical Task - Command Line dir is our first command It lists what’s in a directory…

18 Practical Task - Command Line
2 Practical Task - Command Line

19 Practical Task - Command Line
2 Practical Task - Command Line

20 Practical Task - Command Line
2 Practical Task - Command Line cd is another command change directory

21 Practical Task - Command Line
2 Practical Task - Command Line Syntax Prompt > cd My Documents Command Parameter Name of directory

22 Practical Task - Command Line
2 Practical Task - Command Line Syntax

23 Practical Task - Command Line
2 Practical Task - Command Line Prompt now shows our new directory

24 Practical Task - Command Line
2 Practical Task - Command Line

25 Practical Task - Command Line
2 Practical Task - Command Line

26 Practical Task - Command Line
2 Practical Task - Command Line

27 Practical Task - Command Line
2 Practical Task - Command Line Syntax Prompt > cd One Command Parameter Directory to change to

28 Practical Task - Command Line
2 Practical Task - Command Line Prompt again shows our new directory

29 Practical Task - Command Line
2 Practical Task - Command Line There’s our text file

30 Practical Task - Command Line
2 Practical Task - Command Line

31 Practical Task - Command Line
2 Practical Task - Command Line Syntax Prompt Command > Copy Hello.txt NewHello.txt Name of source file Name of copy Parameters

32 Practical Task - Command Line
2 Practical Task - Command Line

33 Practical Task - Command Line
2 Practical Task - Command Line There’s our copied file

34 Practical Task - Command Line
2 Practical Task - Command Line

35 Practical Task - Command Line
2 Practical Task - Command Line Syntax > cd Prompt Parameter Name of directory to go to Command is a special ‘up’ shortcut

36 Practical Task - Command Line
2 Practical Task - Command Line Using commands to navigate the directory ‘tree’

37 Practical Task - Command Line
2 Practical Task - Command Line

38 Practical Task - Command Line
2 Practical Task - Command Line Well done – you’ve finished our first practical tasks! You first used the GUI to create a basic set-up of folders & files Then you used the command line to mess around with the folders & files Let’s recap on the commands you used…

39 Practical Task - Command Line
2 Practical Task - Command Line

40 1 2 3 Outline Practical Task - GUI Practical Task - Command Line
Homework Task

41 3 Homework Task


Download ppt "Command Line Basics."

Similar presentations


Ads by Google