Welcome to the Linux Foundation Forum!

Labs Exercise 9.1 Step 10 got empty result!

Hello,

For this Lab, I checked all steps.
When I run "kubectl exec shell-demo -- /bin/bash -c 'cat /etc/cars/car.trim'", I got an empty result.
I checked inside the container, the files are there.

Could someone check the Lab?

Thanks,

Wei

Answers

  • Posts: 2,451

    Hi Wei,

    Is it possible that the output and the new line prompt ended up concatenated (as expected) and it may have been difficult to notice?
    Typically, the output looks something similar to this:

    Shelbystudent@my-machine:~$

    ... where only Shelby is the expected output, while stundet...:~$ is your prompt.

    Regards,
    -Chris

  • Posts: 45

    Hi Chris,

    Thank you. I will check it.

    Wei

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training