<div dir="ltr">I don't need these new kid toys, "cd -" is good enough! #getoffmylawn<div><br></div><div>More seriously, I don't have the brains to remember further than one level back, so I never felt the need to use popd/pushd, but I'm sure the pointer will be useful to others.</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>-- <br></div>Guillaume Quintard<br></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 15, 2021 at 9:35 AM Nils Goroll <<a href="mailto:nils.goroll@uplex.de">nils.goroll@uplex.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 15/02/2021 16:56, Guillaume Quintard wrote:<br>
> +                cd /tmp<br>
>                  patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst && curl -LO "<a href="https://repo.archlinuxcn.org/x86_64/$patched_glibc" rel="noreferrer" target="_blank">https://repo.archlinuxcn.org/x86_64/$patched_glibc</a>" && bsdtar -C / -xvf "$patched_glibc"<br>
> +                cd -<br>
<br>
not important, but FTR: I like pushd / popd for this pattern<br>
<br>
-- <br>
<br>
** * * UPLEX - Nils Goroll Systemoptimierung<br>
<br>
Scheffelstraße 32<br>
22301 Hamburg<br>
<br>
tel +49 40 28805731<br>
mob +49 170 2723133<br>
fax +49 40 42949753<br>
<br>
xmpp://<a href="http://slink@jabber.int.uplex.de/" rel="noreferrer" target="_blank">slink@jabber.int.uplex.de/</a><br>
<br>
<a href="http://uplex.de/" rel="noreferrer" target="_blank">http://uplex.de/</a><br>
<br>
</blockquote></div>