Skip to content

[Bug/Error] Subject: Bash Scripting Missing Data #7163

Open
@imilkes

Description

@imilkes

Actual Behavior

I am completing the Learn Bash Scripting 1-hour course and I got stuck when trying to complete an exercise in the Aliases section. I was asked to modify a file to get a script reply on the terminal, but my code was not taken into consideration and reversed to the previous exercise:

Let’s create an alias so that when you type greet3 in the terminal, our script greets you three times. In your own environment, you could add this alias to your ~/.bashrc to make the alias active every time the terminal is started. Here, just make the alias in the command line.

When typing 'Hint' I got the answer I added to the file, but the validation did not work. I had to click on See Solution to see the code requested is missing.

Image Image

Expected Behavior

Solution:

alias greet3="./script.sh 3"

As shown in the screen, the code is missing and yet the 'Next' button was enabled. Suggestion: improve guidelines to enable students' understanding of the process. ie: after running the command on the terminal, the input works with (-1 of input variable). ie:

alias greet3='./script.sh 18'

The result is:

**

> greeting * 17 times (input data - 1) (even when commenting the greeting lines in the file).

**

Image Image

On what browser(s) are you seeing the problem?

Chrome

Code of Conduct

  • By submitting this issue, I agree to follow Codecademy Doc's Code of Conduct.

For Maintainers

  • Labels added
  • Issue is assigned

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions