I want to take the path of the local directory and put each directory on the path in a different line. I've tried to do it using cut:
pwd | cut -f 1- -d\/ --output-delimiter=\n
but it doesn't change the '/'s into EOL, but puts n's instead. What am I doing wrong?