The length of the path of the current working directory can be obtained in bash with
echo -n $(readlink -f $PWD) | wc -c
The length of the path of the current working directory can be obtained in bash with
echo -n $(readlink -f $PWD) | wc -c