this post was submitted on 13 Aug 2023
150 points (94.1% liked)

Linux

47940 readers
1469 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] qjkxbmwvz@lemmy.sdf.org 4 points 1 year ago (2 children)

First thing I'd do is ditch the GUI file manager: get comfortable with cd, ls, mv, rm, etc.

After that, maybe start with basic text manipulation, like grep, awk, sort, uniq, etc. This ties in nicely with IO redirection, which is essential for a "CLI based workflow." Get comfortable with pipes and file redirection, it's extremely powerful!

Writing shell scripts is another super useful exercise: any time you find yourself running the same set of commands multiple times, think about making it a shell script. You may end up with some really useful little custom tools that way.

load more comments (2 replies)
[–] shreddy_scientist@lemmy.ml 3 points 1 year ago* (last edited 1 year ago) (1 children)

KDE is your friend in the trenches, Kubuntu > Ubuntu 100%

Regardless of whatever distro, definitely keep all your stuff backed up on an external drive. I had to "restart" my install a few times to get the hang of things. Yet I still keep all my info on an Vegacrypt encrypted external just in case to this day.

[–] SaveComengs@lemmy.federa.net 3 points 1 year ago

Snap is cringe, KDE neon > Kubuntu 200%.

Seriously though, I love kde neon so much. KDE being rolling release is a bit confusing at first, but you basically get the best of both worlds in terms of rolling and LTS releases.

[–] Rhabuko@feddit.de 3 points 1 year ago

Welcome fellow Linux beginner.

What are some really important basic commands I can use to start branching out into Terminal command structures

Since I refuse to touch the Terminal like my life depends on it, I can't help you with this 😅

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'm a little biased, so take it with a grain of salt: Cinnamon's biggest flaw is the lack of support for the Wayland protocol. It's still running with x11. As far as I have read about it, X11 has several big security flaws, and it slowly dies a long, quiet death. As far as I know, the Linux Mint devs (makers of Cinnamon) haven't even started on Wayland support. A good alternative would be the KDE Plasma Desktop. It's insanely customizable, and the default look comes very close to classic Windows. As a KDE Distro, I would recommend KDE Neon since it's based on Ubuntu too.

[–] halo5@lemmy.world 3 points 1 year ago
[–] some_guy@lemmy.sdf.org 3 points 1 year ago

Dotfiles. They let you customize your command line experience. There are loads of examples on GitHub. Reading through the comments on dotfiles that other people share help you learn about all the things that can be done. Customize your shell with aliases, functions, history behavior, syntax highlighting, etc.

I'm a Mac user who tinkers with Linux off and on, but I absolutely love that you're learning about the world of Linux. Welcome to the party!

https://github.com/topics/dotfiles

Shameless plug of some of my own custom tooling: https://github.com/fantismo/dotfiles

[–] kaleissin@sopuli.xyz 3 points 1 year ago

Remember to play. There are multiple terminal emulators, window managers, shells, all the things! Try 'em out. When installing stuff to test via distro package, keep note of which dependencies were dragged in so you can get rid if all of them, not just the thing you wanted to test. Also keep a list of what you tested and later got rid of (and why) so you avoid testing it again.

If you ever ssh into other machines to do stuff, learn the minimum of vi (classic w/no arrow keys, not vim) and bash. Servers "always" have those (though FreeBSD also has tcsh).

[–] Veraxis@lemmy.world 3 points 1 year ago

I do not know what sort of power management software exists by default on Ubuntu, but for laptop use I would strongly recommend getting a power management package like TLP to configure power profile settings for your laptop when on battery and on charge. It can greatly improve battery performance. Some alternatives like auto-cpufreq and powertop exist, but I have tried all 3 and found that TLP worked the best for me.

[–] synapse1278@lemmy.world 3 points 1 year ago (1 children)

Probably already mentioned in other comments, buy it can't be stressed enough: Backups !

Part of learning to use Linux is breaking it. You will make mistakes that will bork your computer. You can either spend hours to try to fix it, or you can wipe everything clean, reinstall, restore from your latest backup, and be done like nothing happend in no time. (Maybe you want to go the hard way for learning, but it's always more relaxing to know you also have the easy option at your disposal)

Ubuntu comes with Timeshift, make use of it. Also plan to make backups to external storage or NAS, in case things go real bad.

[–] t66@lemmy.world 2 points 1 year ago* (last edited 11 months ago)

As a newish Linux user I would like to confirm this comment. Timeshift has saved my ass so many times. It's also pretty easy to set up and maintain. +1 for backups

[–] GustavoM@lemmy.world 2 points 1 year ago

I think the two "major tips" that I can give you are simply

1- Package manager is your best friend.

2- Figure out the "know-hows" of Linux (i.e who "is responsible" for the video card, who deals with the cpu, how do i configure my sound card, how do i configure my video card, etc.).

Master those two tips and you can call yourself an average linux user.

[–] HarriPotero@lemmy.world 2 points 1 year ago

Set up btrfs and timeshift. You never know when you need that big undo button.

[–] PuppyOSAndCoffee@lemmy.ml 2 points 1 year ago

Most distros are good enough without much tweaking. in terms of commands...some more advanced stuff...

start poking around proc to see what linux gives you, without needing a program to get it!

[–] ArcaneSlime@lemmy.dbzer0.com 1 points 1 year ago

Honestly, youtube "basic bash tutorial" and watch/follow along with a video or two. Helped me a bunch.

[–] HR_Pufnstuf@lemmy.world 1 points 1 year ago

Books, books, books! O'Reilly publishing is your best friend. Search engines are next. And finally, Youtube.

[–] nestEggParrot@lemmy.sdf.org 1 points 1 year ago

Unless you are looking to work on shared systems/servers as sysadmin or other jobs, explore shells like zsh or fish and customise them rather than stick to bash. A lot more user friendly and accessible advanced features. Helps with learning a lot. Zsh is compatible with bash but fish isn't. So choose based on what your goal with learning shell is.

If you are sticking with debian based distros, try apt and synaptic(GUI) to install your software. At some point you might also need to install tar archives. Don't get worried as most guides should be easy to follow.

load more comments
view more: ‹ prev next ›