News for hackers. Stuff that matters.
Re:Show HN: Memorize Terminal Commands by pushpop on Sunday July 28, 2019 @08:10PM (#20550556)
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.

Re:Show HN: Memorize Terminal Commands by pushpop on Monday July 29, 2019 @02:49AM (#20552056)
I did some quick research on the POSIX thing and it looks like cd (without parameters) is defined in POSIX:

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.