Download
command line basics n.
Skip this Video
Loading SlideShow in 5 Seconds..
Command Line Basics PowerPoint Presentation
Download Presentation
Command Line Basics

Command Line Basics

1 Views Download Presentation
Download Presentation

Command Line Basics

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Command Line Basics

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

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

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

  5. Outline 1 Practical Task - GUI 2 Practical Task - Command Line 3 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. 1 Practical Task - GUI Root Is the hard drive for C: Directory Is a folder

  9. 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…

  10. 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

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

  12. 1 Practical Task - GUI

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

  14. 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. 2 Practical Task - Command Line

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

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

  18. 2 Practical Task - Command Line

  19. 2 Practical Task - Command Line

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

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

  22. 2 Practical Task - Command Line Syntax

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

  24. 2 Practical Task - Command Line

  25. 2 Practical Task - Command Line

  26. 2 Practical Task - Command Line

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

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

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

  30. 2 Practical Task - Command Line

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

  32. 2 Practical Task - Command Line

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

  34. 2 Practical Task - Command Line

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

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

  37. 2 Practical Task - Command Line

  38. 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…

  39. 2 Practical Task - Command Line

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

  41. 3 Homework Task