I thought it’d be a pain but installing programs through the terminal is actually so nice, I never would have expected it

  • glitchdx@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 hours ago

    if I could copy pasta with ctrl-c and ctrl-v in terminal, then 90% of my hatred of the command line would evaporate instantly.

    • Trainguyrom@reddthat.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 hours ago

      As an administrator, powershell is an essential tool these days. There are tunables that Microsoft simply only exposes via powershell even in their cloud Microsoft 365 environments. Just last month I had to rely on Powershell to trim previous versions on SharePoint, and 2 weeks ago I had to use Powershell to adjust a parameter on Exchange.

      But also being able to pop a Powershell session and quickly apply a registry fix or run a diagnostic command or even just install a piece of software without disrupting a user’s work is absolutely brilliant (plus saves a call when I can just email back and say “I’ve pushed it remotely, reboot and it should be sorted now”)

      • Hawke@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        6 hours ago

        As a sometimes Windows admin, I completely agree. Plus so many things that become simple one-liners instead of taking forever farting around in a GUI tool where a little misclick screws up everything and documentation requires 27 pages of giant screenshots.

  • vorb0te@lemmynsfw.com
    link
    fedilink
    arrow-up
    0
    ·
    14 hours ago

    Every now and then I have to analyze some data at work, and gladly I have full access to my work station, so I have WSL2 with Linux, and I wouldn’t know what to do without all that Linux CLI goodness. A mixture of Pipes, xsltproc, jq, Python to get the numbers out of millioons of log lines or xml or json files. If I was stuck on Windows the tasks would be tedious.

  • iopq@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    14 hours ago

    Honestly, it’s a pain in the ass. The shortcuts are different from the browser, so you forget and hit Ctrl+V. Then you remember and hit Ctrl+Shift+V and get some scribbles around what you were typing

  • Kualdir@feddit.nl
    link
    fedilink
    arrow-up
    0
    ·
    15 hours ago

    I installed mint yesterday and am having a PAIN installing anything not in the software manager. Currently stuck on teamspeak as my first thing to try. Got a tar.gz and can’t find anything well explained online (as of yet, it was already 3 hours just to get mint to dual boot and I was exhausted)

    • Kualdir@feddit.nl
      link
      fedilink
      arrow-up
      0
      ·
      3 hours ago

      Imma just update: I have given up and wiped the drive to use it as a game drive for windows again. Each turn just gave hours of headache and I’m just done trying.

      Installing Mint took over 3 hours of searching obscure errors with solutions that were way too technical. In the end having gone from 5pm to 11pm just to get Mint dual booting. Got it installed and got teamspeak and stuff installed, after a bit too long having to find out but that’s fine. Spent 4 hours trying to get steam games to run, not a single working boot and couldn’t find anything online.

      I might try again once I get my new AMD based game pc whenever I have budget for it. But for now, nah this took too long and took way too much effort. I just started a new work project which has already been exhausting and I just plain don’t have the energy to bother with this. Its not plug and play like people like to say online.

    • TimeNaan@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      14 hours ago

      With .tar.gz software usually the steps are:

      1. Extract the archive
      2. Find a file with the .sh extention - that’s the shell script. It will most likely be named something like install.sh
      3. Make it executable - by right clicking and enabling it in the properties or by opening a terminal in this folder and using a command:
      chmod +x install.sh
      
      1. Run the installer in the terminal:
      ./install.sh
      

      It might ask you to run it as root and quit. In that case put a sudo before the command above and it will ask you for your password

      sudo ./install.sh
      

      And tbat’s it, installation should begin. Follow the instructions in your terminal.

    • Allero@lemmy.today
      link
      fedilink
      arrow-up
      0
      ·
      15 hours ago

      Can’t say for TeamSpeak, but will say for Linux: setting everything up and figuring out your steps in edge cases is the hardest part. Once you figure it out, it gets so much easier.

  • kittenzrulz123@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    0
    ·
    16 hours ago

    Just wait until you find the fun TUI utilities, ill share a few:

    • Shell: Fish (has powerful auto-complete, very fast, written in rust)
    • Montior: Btop (monitors all system resources and processes)
    • Fetch: Fastfetch (perfect for showing off on !unixporn@lemmy.world, for !unixsocks@lemmy.blahaj.zone Hyfetch is reccomnded)
    • Brower: BrowSH (its a browser in your terminal)
    • Text Editor: Vim (the best text editor, remeber to use esc + : + q to close or wq to write close vim. However when you open vim you can never quit)
    • File manager: Ranger (if cd + ls is too inconvenient)
    • Games (yes you can even play games in the terminal): 2048, Chess-TUI, NSnake, and Micro Tetris

    More cool TUI tools

    • ArcaneSlime@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      0
      ·
      4 hours ago

      I have to check out some of these!

      As for the browser, how does it display sites? Does it display images/video/play audio or is it mostly for just the text based stuff? How about ads/adblockers?

      • MonkeMischief@lemmy.today
        link
        fedilink
        arrow-up
        0
        ·
        1 hour ago

        My guess is it works like Lynx.

        https://en.m.wikipedia.org/wiki/Lynx_(web_browser)

        You mainly get basic text formatting with some colors. It’s kinda neat. I imagine text heavy sites like Wikipedia (or Lemmy instances! Maybe other Fediverse stuff?) would be decent with it.

        You can open media with external applications it says though.

        Also hey, it’s not running all that fancy privacy-killing JavaScript! :D

        In some situations I imagine it’s fantastic for making your browsing look like you’re working on something important, if you have a problem with nosy shoulder-surfers.

  • kibiz0r@midwest.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    16 hours ago
    • tab completion works in more places than you might expect
    • ctrl-a/ctrl-e for start/end of line
    • ctrl-u to clear the command you’ve typed so far but store it into a temporary pastebuffer
    • ctrl-y to paste the ctrl-u’d command
    • ctrl-w to delete by word (I prefer binding to alt-backspace though)
    • ctrl-r to search your command history
    • alt-b/alt-f to move cursor back/forwards by word
    • !! is shorthand for the previous run command; handy for sudo !!
    • !$ is the last argument of the previous command; useful more often than you’d think
    • which foo tells you where the foo program is located
    • ls -la
    • cd without any args takes you to your home dir
    • cd - takes you to your previous dir
    • ~ is a shorthand for your home dir
    • MonkeMischief@lemmy.today
      link
      fedilink
      arrow-up
      0
      ·
      2 hours ago

      Saving this! Absolutely gold, thanks for writing it up. You’re what makes the Linux community cool. ❤️

      tab completion works in more places than you might expect

      I’ve found tab to be such a nice “please give me a hint” button.

      • Bonus tip : Sometimes you won’t get auto complete because there’s too many possibilities and the computer can’t be certain which one you want. Hitting tab multiple times will show the possibilities, so you can type in enough characters to remove ambiguity, hit tab again, and boom auto complete!

      …That was a terribly convoluted explanation I’m sorry. Just try hitting tab multiple times for fun if you’re stuck it’s kinda handy. Lol

    • ayyy@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      5 hours ago

      If you’re looking for a full list of these kind of navigation shortcuts, they all come from readline so read the man page for that. Or just look up the basic navigation of emacs which is what readline is mimicking.

    • Dumhuvud@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      12 hours ago

      Nice list, TIL about Ctrl+U and Ctrl+Y.

      If I may add, Ctrl+X into Ctrl+E opens $EDITOR to edit the current line.

    • myotheraccount@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      14 hours ago
      • alt-. also pastes the last argument of the previous command (useful if you need to modify it a bit)
      • instead of any shortcuts starting with “alt” you can also press “esc” followed by the second key, e.g. pressing “esc”, releasing it and then “a” is the same as pressing “alt-a” (useful if you have only one hand available, or if alt is not availalble)
      • if you put a space before a command, it will not be saved in history (useful sometimes, e.g. if you pass a password directly as an argument)
    • exocortex@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      15 hours ago

      I’ve been using the commandline for so long but was always too lazy to look up the rest of these commands after ctrl+a/e and ctrl+r THANK YOU!!!

      post this commend again and again! There’s always lazy idiots like me who will be helped that way!

      • Dumhuvud@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        12 hours ago

        I believe, these are Emacs shortcuts. There’s also set -o vi in bash, but I’ve never used it, so can’t vouch for it.

        • Hawke@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          9 hours ago

          That’s good to know. It’s interesting that the other commenter thinks emacs shortcuts are illogical. I’ll make my best guesses at the logic

          • ctrl-a/ctrl-e for start/end of line

          a is the beginning of the alphabet; e for end (of line)

          • ctrl-u to clear the command you’ve typed so far but store it into a temporary pastebuffer
          • ctrl-y to paste the ctrl-u’d command

          No idea here. Seems similar to nano with k-“cut” and u-”uncut”.

          • ctrl-w to delete by word

          w for word obviously.

          • ctrl-r to search your command history
          • alt-b/alt-f to move cursor back/forwards by word

          r reverse, b back, f forward. Not sure why alt vs control though; presumably ctrl+b and ctrl+f do different things although I know emacs likes to use Alt (“Meta”) a lot.

          • MedicsOfAnarchy@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            5 hours ago

            In the 1980s, Digital Equipment Corporation had a word processor, WPS. Ctrl-u cleared the line you were typing and put it into the paste buffer. Maybe legacy usage?

        • apelsin12@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          12 hours ago

          Explains why they are so illogical! Unfortunately i think its better to just learn the defaults since i remote into lots of servers where i dont carry my config

  • applemao@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    18 hours ago

    Isn’t it fun? It’s like owning your car and learning what everything actually does, and figuring out how to fix it. And having an amazing community to boot!. I enjoy it.

    • sykaster@feddit.nl
      link
      fedilink
      English
      arrow-up
      0
      ·
      16 hours ago

      I’m thinking of making Linux my daily driver apart for some software I need for work. People are super positive about it on here, but isn’t it still the case that some peripherals won’t work? Or that I’ll spend a ton of time making the system work instead of actually using the system?

      It would be for gaming that I’d use the Linux installation mostly.

      • applemao@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        7 hours ago

        It depends a lot on your hardware. All of my stuff was picked up instantly (all AMD), my kb/mouse/tartarus of course, and my Logitech wheel. Now if you mean VR, linux struggles with that right now at least for oculus. The vive is ok with steam only games I heard.

        I treat it a lot like an old car. I love it and tinkering on it is fun, but if an emergency pops up and I have to, I can reboot into windows. Really trying to never have to do that, except for VR and games like PUBG (which yeah we shouldn’t support but my friends and I still like it sometimes).

        If you’re the type that craves learning and the journey is more fun than the goal (ie, me), then do it! I just put mint and popos on 3 different computers and have been having a lot of fun with it.

      • Jankatarch@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        15 hours ago

        Speaking from personal experience but pretty universal one at that.

        Once terminal kinda “clicks” you will get the urge to tweak stuff. It happens because there is bunch “demo apps” that are just cool to mess around with but simply don’t get known on co-orperate OS. Check this as example.

        If games you play or tools you use can be fitted to linux, at some point you will port 80% of your workflow just messing around during the tweaking. Like when you do your first rice.

        And after that you can confidently chose if you want to add on to that or continue dualboot.

  • LostXOR@fedia.io
    link
    fedilink
    arrow-up
    0
    ·
    23 hours ago

    It’s insane to me that Windows still doesn’t have a proper package manager. When you need to upgrade a program you’re expected to go to their website and download the latest version, or update it with its own update mechanism.

    • Dudewitbow@lemmy.zip
      link
      fedilink
      arrow-up
      0
      ·
      22 hours ago

      i mean its just a matter that app makers avoid the windows store. the only companies i recall I remotely use on the windows store are nvidias control panel (which is ironically being depricated for nvidia app and updates itself).

      companies just don’t want to use the windows store aome because of the fear at some point if microsoft wants to take a cut of profits, they could strong arm it like android/ios/game console OS. Linux has the advantage that people will trust that repositories wont be paid.

    • Kecessa@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      23 hours ago

      At the same time if there’s a software I don’t use often I’m not wasting my time updating it every time I update everything else. So for example I haven’t played a game on the Ubisoft launcher in about a year, next time I do it will update to the current version from last year’s version and that will be it.

    • Integrate777@discuss.online
      link
      fedilink
      arrow-up
      0
      ·
      23 hours ago

      They do, several third party options and of course the Microsoft store too. It’s the users who are stuck in their old ways, which ironically is the harder way. Weird.