NekuSoul-Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
weird@sub.wetshaving.social to linuxmemes@lemmy.world · 8 hours ago

That is the way

sub.wetshaving.social

message-square
64
fedilink
408

That is the way

sub.wetshaving.social

weird@sub.wetshaving.social to linuxmemes@lemmy.world · 8 hours ago
message-square
64
fedilink
alert-triangle
You must log in or register to comment.
  • lemmyhavesome@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    36 minutes ago
    In your rc:
    alias ..='cd ..'
    alias ...='cd ../..'
    alias ....='cd ../../..'
    
    Usage:
    1/2/3 $ ...
    1 $
    
    • /home/pineapplelover@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      27 minutes ago

      That’s pretty neat

  • λλλ@programming.dev
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    1 hour ago

    cd ..... I use zsh btw

  • Bappity@lemmy.world
    link
    fedilink
    English
    arrow-up
    68
    arrow-down
    1
    ·
    edit-2
    5 hours ago
    $ cd ..
    $ ls
    $ cd ..
    $ ls
    

    “hmm yes… everything seems to be in order”

    • LiveLM@lemmy.zip
      link
      fedilink
      English
      arrow-up
      11
      arrow-down
      1
      ·
      edit-2
      2 hours ago

      I need a shell/plugin/tool/whatever that always shows me the content of the current dir in a little popup or something.

      Anything I do in the shell is like cd this, ls, cd there, ls *, I feel like a have the navigational awareness of a amnesiac goldfish

      • Fushuan [he/him]@lemm.ee
        link
        fedilink
        arrow-up
        4
        ·
        2 hours ago

        Put this in bashrc or whatever flavour of shells’s bashrc you use:

        function cs () { cd “$@” && ls }

        I didnt remember the function sintax of bash so I just copied it from SO.

        • Artyom@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          38 minutes ago
          cs () {
              cd $1;
              ls ${@:2}
          }
          

          You (probably) only want to pass the first argument to cd, this’ll send the rest to ls.

      • Prime@lemmy.sdf.org
        link
        fedilink
        arrow-up
        3
        ·
        2 hours ago

        It is called windows 2000 explorer and it’s great for file operations :) In Linux i have yet to find a really good replacement ;(

      • Bappity@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 hours ago

        that, or you have to make ABSOLUTELY SURE that you haven’t accidentally pressed a button on your keyboard that has inevitably resulted in the total destruction of the directory contents

    • Zachariah@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 hour ago

      pwd seems more appropriate than ls

      • turtlesareneat@discuss.online
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 hour ago

        Doesn’t let you rifle through things approvingly as you go. "Yes this is the correct directory because it has the three files I was looking at earlier–

        You know what let’s do a ls -al just to be super sure it’s the right modification

        • Zachariah@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          59 minutes ago

          fair point

    • peoplebeproblems@midwest.social
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 hours ago

      Sometimes I throw off the linux admin reading my log by throwing in a pwd before going to the next one. Know it’s not gonna be in that directory you know?

  • Fushuan [he/him]@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    2 hours ago

    Sometimes I have to swap between two routed for several things, so I create a quick in-memory alias like aa=$(pwd)

    Then I can cd $aa

  • Crazyslinkz@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    2 hours ago
    cd ..
    pwd
    
  • zqwzzle@lemmy.ca
    link
    fedilink
    English
    arrow-up
    8
    ·
    4 hours ago

    Try zoxide

    • Danitos@reddthat.com
      link
      fedilink
      arrow-up
      2
      ·
      2 hours ago

      zoxide, btop and lazygit are a must for me in any computer.

    • lobut@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      3 hours ago

      Yup. I usually have zoxide installed. It’s grand.

  • astrsk@fedia.io
    link
    fedilink
    arrow-up
    1
    ·
    2 hours ago

    z myDir

  • _thebrain_@sh.itjust.works
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    edit-2
    5 hours ago

    cd …

    <Up arrow>

    <Up arrow>

    <Up arrow>

    <Up arrow>

    • _stranger_@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      edit-2
      4 hours ago

      cd …

      history

      !1

      !1

      !1

      …

      • d00phy@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        2 hours ago
        cd ..
        !!
        !!
        !!
        
  • kibiz0r@midwest.social
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    4 hours ago

    cd - helps

  • Fizz@lemmy.nz
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    5 hours ago

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

    • 10001110101@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      1 hour ago

      I like ranger (https://github.com/ranger/ranger).

    • palmtrees2309@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      2 hours ago

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

      • Mechanite@lemmy.world
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        1 hour ago

        Yep you can toggle it with F4

  • funkajunk@lemm.ee
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    1
    ·
    6 hours ago

    I alias .. to cd ..

    Works for me 🤷🏻

    • Bonsoir@lemmy.ca
      link
      fedilink
      arrow-up
      18
      arrow-down
      1
      ·
      6 hours 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.

  • Ganbat@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    5 hours ago

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

  • xor@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    5 hours ago
    cd ..  
    ls  
    ls -la  
    cd ..  
    ls  
    cd ..   
    rm -rf /  
    
  • Zachariah@lemmy.world
    link
    fedilink
    arrow-up
    45
    arrow-down
    1
    ·
    edit-2
    8 hours ago

    cd ..
    ⭡ ⏎
    ⭡ ⏎
    ⭡ ⏎

    • furry toaster@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      1 hour ago

      square

    • maxprime@lemmy.ml
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      7 hours ago

      Oh, shit.

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

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

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.

  • 2.05K users / day
  • 3.44K users / week
  • 9.31K users / month
  • 19.1K users / 6 months
  • 1 local subscriber
  • 25.1K subscribers
  • 1.62K Posts
  • 80.1K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org