MUST KNOW Linux Commands
HTML-код
- Опубликовано: 29 сен 2024
- Set up your own Linux server with LINODE : www.linode.com/...
$100 - 60 day credit on new Linode accounts for TechHut viewers.
Continuing the Linux terminal basics series of videos we will quickly highlight some of the most important and commonly used commands within the Linux CLI environment. Let me know any input on moving this series forward!
Dive deeper!
cd, ls - • Linux Commands for Beg...
cp, rv - • Linux Commands for Beg...
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)
s/o to Versatile Geniuses for the comment!
RUclips MEMBER: bit.ly/members...
BECOME PATREON: bit.ly/patreon...
JOIN DISCORD: bit.ly/discord...
FOLLOW ME: bit.ly/twitter...
INSTAGRAM: bit.ly/persona...
My Workstation (PAID LINKS)
RYZEN 7 3700X: amzn.to/31BfO3...
PRIME X570-P: amzn.to/2HeKhNh
G.SKILL Trident Z Neo: amzn.to/347eZAz
WD Blue SN550 1TB: amzn.to/3o2RQan
Seasonic FOCUS GX-650: amzn.to/3j9MKFy
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)
; )
You're awesome 😎
Bro got the genius pfp
@0,8 Анонима if you look at my terminal history, out of 4000 commands at least 700 would be “clear” 😂
There's also Ctrl-d for exit, way faster
@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.
Love the video Brandon!! This is my favourite channel by far. Thank you for doing what you do :)
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.
I remember in college, we code C programs in the terminal using nano. We didn't know we could use other editors.
Okay, actually sitting there and programming for hours in nano world be a little painful. 😅
Nano is fine.
Yes, very good video. Often I've seen RUclips vids that are way too generic in there description.
instead of clear you can do ctrl+L
rm-rf /is the best
Running it with sudo makes it much better...
no.
Sounds like your terminal is dripping.
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
Not necessarily "terminal commands" but
1) Control+D to exit and
2) Control+L to clear the terminal
are my most favorites
Mine too! We're in sync!
3) Control + R to search through command history
@@mvwouden I didn't know that 👀👀
Control + L is a life saver tip for me. thank you mate.❤
Ctrl + u clears what you have typed up
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!
@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
I use gedit
Thanks!
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.
You’re an absolute star, your video was awesome please keep going and make more of these, I would call this quick learning.
I would love more of these grt content
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!
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. :)
Usually ctrl + L does the same as the clear command
Thanks to Linode for sponsoring this video! linode.com/techhut
cd, ls - ruclips.net/video/QA_JzyXoNWI/видео.html
cp, rv - ruclips.net/video/Sdxdqn9djCc/видео.html
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!
@@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 :)
Hey Brandon, please pin the comment if it's necessary ☺️
For df remember to use df -h if you want it human readable. Also works with the free command as in free -h
This should be complete serie
Man keep it going up.
That beautiful sound when you hit a key more than a few times 🤩🤣
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.
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...
Hello, I have one question. Which linux distro works on crossfire amd graphics cards? (Some old hp probook)
great content! keep it up dude!
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
I didn't know the locate command and wow is really useful, I wonder if this this command actually finds everything?
Your theme set up is insane in this video! Can we have a video tutorial for that?
I got you! ruclips.net/video/zEX3J5P29G4/видео.html
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
Can you teach about how to close an app from terminal, please? Thanks in advance.
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😏
TechHut got a Forum??! I just came to know!!
Great video. I appreciate the lesson, thanks.
rm -f / is a must. The solution to all problems in the universe /j
hell yeaa I want more 'as a noob linux user this is very helpful
my fav command
- pstree
- kill
- free
- top
- rm -rf /
Great new video format !
'grep' is also important to know.
Very true. This is a whole separate video :)
Thank you TechHut and Thumbs up! 👍
Can you update automatically your Ubuntu?
Please make more of this videos.awesome...
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
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)
You forgot sudo rm -rf / .... j/k dont do that one.
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.
very good content I like your videos
What distro do you use? Which gui is that?
For clear terminal use ctrl+L
Add ones for package manager
Best is
sudo apt purge grub-pc
man man
yes yes
@@billeterk man yes
yes man
I want to permanently switch and be a pro of linux which distro I need to go with ?
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!
Are these the same for Mac OS?
What distro is this? I liked
endeavour os user too i see i see
5:27 vim users crying in the corner
🤣
what distro do you use?
Best sponsor segue🤣
Where did the pi go?
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?
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: ruclips.net/video/zEX3J5P29G4/видео.html
That drip noise is the default in GNOME terminal that I forgot to disable. You can change all these sounds in the settings :)
@@TechHut Thanks for responding!
good video
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!
*Please, make a video to enhance Terminal ?*
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.
ur video is getting worse
Alias was the coolest one
alias is OK. I've used it. I am more prone to writing little shell scripts myself though.
What’s the difference between df and df -h?
Or something like
du -hsc * | sort -h
I learned some things. And yes, please make more of these vids. Nothing wrong with expanding our knowledge of the command line.
Great vid Brandon, definetly more Linux command tutorials plaease
Endeavor looks like ubuntu
Endeavour looks exactly how you want it to :)
Good stuff! Learned a few new ones as I'm exploring more on my system. Really appreciate your direct and uncomplicated approach.
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!
Extremely useful video for new Linux users like me. Thanks Brandon!
Thank you for the super tutorial, to the point and very easy to understand.
The segway to to the sponsorship is smooth af!
Alias was my favorite one
Wow new animations in videos!★★★★★
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.
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.
Love the New Graphics ❤️
Similar with windows 😆
Hello!
My favourite command is sudo rm -rf /*
Don't guy's this guy is evil
alias destroy=rm -rf
8:26 You can also press Ctrl+L. It works just like the "clear" command
And ctrl-d for exit unless you’ve set IGNOREEOF
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 ☺️
sudo rm -rf / is the best for beginners🤣
You try this linux distro called DBAN?
-no-preserve-root gang
@@t94xr DEEBEEAN
Why would beginners want to tell their computer as a superuser to recursively forcibly delete their root directory? This would break their system.
@@Enke796 the smiling emoji is your first clue.