Giter VIP home page Giter VIP logo

katacoda-scenarios's People

Contributors

amblina avatar amerry avatar edward-knight avatar narenek avatar tomnewport avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

katacoda-scenarios's Issues

Tutorial 5, Step 3, Challenge 2

This is the currently suggested challenge:

Print columns 1-3 in reverse order (column 3 then 2 then 1)

Hint
cut doesn't care about which order you specify individual columns it just doesn't accept a range where the start number is bigger than the last.

Answer
cut -d ',' -f 3,2,1 parks.csv

However the cut command cannot change the order of the columns so will continue to print the columns in the order 1, 2, 3

Maybe worth investigating paste

Angle bracket notation confusion

Some learners are confused by the angle bracket notation (e.g. mkdir <name_here>). This notation is explained in the later tutorials, but used in the first tutorial.
Perhaps the explanation should be moved earlier in the tutorial series?

Tutorial 5, step 3: Answers

I'm not sure if this was just me, but when going through this section I was wondering if there should be more details for the answers. For example:

What do you think this command will produce?
cut -d ',' -f 1 parks.csv
Answer
The first column (Park Code)

Or maybe having

Park Code
ACAD
ARCH
BADL
... (other codes are listed here) ...
YELL
YOSE
ZION

would be more clear. Thoughts?

Font makes `1` and `l` indistinguishable sometimes

1 != l

I believe this may be an issue that only occurs on Windows machines, but I don't have one with me to test at the moment.

Not sure if we can use a different font, otherwise we might want to add a note as several people have required help with this.

less (or man) sometimes refuses user input

less seems to have trouble picking up on the size of the virtual terminal sometimes. This only occurs on certain window sizes / resolutions.

The solution is to run reset before launching a pager (either directly running less or via man).
We can educate mentors on this, but it may also be worth seeing if Katacoda supports a .bashrc that we can modify to run reset at the beginning.

Tutorial 2 Step 1 - text file "may be binary"

In Tutorial 2 Step 1, when trying to read ada_lovelace_bio.txt with less, I get the following message:

$ less ada_lovelace_bio.txt
"ada_lovelace_bio.txt" may be a binary file.  See it anyway?

Not sure what would be causing that, maybe some rogue escape character in the text file?

In any case this could be confusing to learners.

If Katacoda allow you to specify environment variables, you could use LESS=-f which will force less to read it? (https://superuser.com/a/772683/381552)

Tutorial 3 Step 5 - less --help output too long

The instruction says:

ls --help

This should print out:

Usage: ls [OPTION]... [FILE]...
List information about the FILEs (the current directory by default).
Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.
...

But the output of ls --help is quite long so the user only sees the bottom:

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.