410 likes | 476 Views
Learn how to navigate the command line with practical tasks, from setting up folders in a GUI to mastering commands for efficient file management. Enhance your skills in Linux basics and develop the right attitude as you progress through the stages.
E N D
Introduction Stage 1 GUI Stage 2 Command Line Stage 3 Linux
Introduction You need the right attitude! Yes, you are a guinea pig Hi…I’m well brave But be a brave guinea pig!
Outline 1 Practical Task - GUI 2 Practical Task - Command Line 3 Homework Task
Outline 1 Practical Task - GUI 2 Practical Task - Command Line 3 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
1 Practical Task - GUI Root Is the hard drive for C: Directory Is a folder
1 Practical Task - GUI 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…
1 Practical Task - GUI Root Is the hard drive Directory 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
Outline 1 Practical Task - GUI 2 Practical Task - Command Line 3 Homework Task
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…
2 Practical Task - Command Line
2 Practical Task - Command Line Profile Path Root Whole thing = ‘prompt’
2 Practical Task - Command Line dir is our first command It lists what’s in a directory…
2 Practical Task - Command Line
2 Practical Task - Command Line
2 Practical Task - Command Line cd is another command change directory
2 Practical Task - Command Line Syntax Prompt My Documents cd > Parameter Command Name of directory
2 Practical Task - Command Line Syntax
2 Practical Task - Command Line Prompt now shows our new directory
2 Practical Task - Command Line
2 Practical Task - Command Line
2 Practical Task - Command Line
2 Practical Task - Command Line Syntax Prompt One cd > Parameter Command Directory to change to
2 Practical Task - Command Line Prompt again shows our new directory
2 Practical Task - Command Line There’s our text file
2 Practical Task - Command Line
2 Practical Task - Command Line Syntax Command Prompt NewHello.txt Hello.txt Copy > Name of source file Name of copy Parameters
2 Practical Task - Command Line
2 Practical Task - Command Line There’s our copied file
2 Practical Task - Command Line
2 Practical Task - Command Line Syntax > cd Parameter Prompt Name of directory to go to Command is a special ‘up’ shortcut
2 Practical Task - Command Line Using commands to navigate the directory ‘tree’
2 Practical Task - Command Line
2 Practical Task - Command Line • Well done – you’ve finished our first practical tasks! • You first used the GUIto 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…
2 Practical Task - Command Line
Outline 1 Practical Task - GUI 2 Practical Task - Command Line 3 Homework Task
3 Homework Task