Re:Linux command line for you and me
by rjsw on Sunday September 18, 2022 @09:19AM
(#32887321)
An executable of 'cd' wouldn't do anything useful, it could only change its own idea of working directory then exit, the shell or other executable that invoked it would be unchanged.
[ Parent
| on HN ]
Re:Linux command line for you and me
by stjohnswarts on Sunday September 18, 2022 @12:13PM
(#32888721)
why couldn't it call an api in the shell to change directory?
What would that improve? And what happens if you call it from another shell?
Re:Linux command line for you and me
by stjohnswarts on Monday September 19, 2022 @12:10PM
(#32900257)
I never implied that it was better or worse but that it was possible