ChippyTea Forums
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
not_IO@lemmy.blahaj.zone to linuxmemes@lemmy.worldEnglish · 1 month ago

after every cd

media.mas.to

message-square
11
link
fedilink
2

after every cd

media.mas.to

not_IO@lemmy.blahaj.zone to linuxmemes@lemmy.worldEnglish · 1 month ago
message-square
11
link
fedilink

https://mas.to/@changoteca/115940445541109805

alert-triangle
You must log in or # to comment.
  • Anafabula@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    I also recommend Atuin, the better shell history that works with most shells and can replace both up arrow and ctrl-r

  • wildbus8979@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    Let me teach you about reverse-i-search in bash…

    https://linuxvox.com/blog/ctrl-r-linux/

    • Syndication@lemmy.today
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      I was just about to ask how the hell anyone remembers or knows all these commands, thanks for the info! I am trying to learn Linux and get used to using the Terminal more often.

    • RollForInitiative@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Yep, thats a good one. Another one, ALT + . inputs the last argument from your last command, pressing it multiple times cycles thorough your past arguments.

    • ScientifficDoggo@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      Yeesh, I just learned something new. Thanks!

    • ttyybb@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      I don’t even want to think about how much effort this has saved me.

  • bdonvr@thelemmy.club
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    Ctrl-R

    Try it. Please, I beg you.

  • pinball_wizard@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    This thread is full of great solutions that I know I will ignore…

  • AItoothbrush@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    Very useful tip: i have ls aliased to eza which is ls with eyecandy, I have la aliased to eza -a and I have cd aliased to cd && eza which makes navigating folders very easy. I also aliased … to cd … for convenience. I know a lot of people are purists about the terminal but i think this is a good ballance between convenience and simplicity. Doesnt do a lot of the cursed stuff ricers like to do.

    • Anafabula@discuss.tchncs.de
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      cd is a zoxide alias for me. If I need to navigate by folder content, I have yazi on y

  • irelephant [he/him]@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    cd - will bring you to the last directory you were in.

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Hint: :q!


Sister communities:
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
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.
  • Don’t come looking for advice, this is not the right community.
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 figures

We 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.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.09K users / day
  • 5.63K users / week
  • 7.2K users / month
  • 7.28K users / 6 months
  • 1 local subscriber
  • 30.5K subscribers
  • 409 Posts
  • 3.78K Comments
  • Modlog
  • mods:
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.15
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org