Question from the Bash - Fundamentals test

Get the parent directory of the current directory in Bash

Hard

Suppose we are in the MCQ directory. What does the following command:
$(dirname $(readlink -f $0)) do?

Author: titouan lecampStatus: PublishedQuestion passed 15 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!