Loading...
Loading...
Here are some beginner #linux #terminal commands that you should learn when starting on your homelab adventures. Update package list sudo apt-get update Upgrade installed packages sudo apt-get upgrade -y Install a specific package sudo apt-get install <package> Remove a package sudo apt-get remove <package> Clean up old cached packages sudo apt-get autoremove -y sudo apt-get clean Update package list sudo apt-get update Upgrade installed packages sudo apt-get upgrade -y Install a specific package sudo apt-get install <package> Remove a package (keep config) sudo apt-get remove <package> Remove EVERYTHING (package + configs) sudo apt-get purge <package> Clean up old cached packages sudo apt-get autoremove -y sudo apt-get clean Create directories mkdir <name> mkdir -p ~/<nested/path> Move and copy mv <src> <dest> cp <src> <dest>
Performance Category
Above Average
Score
4.7/5
Shares: 5/5
Comments: 5/5
Retention: 5/5
Views: 5/5
Likes: 5/5
Followers: 5/5
Script: 3.0/5
Total Views
13166
Likes
517
Shares
17
Comments
51
Duration
2m 34s
For You
11,902
90.4% of views
Personal Profile
869
6.6% of views
Search
184
1.4% of views
Others
171
1.3% of views
Follow
39
0.3% of views
Sound
0
0.0% of views
Views
Likes
Shares
Comments
For You Traffic
Profile Traffic
Search Traffic
Non-Followers
60.0%
7,900 views
Followers
40.0%
5,266 views
18.6% of followers reached
New Followers
20
Performance vs Median
No transcript available.
No scorecard available.
Run the script scorecard evaluation to generate insights.
Run the AI evaluation to identify actions and analyze their impact.
No tips available.
Run the script scorecard evaluation to generate actionable tips.
GuyonCouchFind it funny someone comments about commands. Acknowledge and let it pass
Grumpy Barewhy get, because the command works without it? I'm new so I honestly don't know
so yes you can leave get out, that's just an old habit.
Grumpy Bareyou are not the first. even chat uses it
RakuSince i started teaching myself SWE people keep saying learning Linux is very good skill to have but they dont explain what type of stuff i need to be 100% comfortable with like im pretty sure im not just going to be making folders and updating
updates, folders, navigations, installing and uninstalling..
Rakulove your content benji keep it up bro! also after finally jumping ship from linux i kinda fell in a hole with the whole homelabbing and currently running a home lab on off of a mini pc proxmox and connected to an old pc running truenas, its been very fun playing with docker and installing homeassistant, this is all in effort to try to learn by doing but i have to admit i use claude code when i get stuck i know its hurting me from learning but i cant help it when it fixes an issue thats going to take my entire day as a student you know? i already see the potential when people talk about automation scripts. Im still very new and trying to figure out in what sector ill focus on for my first job, currently taking my first year in SWE this spring
dude, keep it up!
Varno.auwhy were you elevating permissions just to make or remove folders in your home directory.
Striderhow to detect old-school linux users? by apt-get 😅 A few years trying to remember that just apt is an option 😁
tehmxcadon't use apt-get haha
kamadojoeroenMy most used command is: sudo !! When i forgot to use sudo once again. The !! Grabs the last command that you typed so you don’t have to type that command all over again.
whatgoesbumpYou don’t need apt-get. It’s just apt now. So sudo apt update && sudo apt upgrade -y
yeah, I was stuck in my ways.. not anymore
𝒟ℯ𝓃𝒵Could you make a video on this same command but get the result failed to fetch… and temporary can’t resove archive.Ubuntu…. I know it could be DNS, have tried that yet still
Which command are you getting that error with?
𝒟ℯ𝓃𝒵Sudo apt update and installing any package
M17hR1Lwell you should run the rm -fR folder, in case it contains files and links. But if you just remove folders, that should be fine.
xjaridGreat content! Enjoying your content on my FYP 🍻
chappers89😂
The Actual LeftNot looking at the packages you're updating is wild
Live life on the edge!
Peterjon Smithso what's the difference between apt and apt-get
tritfitI think apt-get is an old version of apt. Nowadays, you don’t need apt-get; you can use apt to install or remove packages.
I honestly only just learned that, I got stuck in my ways.
Apt-get is the old way (I'm old) of doing it apt is newer.
M17hR1Lthe newer convention is to use apt, but if you run docker containers you should use apt-get, since it is better to handle in a Dockerfile.
Sudo !! Bc i always forget sudo when i do it lol
Ditto
JakeAdditional mkdir info: “-p” means “if I’m making nested directories and a parent directory (demo folder) doesn’t exist, create it too”. Also, I think using sudo may have busted the perms of the new directory
Noted and nice.
JakeAm I the only one who has never used rm -r without -f as well? 😂
DaoentiThat f is muscle memory at this point
JakeI’d never seen apt-get clean. Apparently, it “clears out the local repository of retrieved package files.”
Old habits I guess.
Daniel Gillamthis is the first time I have heard what sudo is. It makes soo much more sense now. . Super User DO..
I know right!
Lol, it's the only way I can remember these things, with sentances like that
Steve'apt autoremove' doesn't remove "cache stuff" it removes auto-installed packages which are no longer required. I wouldn't refer to that as cache.
Noted
Noted
oddlytwisteddaysI wish nala was more popular
Interesting, I'll have to take a look
miklesch🧐 if you're showing apt-get update && upgrade, it is worth mentioning && between commands means the latter will execute only if the former is successful
Ahhh, yeah, should have said, I think for this case it would be "fine" but you're totally right.
JJI’ve not seen it as ”sudo apt-get” before, only as ”sudo apt”. Is there any difference between them?
Bigfootapt is a newer, and apt-get is "legacy" but still works. apt combines apt-get, apt-cache, etc. into one tool. apt has a slightly newer interface, but not very noticeable.
Grant Derridgegenerally speaking apt is a bit easier to use in shell, but when you are building commands into a script or program apt-get is recommended as it is the most reliable.
maya the creatorcan you get RAID using Ubuntu server? I wanna set up a homeserver but unraid is too expensive and truenas is too complicated for me so ive been thinking about trying Ubuntu server
Yes, you can, I built a nas server with a pi and a penta hat, and 4 ssd harddrives in raid 5, but it's a little more complex. If you have a pc, try using ZimaOS
maya the creatorIve tried using ZimaOS but in my experience it was super unstable and all the apps in the app store were outdated
That's surprising, but if it doesn't work for you, then go with what does!
maya the creatoryeah! might try out unraid!
Personally I think it's got a better user experive than trueraid, so it's worth a test.
Total viewers and likes aligned with spoken words.