1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.da/common/pushd.md
Sebastiaan Speck 10896a0a0b
pages*: fix tldr-lint issues (#11288)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
2023-10-26 19:31:26 +02:00

541 B

pushd

Tilføj en mappe til mappe-stakken, så den kan tilgås på et senere tidspunkt. Se popd for at skifte tilbage til den oprindelige mappe og dirs for at vise indholdet af mappe-stakken. Mere information: https://www.gnu.org/software/bash/manual/html_node/Directory-Stack-Builtins.html.

  • Skift til mappe og tilføj den til mappe-stakken:

pushd {{mappe}}

  • Byt om på første og anden mappe i mappe-stakken:

pushd

  • Rotér mappe-stakken ved at gøre det femte element til det første i mappe-stakken:

pushd +4