K1Lesson 4 of 49about 120 minutes
Using the command line safely
What you learn in this lesson
- tell absolute and relative paths apart and know what a relative path depends on
- pass arguments to a program and read them in args
- set environment variables and read them in the program
- return an exit code and check it with $LASTEXITCODE in PowerShell and $? in bash
- redirect output and error messages into separate files
This lesson belongs to course K1
You will see this lesson's text and video once you have bought the course. The goals above show what you learn here.
€149.00
incl. VAT, one-time payment
Access to all of the course's lessons with their exercises, solutions and videos on this site, for 24 months from the purchase. A self-study course: no tutoring, no exams or grading by us, and no certificate.
Sign in and buy