haley.io
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
weird@sub.wetshaving.social to linuxmemes@lemmy.world · 3 months ago

That is the way

sub.wetshaving.social

message-square
139
fedilink
875

That is the way

sub.wetshaving.social

weird@sub.wetshaving.social to linuxmemes@lemmy.world · 3 months ago
message-square
139
fedilink
alert-triangle
You must log in or register to comment.
  • bitchkat@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    3 months ago

    You forgot the pwd after each ‘cd’.

    • Owl@mander.xyz
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      ls*

      • bitchkat@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        Ls doesn’t tell them where they are, just what files exist in their current location.

        • Owl@mander.xyz
          link
          fedilink
          arrow-up
          3
          ·
          3 months ago

          Yup,

          But I want to know if the file I’m looking for is in this directory or I have to cd… once more

          • bitchkat@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 months ago

            That’s when locate piped to grep is your best friend.

  • x00z@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago
    cd .
    
  • tehn00bi@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    3 months ago

    More like cd… dir cd… dir cd…

  • xor@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    2
    ·
    edit-2
    2 months ago

    deleted by creator

  • unsubtle@sh.itjust.works
    link
    fedilink
    arrow-up
    5
    ·
    3 months ago

    Wait until we tell them about autojump

  • zitrone 🍋@lemmings.world
    link
    fedilink
    arrow-up
    13
    ·
    3 months ago

    i use fish shell with https://github.com/nickeb96/puffer-fish

    basically when i type ... it expands to ../.. and adds another /.. for every additional dot i type

    its similar to what the zsh users in the comment section are doing

    • Matriks404@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      deleted by creator

    • oni ᓚᘏᗢ@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      3 months ago

      I was about to post something similar. With fish you can do your own functions, right? So, you can pass any dots as arguments to a function called cd, so, for every extra dot after .., you append a /.. at the end.

      • zitrone 🍋@lemmings.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        3 months ago

        yeah, but its less visual

        cd ..... is harder to understand than cd ../../../..

        also the extension work with any commend, not just cd

  • Drekaridill@feddit.is
    link
    fedilink
    Íslenska
    arrow-up
    29
    ·
    3 months ago

    cd … ls cd … ls cd … ls cd … ls

  • Shanmugha@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    cd /some/thing/i/remember

  • beerclue@lemmy.world
    link
    fedilink
    arrow-up
    15
    ·
    3 months ago

    I use a lot cd - (go to previous) or just cd to go home.

  • oplkill@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    3 months ago

    cd…

  • astrsk@fedia.io
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    z myDir

  • NorthWestWind@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    3 months ago

    cd ./…
    cd …/._

  • billwashere@lemmy.world
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    edit-2
    3 months ago

    Or the alias I have set up

    ……

    • AtHeartEngineer@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      3 months ago

      Ya, this is the way. I use ... all the time

    • not_woody_shaw@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      3 months ago

      Once you’ve typed … you know if you type more dots it’s to go up more dir, so you don’t really need two dots for each additional dir.

      • billwashere@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        Yeah so it was five dots for four directories up. I also have

        … for 2

        And

        …. for 3

        I don’t think I have one for 5. I’d have to look. I also use autojump and fzf which is very useful.

    • confusedpuppy@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      3 months ago

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

  • finitebanjo@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    cd ‘/dev/sda1’

    or

    cd “C:/”

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 months ago

    alias .4=cd …/…/…/…

    • ziggurat@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      alias -g .4=“…/…/…/…”

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: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

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.
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.31K users / day
  • 3.58K users / week
  • 6.92K users / month
  • 18.4K users / 6 months
  • 1 local subscriber
  • 26.7K subscribers
  • 921 Posts
  • 24.4K Comments
  • Modlog
  • mods:
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org