r/linuxquestions • • 5d ago

New to Linux Mint — Looking for Learning Resources

/r/linux4noobs/comments/1y8od6z/new_to_linux_mint_looking_for_learning_resources/
0 Upvotes

3 comments sorted by

1

u/doc_willis 5d ago

preferably video-based

Going to suggest you find/bookmark and refer back to as needed, various written guides, reference sites, and tutorials.

http://linuxjourney.com

and

http://Linuxjourney.org

sites are good to start with. The Explaining Computers YouTube Channel videos is a good starting point for learning some basics.

also

https://ubuntu.com/desktop/docs/en/latest/tutorial/the-linux-command-line-for-beginners/

https://linuxhandbook.com/courses/command-line-basics/

1

u/_Lost-In-The-Weeds_ 5d ago

Video based is actually pretty horrible for the terminal, the video slows you down and is hard to reference again later, but if you must https://www.youtube.com/c/LearnLinuxtv

A great read is the free PDF book https://www.linuxcommand.org/tlcl.php gives a lot of context of how this all came to be,

A great exercise for this is the Linux Upskills Challenge local companion r/linuxupskillchallenge

First thing you will want are the learning tools built into the terminal.

use the man pages,

man apt

This will give you a verbose explanation of the apt command

So now Use it

sudo apt update

sudo apt upgrade

sudo apt install tldr 

Alt package name for LMDE:

sudo apt install tealdeer

but the command is the same for both

tldr --update

tldr apt 

Tldr is a handy companion to the man pages giving what I often need, the grammar of the command. first time you run it it will ask you to update its cache.

1

u/_Lost-In-The-Weeds_ 5d ago

some notes

update, notice no y, read it.

sudo apt update
sudo apt upgrade

remove software and its config files

sudo apt purge gnome-calandar

Man pages

man apt

Install TLDR for Mint

sudo apt install tldr

Install TLDR for LMDE

sudo apt install tealdeer

update tldr

tldr --update

use it

tldr CommandName

end a running command and return your prompt

ctrl + c

paste from clipboard to terminal

shift + Ctrl + V

schedule an event to be run by the root user

sudo crontab -e

change working directory

cd /path/to/somewhere

list files in a directory

ls

No! I mean actually list all the files in this F'ing directory including the god damn hidden ones!

ls -la

add a user to a group

sudo adduser dad libvirt

list the contents of a file

cat /etc/fstab

search the repo for software

apt search vim

install vim

sudo apt install vim vim-doc

learn vim

vimtutor

edit a file as root

sudo vim /etc/fstab

make the system reread fstab

sudo systemctl daemon-reload

mount everything now listed in /etc/fstab

sudo mount -a

smart data

sudo smartctl -a
sudo smartctl /dev/sdc -x
sudo smartctl /dev/nvme1n1 -x

partitions and where they are mounted

mount

List partitions

sudo parted -l

Partion sizes

df -h

Partition UUIDs

blkid

list of drives, partitions and their mount points

lsblk

memory consumption

free -m
free -h

show kernel memory usage

sudo slabtop

list running programs

ps -aux

ordered by memory

ps auxk-%mem

TUI versions, some need to be installed.

top
htop
btop

log of this boot

dmesg

full logs on a systemd distribution

https://linuxize.com/cheatsheet/journalctl/

just the errors

journalctl -p 3 -xb

Just the error lines that mention lightdm-greeter

journalctl | grep lightdm-greeter

list efi boot entries

efibootmgr
https://www.linuxbabe.com/command-line/how-to-use-linux-efibootmgr-examples

Boot Times

systemd-analyze

systemd-analyze blame

systemd-analyze critical-chain

systemd-analyze plot > plot.svg

see the status of time control

systemctl status systemd-timesyncd
timedatectl show-timesync