Timeline for Difference between pushd/popd and sub-shell+cd
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 4, 2019 at 9:10 | answer | added | sorin | timeline score: 2 | |
| May 25, 2018 at 20:10 | comment | added | Kusalananda♦ | @AustinHemmelgarn No, they (pushd/popd) are not mentioned in POSIX at all. | |
| May 25, 2018 at 19:45 | comment | added | Austin Hemmelgarn | @Kusalananda Actually, they're POSIX sh things, which bash happens to implement. They should work in a vast majority of standard shells (with the possible exception of CSH style shells). | |
| May 25, 2018 at 17:34 | answer | added | Hauke Laging | timeline score: 3 | |
| May 25, 2018 at 17:28 | comment | added | Kusalananda♦ | cd is a standard command, pushd and popd are bash things, so they would not be portable unless you provided them as functions in a sh script. | |
| May 25, 2018 at 17:18 | history | edited | Jeff Schaller♦ | edited tags | |
| May 25, 2018 at 17:14 | history | asked | ahmet alp balkan | CC BY-SA 4.0 |