lemmy.mlaga97.space
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cybercitizen4@lemm.ee to Asklemmy@lemmy.ml · 9 months ago

What's a handy terminal command you use often?

message-square
message-square
239
fedilink
1
message-square

What's a handy terminal command you use often?

cybercitizen4@lemm.ee to Asklemmy@lemmy.ml · 9 months ago
message-square
239
fedilink
alert-triangle
You must log in or register to comment.
  • some_guy@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    cd every single day.

    • InternetCitizen2@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      9 months ago

      You haven’t discovered exa? Noob

      /s

  • LEVI@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 months ago

    deleted by creator

  • unionagainstdhmo@aussie.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    8 months ago

    deleted by creator

    • jbk@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      Control + D

  • unionagainstdhmo@aussie.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    8 months ago

    deleted by creator

  • sgtnasty@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    pv (Pipe Viewer) is a command line tool to view verbose information about data streamed/piped through it. The data can be of any source like files, block devices, network streams etc. It shows the amount of data passed through, time running, progress bar, percentage and the estimated completion time.

  • toastal@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    GNU Parallel

  • BigLime@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 months ago

    Neofetch

    • Sneezycat@sopuli.xyz
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      Get on with the times, install fastfetch ;)

  • electric_nan@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    Saving this thread for later, but I use rsync -a a lot.

    • blackbirdbiryani@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      Have you heard of our lord and saviour rclone?

      I haven’t gone back to rsync in a long time.

  • macattack@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    9 months ago

    Getting cheatsheets via curl cheat.sh/INSERT_COMMAND_HERE

    No install necessary, Also, you can quickly search within the cheatsheets via ~. For example if you copy curl cheat.sh/ls~find will show all the examples of ls that use find. If you remove ~find, then it shows all examples of ls.

    I have a function in my bash alias for it (also piped into more for readability):

    function cht() { curl cheat.sh/"$1"?style=igor|more }

  • lluki@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    xdg-open FILE - opens a file with the default GUI app. I use it for example to open PDFs and PNG. I have a one letter alias for that. It can also open a file explorer in the current directory xdg-open . . Should work on any compliant desktop environment (gnome/kde).

  • berryjam@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    qalc

  • pyr0ball@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    9 months ago

    Going to shamelessly plug my custom bashrc setup which has a ton of little scripting helpers and a few useful aliases. Remember to clone recursively if you want to try it out. (Still very much a work in progress, but it’s getting to be pretty robust)

    https://GitHub.com/pyr0ball/PRbL-bashrc.git

  • /home/pineapplelover@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    Neofetch

    • potentiallynotfelix@lemmy.fish
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 months ago

      let me guess, you either use arch or gentoo

      • /home/pineapplelover@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        9 months ago

        You caught me. (I use arch btw)

  • LazaroFilm@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 months ago

    cd then ls then cd then ls maybe I’ll throw a la -a

    • vrighter@discuss.tchncs.de
      cake
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      I use -A instead, which doesn’t show “.” and “…”

    • blackbirdbiryani@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      Nah you gotta alias ls -a to la for more efficiency.

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        9 months ago

        l

    • papertowels@lemmy.one
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      Don’t forget your pwd thrown in to get back your bearings!

  • RagingRobot@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    CTR + u will delete the whole command. I use that a lot so I don’t have to backspace. It’s saved me a ton of time

    • darvit@lemmy.darvit.nl
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      How about ctrl+c to cancel and clear the command you are typing? It’s much easier because you only need 1 hand, and does not impact your shell’s history.

    • call_me_xale@lemmy.zip
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      Related: Alt + ., to cycle through arguments used in previous commands

    • emergencybird@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      This is great for when you type in your root password incorrectly!

    • potentiallynotfelix@lemmy.fish
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 months ago

      I just use control C, is there a difference other than whether the line shows up or not?

    • AnIndefiniteArticle@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      And then ctrl+y to paste it back and recover that text.

Asklemmy@lemmy.ml

asklemmy@lemmy.ml

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: !asklemmy@lemmy.ml

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it’s welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

  • !lemmy_support@lemmy.ml
  • !fediverse@lemmy.ml
  • !selfhosted@lemmy.world

Looking for a community?

  • Lemmyverse: community search
  • sub.rehab: maps old subreddits to fediverse options, marks official as such
  • !lemmy411@lemmy.ca: a community for finding communities

Icon by @Double_A@discuss.tchncs.de

Visibility: Public
globe

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

  • 117 users / day
  • 528 users / week
  • 2.16K users / month
  • 7.93K users / 6 months
  • 0 local subscribers
  • 49.1K subscribers
  • 5.87K Posts
  • 197K Comments
  • Modlog
  • mods:
  • Evan@lemmy.ml
  • mekhos@lemmy.ml
  • tmpod@lemmy.pt
  • OrangeSlice@lemmy.ml
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org