• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Shell tutorial
 

Shell tutorial

on

  • 149 views

A very basic introduction to the command line for CMDC's Tech 101 series

A very basic introduction to the command line for CMDC's Tech 101 series

Statistics

Views

Total Views
149
Views on SlideShare
149
Embed Views
0

Actions

Likes
1
Downloads
3
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Shell tutorial Shell tutorial Presentation Transcript

    • Basic Introduction to the Command Line Tech 101 Workshop CDMD Fall 2013
    • Why Should I Care? Give your computer(*) direct commands Be in control Children use pictures to control their computers, grown ups learn to read and use words. (this is a joke.) (*) Also remote computers, VMs, & ser vers.
    • What is the Command Line? A place to enter direct commands. Shell & Terminal Emulators In OSX it is accessed through Terminal
    • In The Beginning Was The Command Line
    • Console Command Line Prompt
    • Let’s Do It! Open a terminal on your machines
    • Navigating the Terminal Look Ma! No mouse. ! Use left and right arrows to move the cursor Use Up and Down arrows to retrieve previous commands
    • Basic Commands ls = list. (dir in DOS) pwd = print working directory cd = change directory man = manual clear = clear screen control-c = exits command if frozen
    • What You’ll See: ls ls shows files and folders files have an extension (.exe, .txt. .html) Folders do not.
    • What You’ll See: cd cd changes the directory cd .. goes up one level cd $directoryname goes to that directory
    • What You’ll See: pwd pwd: shows you where you are
    • Exercise: use ls, cd, and pwd to explore your machine.
    • More Commands touch = touch $newfilename (creates file w/o editing) nano = nano $filename (opens file in nano editor) edit = edit $filename (edits file in default editor) rm = rm $filename (deletes file. CAREFUL)
    • Exercise: Make a File The Touch Command
    • Try This: use touch to create a file edit the file with nano verify the changes using edit delete the file using rm
    • /tech101basic Let’s Take a Break
    • Part Two: Tutorial Go through a self paced tutorial to try new stuff.
    • Pick a Tutorial Tutorial on Manipulating your Mac’s Appearance http:/ /bit.ly/tech101osx http:/ /www.wikihow.com/Customize-Your-Mac-Using-theTerminal More Advanced Linux Tutorial http:/ /bit.ly/tech101adv http:/ /linuxcommand.org/learning_the_shell.php Very Basic Tutorial Repeating First Lessons http:/ /bit.ly/tech101basic http:/ /blog.teamtreehouse.com/introduction-to-the-mac-os-xcommand-line
    • /tech101basic Let’s Take a Break
    • Part 3: Hardware Hacking Use the command line to own your machines.