Skip to content

Instantly share code, notes, and snippets.

@naveensrinivasan
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naveensrinivasan/f2323c226f977d784995 to your computer and use it in GitHub Desktop.
Save naveensrinivasan/f2323c226f977d784995 to your computer and use it in GitHub Desktop.
Teaching kids to use bash

I have been wanting to teach my kids bash. I wanted to start of teaching them basics of bash and then slowly introduce to them the complex stuff when needed. I have two boys 8,6 and they always want somethings that are funny! I know they would remember things that have pictures.

They have been wanting to know where we are taking to them in florida for vacation. So here is funny and cool lesson for kids to learn bash and figure to where we are going.

I created a file called florida and stored it in the home directory with information they were looking for. The below is the markdown I shared with them.

Where are we going in florida?

Solve the mission using computer

Here are the clues
image

How do we talk to the computer?

image

launch terminal

**How do I know where am I in the computer? ** image

pwd

pwd stands for print working directory

**How do I clean the terminal? **

image

clear

directory is a box
image

It can contain other boxes or

files

image

**How do I to know what is in the box or directory? **

image

ls

ls stands for list of things

How do I know what is in a file?

cat
img

Example to get the what is in the file florida type cat florida

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment