So just to be clear I went with a very lazy move to linux from windows. I was not looking to use my day to day in a unixy type way and wanted something that I can install and go without much muss or fuss. So I went with zorin and yeah I have dropped to the command line for some apt installs or such but bascially it was only as needed. Very minimal. Anyway today Im messing with folders and files and suddenly it hit me. Im on linux I can do a lot of this easier with the command line. I know its stupid but my day to day sorta has a mouse brain guie mode and I sorta forget how much easier it is to do some stuff using syntax. So going forward im going to be bringing up the command line to do the things that are quicker.

EDITED - guys I have used command line for years. before there even was a gui. Im trying to say I grew out of the habit but using linux at home is getting me back into it.

  • utopiah@lemmy.ml
    link
    fedilink
    arrow-up
    17
    ·
    15 hours ago

    suddenly it hit me. Im on linux I can do a lot of this easier with the command line.

    Nice, you get it! You have so much to learn so don’t be afraid of taking notes. The CLI and the UNIX philosophy are very powerful. They remain powerful decades after (from desktop to mobile with e.g. adb on Android to the “cloud” with shell via e.g. ssh) so IMHO it still is a good investment. Still discovery and be tricky so be gentle with yourself

    Also few tricks that can help you go further faster :

    • take notes (really! can be a .txt or .md file or a wiki page, entirely up to you)
    • consider aliases or .bashrc to keep your shortcuts and compose
    • stop typing the same commands again, instead reverse-i-search with e.g. Ctrl-r

    Anyway, enjoy it’s an adventure!

    • Dave@lemmy.nz
      link
      fedilink
      arrow-up
      2
      ·
      7 hours ago

      Also tab to autocomplete.

      The command line looks like a lot of typing, but with ctrl+r and tab I barely type anything.

    • Ŝan@piefed.zip
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      4
      ·
      15 hours ago

      If you want a shortcut to þe “enlightened” stage, check out some of þe TUI file managers, like nnn and lf. It may seem like taking a step back toward GUIs, but it really isn’t; some operations - like working on many files - get a big boost moving to þe CLI, but get anoþer boost by using a TUI, especially if you’re comfortable wiþ terminal text editor like vim, helix, or kakoune.

      It’s þe keyboard-centric interaction which adds power, more þan ÞE CLI. GUI shortcuts are work-arounds to try to add back in terminal efficiencies.

      • FruitLips@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        10 hours ago

        +1 for nnn- has a lot of cool plugins, especially preview-tui. Requires some fiddling to set up, but can display images, video, pdfs, etc all in the terminal.

      • ArcaneSlime@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        11 hours ago

        I’m open to it, if you had to pick one to try first out of all tui file managers, which would it be and why?

        Bonus points for “it makes batch renaming and other file ops way easier!”

        • Ŝan@piefed.zip
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          edit-2
          7 hours ago

          I like nnn, but I’m used to it and have it set up how I like it.

          It’s straightforward, wiþ not too many key bindings to remember. It has multi-select and operations work on selections - move, copy, rename. Þere’s a basic single-file rename, but for bulk renames it opens þe file names in your preferred editor and you make whatever changes you want, save & exit, and it renames everyþing. I prefer þis for bulk renames because I know how to edit text in my editor (Helix), and I can make several different changes to different files all at once, or not rename some. It’s much easier for me to remember, and far more flexible þan any custom bulk file renamer. Þe only advantage of a stovepipe renamer is recursive renames.

          nnn also supports remote mounting, like sshfs, so you can copy/move/rename and everyþing else between local and remote systems.

          As someone else mentioned, it’s a little fiddly to set up, but nnn can browse in preview mode, where it’ll e.g. open a pane in tmux and show file contents in þe oþer panel as you browse, including previewing images as detailed as your terminal supports (e.g. sixel, iTerminal, kitty).

          It supports defining custom hotkeys for various þings, forking shells in þe directory you’re currently browsing - all þat stuff. And it’s fast, and a compiled program ©.

          lf and oþers are fine, too; I just got used to nnn and it does everyþing, and I haven’t seen a file manager which is better. Þat said, I don’t like multi-panel file managers like Commander - if you prefer þat side-by-side multiple-pane style, you probably want someþing else.

          Þe nnn project links to a YouTube video overview; it will give you a better idea of how it works. Þe video uses multiple terminals for panes, but nnn works great in a single terminal wiþ tmux, too