Labs · Episode 30 · 2:18

Run bounded shell workflows

Create, inspect and run small Bash, Python and PowerShell examples in simulated lab terminals. Read device files, compare interface information and recognize script errors.

English narration and on-screen explanations. Read the narration transcript.

Chapters and transcript times will be ready shortly. You can use the video’s Play control or open the MP4 below.

Chapters
Open MP4 · Download transcript · English captions

Narration transcript

The English narration in this video. Select a time to watch that moment.

  1. Open the Linux endpoint terminal to run commands inside your simulated lab.

  2. These examples use supported simulated shell features, not programs on your own computer.

  3. Create a short Bash script, then inspect its contents before running it.

  4. Run the script to report this endpoint’s real simulated interface state.

  5. A missing command reports an error; it does not become a successful result.

  6. Create a small Python script that reads and writes a device file.

  7. Run it with Python, then inspect the resulting file from the shell.

  8. A missing input file reports a clear error while the existing output remains intact.

  9. Use a supported Python subprocess call to inspect the same network state as the shell.

  10. This is a bounded Python environment, not an arbitrary package or host runtime.

  11. Open the Windows endpoint terminal and prepare a small PowerShell report.

  12. Inspect the report before running it with PowerShell.

  13. Compare its network information with the endpoint’s normal command output.

  14. A missing PowerShell script is reported without replacing the valid report.

  15. Keep scripts small, inspect their results, and save the lab separately when needed.

Back to all Labs videos