Homework

The more you practice, the more comfortable you’ll feel!

Hey Slacker!

Remember, we're here to help. Join the KCWiT #codingandcocktails Slack Channel: kcwit.slack.com

More Practice

  1. https://try.github.io/levels/1/challenges/1

  2. https://www.codecademy.com/learn/learn-git

  3. Just for fun & more practice - Learning Git branching via a game! http://pcottle.github.io/learnGitBranching/

  4. Work through the Command Line course on Codecademy at https://www.codecademy.com/learn/learn-the-command-line.

Use telnet

Ever wondered what Star Wars: Episode IV would look like in all text? Of course you have!

  1. Follow the instructions for your OS. Use CTRL + ] to exit.

    Type telnet towel.blinkenlights.nl .

    Enable telnet by following the video below, then type winpty telnet towel.blinkenlights.nl .

    The telnet command uses a protocol that allows you to log in to another remote machine, located in this case at towel.blinkenlights.nl. A protocol is a set of procedures and rules for data transmission.

    The winpty command allows Cmder to properly use the telnet command in Windows. You could also run telnet towel.blinkenlights.nl in the built-in Windows command prompt to get the same results.

Windows users only - Learn some native Windows shell commands

There may be times when you don't have the bash shell. Windows PowerShell is the next best option for ongoing needs because it has more bash commands built in, but it's good to have exposure to Windows cmd.

Let's learn some Windows shell commands that match some commands we learned in the worksheet. You can try stepping through command line portion of the worksheet using Windows command prompt but you will run into differences. Understanding the difference of a few basic commands may be helpful.

  1. Open Windows command prompt by typing "cmd" in the Windows task bar. Launch Command Prompt Desktop app as an Administrator to try using native Windows commands.

    Not all of the bash commands are available in Windows.

Here's some equivalent commands from bash to Windows command prompt.

bash cmd
pwd cd
ls dir
cd cd
~ %USERPROFILE%
mkdir mkdir
cp copy
cp -r xcopy
mv move
rm del
rm -rf deltree

You can find more equivalent commands here.

Play some games

  1. Beat the game at http://overthewire.org/wargames/bandit/. You'll start by entering in the command ssh bandit0@bandit.labs.overthewire.org and typing bandit0 as the password when prompted.

    The ssh command stands for secure shell and is a network protocol, much like telnet.

    The higher levels of this game can get decently advanced but take it step by step. You can follow the walk through at https://www.yalpski.net/bandit-wargame for levels 0-17 if you need further help. Always search the internet for anything you don't understand or need further information on!

  2. Play a fun game to sharpen your vim skills. Visit https://vim-adventures.com/.

results matching ""

    No results matching ""