SyntaxFix
Write A Post
Hire A Developer
Questions
Just an alternative to
ls -d "$PWD/"*
to pinpoint that * is shell expansion, so
*
echo "$PWD/"*
would do the same (the drawback you cannot use -1 to separate by new lines, not spaces).
-1