this post was submitted on 25 May 2025
884 points (98.3% liked)

linuxmemes

25099 readers
2137 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    (page 2) 50 comments
    sorted by: hot top controversial new old
    [–] Drekaridill@feddit.is 30 points 2 days ago

    cd .. ls cd .. ls cd .. ls cd .. ls

    [–] Shanmugha@lemmy.world 3 points 1 day ago

    cd /some/thing/i/remember

    [–] OpenStars@discuss.online 30 points 2 days ago (1 children)

    Depending on where you are, maybe just "cd".

    [–] wreckedcarzz@lemmy.world 11 points 1 day ago

    Smh when are you going to upgrade to dvd

    [–] funkajunk@lemm.ee 25 points 2 days ago (2 children)

    I alias .. to cd ..

    Works for me 🀷🏻

    [–] Bonsoir@lemmy.ca 20 points 2 days ago

    I do that too!
    I also alias ... to cd ../... I'll be honest, I often forget to do it, but in theory it can speed things up.

    load more comments (1 replies)
    [–] lambda@programming.dev 13 points 1 day ago (2 children)
    [–] jia_tan@lemmy.blahaj.zone 4 points 1 day ago

    Whaaaaaaaaaaaaaaat

    [–] pupbiru@aussie.zone 3 points 1 day ago* (last edited 1 day ago) (1 children)

    don’t even need the cd since if it’s a dir, zsh automatically cd to that path ;)

    just ….. works great

    load more comments (1 replies)
    [–] hperrin@lemmy.ca 9 points 1 day ago (1 children)
    load more comments (1 replies)
    [–] tehn00bi@lemmy.world 1 points 1 day ago

    More like cd… dir cd… dir cd…

    [–] _thebrain_@sh.itjust.works 14 points 1 day ago* (last edited 1 day ago) (2 children)
    load more comments (2 replies)
    [–] billwashere@lemmy.world 17 points 2 days ago* (last edited 2 days ago) (4 children)

    Or the alias I have set up

    …..

    I kept saying "cd up" in my mind so I just made an alias for cdu, became a reflex within the next day

    load more comments (3 replies)
    [–] Fizz@lemmy.nz 12 points 1 day ago (2 children)

    Me doing it the worst way > opening up dolphin(file explorer) navigating to the folder then opening terminal there.

    [–] palmtrees2309@lemm.ee 5 points 1 day ago (2 children)

    Doesnt dolphin has a terminal in built so you can watch files in gui and still use cli?

    [–] Mechanite@lemmy.world 4 points 1 day ago

    Yep you can toggle it with F4

    load more comments (1 replies)
    [–] moopet@sh.itjust.works 3 points 1 day ago

    git () { if [ "$1" = "cd" ] then shift cd "./$(command git rev-parse --show-cdup)$*" else command git "$@" fi }

    [–] unsubtle@sh.itjust.works 4 points 1 day ago

    Wait until we tell them about autojump

    [–] x00z@lemmy.world 2 points 1 day ago
    [–] CommanderCloon@lemmy.ml 3 points 1 day ago

    Nah, I always cd to full path, that way I can easily use my history to move back there

    [–] Ganbat@lemmy.dbzer0.com 8 points 1 day ago

    Tbf it is less key presses since you can generally just recall the last command.

    [–] gwilikers@lemmy.ml 3 points 1 day ago

    td aliased to cd $(whatever the command is to get the got root directory)

    [–] letsgo@lemm.ee 2 points 1 day ago

    I created a script called GoUpALevel.

    [–] kibiz0r@midwest.social 6 points 1 day ago (2 children)
    load more comments (2 replies)
    load more comments
    view more: β€Ή prev next β€Ί