MUST KNOW Linux Commands

  Рет қаралды 26,931

TechHut

TechHut

Күн бұрын

Пікірлер: 132
@versatilegeniuses9374
@versatilegeniuses9374 3 жыл бұрын
1. *man* (used for getting manuals for specific command For example *man ls* gets manual for ls command) 2. *ping* (used for checking connection) 3. *cd* (Changing your directories) 4. *cat* (list the content of the desired file) 5. *nano* (Simple Text editor , quick&fast) 6.*locate* (Searching through command line , has other options too) 7.*df* (Shows storage available and other things) 8.*alias* (Shortening or setting an alias for any command) 9.*exit* (Exits the terminal without a mouse) ; )
@TechHut
@TechHut 3 жыл бұрын
You're awesome 😎
@VikingShip-lw4oo
@VikingShip-lw4oo 3 жыл бұрын
Bro got the genius pfp
@youtube.user.1234
@youtube.user.1234 3 жыл бұрын
@0,8 Анонима if you look at my terminal history, out of 4000 commands at least 700 would be “clear” 😂
@bew
@bew 3 жыл бұрын
There's also Ctrl-d for exit, way faster
@tralphstreet
@tralphstreet 3 жыл бұрын
@0,8 Анонима Btw on some terminals Ctrl+L doesn't actually clear the screen, it just makes the prompt be at the very top, but you can scroll back and everything will still be there. clear does get rid of everything.
@spsharan2000
@spsharan2000 3 жыл бұрын
Not necessarily "terminal commands" but 1) Control+D to exit and 2) Control+L to clear the terminal are my most favorites
@theproudlinuxer
@theproudlinuxer 3 жыл бұрын
Mine too! We're in sync!
@mvwouden
@mvwouden 3 жыл бұрын
3) Control + R to search through command history
@theproudlinuxer
@theproudlinuxer 3 жыл бұрын
@@mvwouden I didn't know that 👀👀
@master138
@master138 3 жыл бұрын
Control + L is a life saver tip for me. thank you mate.❤
@hudsond15
@hudsond15 3 жыл бұрын
Ctrl + u clears what you have typed up
@walking_on_earth
@walking_on_earth 3 жыл бұрын
Nano is a nice simple text editor. I do have a recommendation for an upgrade which is micro. Micro is basically like nano but with mouse support, modern keybindings (like CTRL+S to save) and syntax highlighting. Even easier to use than nano and just as simple!
@CiberBago
@CiberBago 3 жыл бұрын
@chm46e maybe for advanced users. For casual users who don't do programming or other things like those... Nano is better. At least for me, so I'll have a look into micro
@Usernotknown21
@Usernotknown21 3 жыл бұрын
I use gedit
@imsoket8204
@imsoket8204 2 жыл бұрын
Thanks!
@DeeperSoul
@DeeperSoul 3 жыл бұрын
This should be complete serie Man keep it going up.
@adityagupta375
@adityagupta375 3 жыл бұрын
I would love more of these grt content
@zed620
@zed620 Жыл бұрын
You’re an absolute star, your video was awesome please keep going and make more of these, I would call this quick learning.
@KuruGDI
@KuruGDI 3 жыл бұрын
Videos like this one are very useful in my opinion to _educate_ new Linux users on what a command does in the terminal. It's very dangerous to simply copy and run some argument from some website in the terminal. But what you want to do if you want to fix something and have no idea what the code in the terminal does. Also a word on distro specific commands (eg. Deb vs. Arch) would be interesting.
@MatthewLadas
@MatthewLadas 3 жыл бұрын
Love the video Brandon!! This is my favourite channel by far. Thank you for doing what you do :)
@LinkDragon512
@LinkDragon512 3 жыл бұрын
Seriously I'm so glad I'm really learning how to use the terminal like this, it's so much faster to open the files you want to edit or just get to the directory you need to if you just know how to do it with the commands!
@johnnybelivin3610
@johnnybelivin3610 3 жыл бұрын
I'm new. This is very useful. So many guides online are like "uncomment this line" without explaining how to uncomment or whether they were using nano or vim. Super annoying and took me way to long to figure out.
@1pcfred
@1pcfred 3 жыл бұрын
Comment designators vary. Usually you can examine a file and determine what is used to declare a comment. C uses // or /* */ the shell uses # Although #! has a special meaning. Sometimes ; is a comment designator. It depends on what file you're working with. Usually which editor you're using doesn't matter. If you want to edit the sudoers file you have to use visudo though.
@rbartig
@rbartig 3 жыл бұрын
I like the direction you're going with this, but there's a lot of videos doing the same thing. Perhaps kicking it up a notch and doing a video on mid-level Linux commands and/or advanced Linux commands.
@theproudlinuxer
@theproudlinuxer 3 жыл бұрын
That beautiful sound when you hit a key more than a few times 🤩🤣
@TechHut
@TechHut 3 жыл бұрын
Thanks to Linode for sponsoring this video! linode.com/techhut cd, ls - kzbin.info/www/bejne/h3LCe62vjdSBjas cp, rv - kzbin.info/www/bejne/iZXblaSkbsmdecU
@GamerBoy705_yt
@GamerBoy705_yt 3 жыл бұрын
Hey! This might be off-topic but I'm thinking of switching from Windows to Linux. I'm a complete noob at Linux and I have a very old PC (a Core 2 Duo with only 2GB of RAM and a HDD) but only really use it for word processing and basic web browsing. I just watched your Linux Mint 20.2 video to get an idea of what Linux Mint is like, since that's the distribution most people recommend for Linux newbies. What distro would you personally recommend for me? Thanks for the help in advance!
@theproudlinuxer
@theproudlinuxer 3 жыл бұрын
@@GamerBoy705_yt If you like Linux mint, just go with it, but the Xfce version, because trust me, the cinnamon variant (default) will be laggy. I have a similar PC and I gave life to it with Linux Mint Xfce :) You'll get lot of utilities with it, you don't have to worry about office suites or disk management utilities :)
@theproudlinuxer
@theproudlinuxer 3 жыл бұрын
Hey Brandon, please pin the comment if it's necessary ☺️
@schwoens
@schwoens 3 жыл бұрын
I personally replaced ls with exa and cat with bat. Both basically do the same thing as the original but are generally more nicely formatted and have some neat extra features.
@modembuddy
@modembuddy 3 жыл бұрын
Good stuff! Learned a few new ones as I'm exploring more on my system. Really appreciate your direct and uncomplicated approach.
@StormWarningMom
@StormWarningMom 3 жыл бұрын
I learned some things. And yes, please make more of these vids. Nothing wrong with expanding our knowledge of the command line.
@Epsilonsama
@Epsilonsama 3 жыл бұрын
For df remember to use df -h if you want it human readable. Also works with the free command as in free -h
@ptzzzs
@ptzzzs 3 жыл бұрын
I got a recommendation for this video (probably from watching some of your vids on DEs recently) and I'm thankful for it, simple and easy to understand. nano is my favorite of the ones shown.
@urmensch12
@urmensch12 3 жыл бұрын
Usually ctrl + L does the same as the clear command
@huray9802
@huray9802 3 жыл бұрын
Your theme set up is insane in this video! Can we have a video tutorial for that?
@TechHut
@TechHut 3 жыл бұрын
I got you! kzbin.info/www/bejne/sHa7ZH1rhZdsfZY
@fulcrumthewhite
@fulcrumthewhite 3 жыл бұрын
Great new video format !
@Android-17
@Android-17 3 жыл бұрын
The segway to to the sponsorship is smooth af!
@davidgiffordsr.930
@davidgiffordsr.930 3 жыл бұрын
Thanks. I needed that. Don't use terminal much, but nice to know. Liked the parts on alias and Nano. So I can kind of make batch files now, with a little practice. Need to learn how to copy large commands so I can put them in a sort of batch command too. Come across some really long ones, and I'm like, I'm not going to type in all that garbage that I don't understand. Thanks again. I always like videos I find useful. so liking your again!
@malikrimzan5765
@malikrimzan5765 3 жыл бұрын
Extremely useful video for new Linux users like me. Thanks Brandon!
@truthseeker3907
@truthseeker3907 3 жыл бұрын
Thank you TechHut and Thumbs up! 👍
@22oreos
@22oreos 3 жыл бұрын
Nice video! Also nice to see someone else using the Ryzen 7 3700X. Never underestimate hardware that isn't the latest and greatest! What icons etc and other tweaks did you perform to get your DE to look like that? I do really like the icons and theming you have going on. Thanks Also did the sound at 0:57 come from the terminal? How's that set up?
@TechHut
@TechHut 3 жыл бұрын
Thanks! It's a good CPU eventually this computer will be for recording only and the hardware is perfect for that. As far the the configuration this is a video a make on it: kzbin.info/www/bejne/sHa7ZH1rhZdsfZY That drip noise is the default in GNOME terminal that I forgot to disable. You can change all these sounds in the settings :)
@22oreos
@22oreos 3 жыл бұрын
@@TechHut Thanks for responding!
@garyprice464
@garyprice464 3 жыл бұрын
Do what no one ever does - Linux problems no youtuber ever does videos on dealing with common linux issues for new users, how to diagnose the problems what steps to take etc A recent problem I had 'reached target graphical interface' then the PC hangs, other problems I have had installing certain drivers etc This could be a great video 'Help My Linux Does Not Work' there is the title
@javierfrachi8299
@javierfrachi8299 3 жыл бұрын
Can you teach about how to close an app from terminal, please? Thanks in advance.
@carbondated6151
@carbondated6151 3 жыл бұрын
Yes, very good video. Often I've seen KZbin vids that are way too generic in there description.
@YM-lm8xr
@YM-lm8xr 3 жыл бұрын
great content! keep it up dude!
@motoryzen
@motoryzen 3 жыл бұрын
1:49 to 1:54 if you did like me and changed the default hotkey of " copy" within terminal in an Ubuntu u based distro to ctrl c....you might find that ctrl c doesn't stop the pinging....use ctrl z then
@bew
@bew 3 жыл бұрын
Ctrl-z does not stop it permanently, it puts it in "pause" instead, until you go "fg" to resume it (check `man bash` for details, in section about job control)
@chickenjoy
@chickenjoy 3 жыл бұрын
I remember in college, we code C programs in the terminal using nano. We didn't know we could use other editors.
@TechHut
@TechHut 3 жыл бұрын
Okay, actually sitting there and programming for hours in nano world be a little painful. 😅
@amosnimos
@amosnimos 3 жыл бұрын
Nano is fine.
@jpbird8432
@jpbird8432 3 жыл бұрын
I didn't know the locate command and wow is really useful, I wonder if this this command actually finds everything?
@TheRexona1986
@TheRexona1986 3 жыл бұрын
Hello, I have one question. Which linux distro works on crossfire amd graphics cards? (Some old hp probook)
@glenlinux9924
@glenlinux9924 3 жыл бұрын
Great vid Brandon, definetly more Linux command tutorials plaease
@courier6506
@courier6506 3 жыл бұрын
Please make more of this videos.awesome...
@moneyfr
@moneyfr 3 жыл бұрын
Can you update automatically your Ubuntu?
@marcossantoscs
@marcossantoscs 3 жыл бұрын
What distro is this? I liked
@Jonas-gm4my
@Jonas-gm4my 2 жыл бұрын
What distro do you use? Which gui is that?
@henrikandersen7778
@henrikandersen7778 3 жыл бұрын
To TechHut: What about a video with benchmarking many distros with webexprt 3? I love your video, that showed how fast Microsoft Edge is on Linux.. Sometimes you get really surprised.. But distros matter too...
@chickenjoy
@chickenjoy 3 жыл бұрын
Are these the same for Mac OS?
@JD-kg3mx
@JD-kg3mx 2 жыл бұрын
Great video. I appreciate the lesson, thanks.
@nicholasbateman2213
@nicholasbateman2213 3 жыл бұрын
what distro do you use?
@zeusdelta2842
@zeusdelta2842 3 жыл бұрын
I want to permanently switch and be a pro of linux which distro I need to go with ?
@1pcfred
@1pcfred 3 жыл бұрын
You need to use the distro you like the best. So try a few out and decide for yourself. Today you can run live sessions so you do not even need to install anything. Try it before you buy it!
@texmex6083
@texmex6083 3 жыл бұрын
hell yeaa I want more 'as a noob linux user this is very helpful
@obvious_giraffe8386
@obvious_giraffe8386 3 жыл бұрын
Where did the pi go?
@tsesangdolkar7968
@tsesangdolkar7968 3 жыл бұрын
Thank you for the super tutorial, to the point and very easy to understand.
@theredstonehive
@theredstonehive 3 жыл бұрын
'grep' is also important to know.
@TechHut
@TechHut 3 жыл бұрын
Very true. This is a whole separate video :)
@tanaybhomia2784
@tanaybhomia2784 3 жыл бұрын
Love the New Graphics ❤️
@mxmobile5619
@mxmobile5619 3 жыл бұрын
What’s the difference between df and df -h?
@billeterk
@billeterk 3 жыл бұрын
Or something like du -hsc * | sort -h
@Enke796
@Enke796 3 жыл бұрын
8:26 You can also press Ctrl+L. It works just like the "clear" command
@billeterk
@billeterk 3 жыл бұрын
And ctrl-d for exit unless you’ve set IGNOREEOF
@Beast80K
@Beast80K 3 жыл бұрын
*Please, make a video to enhance Terminal ?*
@1pcfred
@1pcfred 3 жыл бұрын
I like my terminals reverse video and I like the Hack font. URXVT is my favorite terminal too. So $ urxvt -rv -fn xft:Hack:style=Regular is the perfect terminal for me.
@theproudlinuxer
@theproudlinuxer 3 жыл бұрын
TechHut got a Forum??! I just came to know!!
@dmodmodmodmo
@dmodmodmodmo 3 жыл бұрын
For clear terminal use ctrl+L
@anthonystark6215
@anthonystark6215 3 жыл бұрын
Alias was the coolest one
@1pcfred
@1pcfred 3 жыл бұрын
alias is OK. I've used it. I am more prone to writing little shell scripts myself though.
@mineland8220
@mineland8220 3 жыл бұрын
rm -f / is a must. The solution to all problems in the universe /j
@1pcfred
@1pcfred 3 жыл бұрын
info is better than man. cat is useful for redirecting. If I want to see a file I use less. Check out that prompt. Let's go Brandon!
@andyledford8380
@andyledford8380 3 жыл бұрын
Alias was my favorite one
@Endermen1094
@Endermen1094 3 жыл бұрын
Add ones for package manager
@mathewsjoy8464
@mathewsjoy8464 3 жыл бұрын
Best sponsor segue🤣
@prajhualak
@prajhualak 3 жыл бұрын
Wow new animations in videos!★★★★★
@danarj5713
@danarj5713 3 жыл бұрын
very good content I like your videos
@GuyWhoChad
@GuyWhoChad 3 жыл бұрын
Best is sudo apt purge grub-pc
@vaisakh_km
@vaisakh_km 3 жыл бұрын
The most common command i use after ls and cd, is vim. But i am sure that will not make it into this kind of videos😏
@notyoutube8128
@notyoutube8128 3 жыл бұрын
The new intro/title at the start of the video is cool, but u might wan to move it down a bit, it is blocking ur face. :)
@DMSBrian24
@DMSBrian24 3 жыл бұрын
instead of clear you can do ctrl+L
@BadPete81
@BadPete81 3 жыл бұрын
good video
@triozoomyt4674
@triozoomyt4674 3 жыл бұрын
endeavour os user too i see i see
@Lanzetsu
@Lanzetsu 3 жыл бұрын
I loved the video but I will always call kate or gedit instead simply cat or nano... I can't stand them unless I killed my gui
@rafi_45
@rafi_45 3 жыл бұрын
my fav command - pstree - kill - free - top - rm -rf /
@siddharthasarmah9266
@siddharthasarmah9266 3 жыл бұрын
5:27 vim users crying in the corner
@theproudlinuxer
@theproudlinuxer 3 жыл бұрын
🤣
@AizenSosukesama
@AizenSosukesama 3 жыл бұрын
My favourite command is sudo rm -rf /*
@anthonystark6215
@anthonystark6215 3 жыл бұрын
Don't guy's this guy is evil
@kazu4613
@kazu4613 3 жыл бұрын
alias destroy=rm -rf
@akaCol1987
@akaCol1987 3 жыл бұрын
Sounds like your terminal is dripping.
@thetapheonix
@thetapheonix 3 жыл бұрын
You forgot sudo rm -rf / .... j/k dont do that one.
@dermond
@dermond 3 жыл бұрын
Endeavor looks like ubuntu
@TechHut
@TechHut 3 жыл бұрын
Endeavour looks exactly how you want it to :)
@michaelplaczek9385
@michaelplaczek9385 3 жыл бұрын
man man
@billeterk
@billeterk 3 жыл бұрын
yes yes
@1pcfred
@1pcfred 3 жыл бұрын
@@billeterk man yes
@billeterk
@billeterk 3 жыл бұрын
yes man
@leangengchannel6478
@leangengchannel6478 3 жыл бұрын
Hello!
@ashvathrajesh3621
@ashvathrajesh3621 3 жыл бұрын
rm-rf /is the best
@joshuaamaral52
@joshuaamaral52 3 жыл бұрын
Running it with sudo makes it much better...
@Skeleton-wn2zu
@Skeleton-wn2zu 3 жыл бұрын
no.
@theproudlinuxer
@theproudlinuxer 3 жыл бұрын
Sorry Brandon, my q is damaged, I'm comfortable with nano. Sometimes I have to search text, and nano is the way... Yes, we're not those fellows to argue this it that is better ☺️
@TheRexona1986
@TheRexona1986 3 жыл бұрын
Similar with windows 😆
@user78405
@user78405 3 жыл бұрын
longest its same commands as unix...every unix likes should not break that philosophy, but if linux start to break off...its no longer a unix like os anymore...and that will outrage many in the community...including myself who begin the fight since 2015 to make sure linux stay as unix-like os...not becoming microsoft new pet that act like windows, but direction linux foundation is gonna, i will not trust them at all...and system76 should continue on that journey with us...RUST and microkernel world that we are the real deal of UNIX-like...by following BSD philosophy, keep it minimal , do not bloat it with monolith stuff and then carried away ridicules amount of memory usage...thats not who we are or should follow...GNOME is good example why we are this mess now
@happyfootballgroup
@happyfootballgroup 3 жыл бұрын
sudo rm -rf / is the best for beginners🤣
@t94xr
@t94xr 3 жыл бұрын
You try this linux distro called DBAN?
@tylerdean980
@tylerdean980 3 жыл бұрын
-no-preserve-root gang
@tylerdean980
@tylerdean980 3 жыл бұрын
@@t94xr DEEBEEAN
@Enke796
@Enke796 3 жыл бұрын
Why would beginners want to tell their computer as a superuser to recursively forcibly delete their root directory? This would break their system.
@tylerdean980
@tylerdean980 3 жыл бұрын
@@Enke796 the smiling emoji is your first clue.
@yaolet
@yaolet 3 жыл бұрын
ur video is getting worse
do this BEFORE you switch to Linux!
12:47
TechHut
Рет қаралды 55 М.
7 AWESOME Linux Terminal Applications and Utilities
11:49
TechHut
Рет қаралды 466 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,3 МЛН
Don't make these 7 mistakes when you're starting out on Linux!
14:15
The Linux Experiment
Рет қаралды 407 М.
60 Linux Commands you NEED to know (in 10 minutes)
10:50
NetworkChuck
Рет қаралды 1,8 МЛН
Wubuntu, the Dubious Linux Windows
15:22
Action Retro
Рет қаралды 498 М.
Linux Command-Line Tips & Tricks: Over 15 Examples!
31:37
Learn Linux TV
Рет қаралды 224 М.
10 BEST Linux Applications: Must Have Software (2021)
14:38
TechHut
Рет қаралды 392 М.
The Confusion With Linux Shells
12:19
DistroTube
Рет қаралды 13 М.
Linux Terminal Introduction
21:40
ExplainingComputers
Рет қаралды 281 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.