I am using the standard check if a directory exists.
#!/bin/bash
if [ -d "~/.junk" ]; then
echo "yeet"
[ -d "~/.junk" ] evaluates to false, however, when I cd into ~ and type ls -a, .junk is indeed one of the directories.
What could be happening?
I am using Linux Mint Vera