Question from the Bash - Fundamentals test

Get the parent directory of the current directory in Bash

Medium

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

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