|
|
|
|
|
by pushpop
2513 days ago
|
|
Technically the chances of tilde not working are the same as cd behaving differently because they’re both shell builtins. I’m guessing (though admittedly not checked) that both ~ and cd (without parameters) are defined in POSIX. In which case any edge case that doesn’t conform could reasonably be discounted with regards to the submission’s exercise. |
|
https://www.unix.com/man-page/posix/1posix/cd/
Also I don’t know why many of my posts keep getting downvoted even when they’re factually accurate.