Command Line Basics
Introduction Stage 1 GUI Stage 2 Command Line Stage 3 Linux
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!
1 2 3 Outline Practical Task - GUI Practical Task - Command Line Homework Task
1 2 3 Outline Practical Task - GUI Practical Task - Command Line Homework Task
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…
1 Practical Task - GUI
Practical Task - GUI 1 Root Directory Is the hard drive for C: Is a folder
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…
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
Now make this file structure… My Documents One Two Hello.txt Bye.txt
1 Practical Task - GUI
1 2 3 Outline Practical Task - GUI Practical Task - Command Line Homework Task
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…
Practical Task - Command Line 2 Practical Task - Command Line
Practical Task - Command Line 2 Practical Task - Command Line Root Profile Path Whole thing = ‘prompt’
Practical Task - Command Line 2 Practical Task - Command Line dir is our first command It lists what’s in a directory…
Practical Task - Command Line 2 Practical Task - Command Line
Practical Task - Command Line 2 Practical Task - Command Line
Practical Task - Command Line 2 Practical Task - Command Line cd is another command change directory
Practical Task - Command Line 2 Practical Task - Command Line Syntax Prompt > cd My Documents Command Parameter Name of directory
Practical Task - Command Line 2 Practical Task - Command Line Syntax
Practical Task - Command Line 2 Practical Task - Command Line Prompt now shows our new directory
Practical Task - Command Line 2 Practical Task - Command Line
Practical Task - Command Line 2 Practical Task - Command Line
Practical Task - Command Line 2 Practical Task - Command Line
Practical Task - Command Line 2 Practical Task - Command Line Syntax Prompt > cd One Command Parameter Directory to change to
Practical Task - Command Line 2 Practical Task - Command Line Prompt again shows our new directory
Practical Task - Command Line 2 Practical Task - Command Line There’s our text file
Practical Task - Command Line 2 Practical Task - Command Line
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
Practical Task - Command Line 2 Practical Task - Command Line
Practical Task - Command Line 2 Practical Task - Command Line There’s our copied file
Practical Task - Command Line 2 Practical Task - Command Line
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
Practical Task - Command Line 2 Practical Task - Command Line Using commands to navigate the directory ‘tree’
Practical Task - Command Line 2 Practical Task - Command Line
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…
Practical Task - Command Line 2 Practical Task - Command Line
1 2 3 Outline Practical Task - GUI Practical Task - Command Line Homework Task
3 Homework Task