Script basics · Question 4 of 12

How do you start the executable script backup.sh located in the current directory?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • B ./backup.sh

Explanation

The current directory is normally not in PATH, so the path ./ is needed in front. ~/ means the home directory, and .backup.sh would be a different, hidden file.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications