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​

Комментарии • 132

  • @versatilegeniuses9374
    @versatilegeniuses9374 2 года назад +109

    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  2 года назад +17

      You're awesome 😎

    • @VikingShip-lw4oo
      @VikingShip-lw4oo 2 года назад

      Bro got the genius pfp

    • @youtube.user.1234
      @youtube.user.1234 2 года назад

      @0,8 Анонима if you look at my terminal history, out of 4000 commands at least 700 would be “clear” 😂

    • @bew
      @bew 2 года назад

      There's also Ctrl-d for exit, way faster

    • @tralphstreet
      @tralphstreet 2 года назад

      @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.

  • @MBLxHD
    @MBLxHD 2 года назад +1

    Love the video Brandon!! This is my favourite channel by far. Thank you for doing what you do :)

  • @ptzzz
    @ptzzz 2 года назад

    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.

  • @chickenjoy
    @chickenjoy 2 года назад

    I remember in college, we code C programs in the terminal using nano. We didn't know we could use other editors.

    • @TechHut
      @TechHut  2 года назад +1

      Okay, actually sitting there and programming for hours in nano world be a little painful. 😅

    • @amosnimos
      @amosnimos 2 года назад +1

      Nano is fine.

  • @carbondated6151
    @carbondated6151 2 года назад

    Yes, very good video. Often I've seen RUclips vids that are way too generic in there description.

  • @DMSBrian24
    @DMSBrian24 2 года назад

    instead of clear you can do ctrl+L

  • @ashvathrajesh3621
    @ashvathrajesh3621 2 года назад +8

    rm-rf /is the best

  • @akaCol1987
    @akaCol1987 2 года назад

    Sounds like your terminal is dripping.

  • @user78405
    @user78405 2 года назад

    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

  • @spsharan2000
    @spsharan2000 2 года назад +45

    Not necessarily "terminal commands" but
    1) Control+D to exit and
    2) Control+L to clear the terminal
    are my most favorites

    • @theproudlinuxer
      @theproudlinuxer 2 года назад

      Mine too! We're in sync!

    • @mvwouden
      @mvwouden 2 года назад +4

      3) Control + R to search through command history

    • @theproudlinuxer
      @theproudlinuxer 2 года назад

      @@mvwouden I didn't know that 👀👀

    • @master138
      @master138 2 года назад +2

      Control + L is a life saver tip for me. thank you mate.❤

    • @hudsond15
      @hudsond15 2 года назад +1

      Ctrl + u clears what you have typed up

  • @walking_on_earth
    @walking_on_earth 2 года назад +20

    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 2 года назад +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

    • @nellatl
      @nellatl 2 года назад

      I use gedit

    • @imsoket8204
      @imsoket8204 2 года назад

      Thanks!

  • @rbartig
    @rbartig 2 года назад +10

    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.

  • @zed620
    @zed620 Год назад +1

    You’re an absolute star, your video was awesome please keep going and make more of these, I would call this quick learning.

  • @adityagupta375
    @adityagupta375 2 года назад +2

    I would love more of these grt content

  • @1pcfred
    @1pcfred 2 года назад +1

    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!

  • @notyoutube8128
    @notyoutube8128 2 года назад +1

    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. :)

  • @urmensch12
    @urmensch12 2 года назад +1

    Usually ctrl + L does the same as the clear command

  • @TechHut
    @TechHut  2 года назад +2

    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

    • @GamerBoy705_yt
      @GamerBoy705_yt 2 года назад +1

      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 2 года назад

      @@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 2 года назад

      Hey Brandon, please pin the comment if it's necessary ☺️

  • @Epsilonsama
    @Epsilonsama 2 года назад +1

    For df remember to use df -h if you want it human readable. Also works with the free command as in free -h

  • @DeeperSoul
    @DeeperSoul 2 года назад +1

    This should be complete serie
    Man keep it going up.

  • @theproudlinuxer
    @theproudlinuxer 2 года назад +2

    That beautiful sound when you hit a key more than a few times 🤩🤣

  • @KuruGDI
    @KuruGDI 2 года назад +1

    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.

  • @henrikandersen7778
    @henrikandersen7778 2 года назад

    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...

  • @TheRexona1986
    @TheRexona1986 2 года назад

    Hello, I have one question. Which linux distro works on crossfire amd graphics cards? (Some old hp probook)

  • @YM-lm8xr
    @YM-lm8xr 2 года назад +1

    great content! keep it up dude!

  • @garyprice464
    @garyprice464 2 года назад

    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

  • @jpbird8432
    @jpbird8432 2 года назад

    I didn't know the locate command and wow is really useful, I wonder if this this command actually finds everything?

  • @huray9802
    @huray9802 2 года назад +3

    Your theme set up is insane in this video! Can we have a video tutorial for that?

    • @TechHut
      @TechHut  2 года назад

      I got you! ruclips.net/video/zEX3J5P29G4/видео.html

  • @Lanzetsu
    @Lanzetsu 2 года назад

    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

  • @javierfrachi8299
    @javierfrachi8299 2 года назад

    Can you teach about how to close an app from terminal, please? Thanks in advance.

  • @vaisakhkm783
    @vaisakhkm783 2 года назад

    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😏

  • @theproudlinuxer
    @theproudlinuxer 2 года назад

    TechHut got a Forum??! I just came to know!!

  • @JD-kg3mx
    @JD-kg3mx 2 года назад

    Great video. I appreciate the lesson, thanks.

  • @mineland8220
    @mineland8220 2 года назад

    rm -f / is a must. The solution to all problems in the universe /j

  • @texmex6083
    @texmex6083 2 года назад

    hell yeaa I want more 'as a noob linux user this is very helpful

  • @rafi_45
    @rafi_45 2 года назад

    my fav command
    - pstree
    - kill
    - free
    - top
    - rm -rf /

  • @fulcrumthewhite
    @fulcrumthewhite 2 года назад +1

    Great new video format !

  • @theredstonehive
    @theredstonehive 2 года назад +3

    'grep' is also important to know.

    • @TechHut
      @TechHut  2 года назад +1

      Very true. This is a whole separate video :)

  • @truthseeker3907
    @truthseeker3907 2 года назад

    Thank you TechHut and Thumbs up! 👍

  • @moneyfr
    @moneyfr 2 года назад

    Can you update automatically your Ubuntu?

  • @courier6506
    @courier6506 2 года назад

    Please make more of this videos.awesome...

  • @motoryzen
    @motoryzen 2 года назад

    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 2 года назад

      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)

  • @thetapheonix
    @thetapheonix 2 года назад

    You forgot sudo rm -rf / .... j/k dont do that one.

  • @schwons3703
    @schwons3703 2 года назад +1

    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.

  • @danarj5713
    @danarj5713 2 года назад

    very good content I like your videos

  • @Jonas-gm4my
    @Jonas-gm4my Год назад

    What distro do you use? Which gui is that?

  • @dmodmodmodmo
    @dmodmodmodmo 2 года назад

    For clear terminal use ctrl+L

  • @Endermen1094
    @Endermen1094 2 года назад

    Add ones for package manager

  • @GuyWhoChad
    @GuyWhoChad 2 года назад

    Best is
    sudo apt purge grub-pc

  • @michaelplaczek9385
    @michaelplaczek9385 2 года назад +2

    man man

  • @zeusdelta2842
    @zeusdelta2842 2 года назад

    I want to permanently switch and be a pro of linux which distro I need to go with ?

    • @1pcfred
      @1pcfred 2 года назад +1

      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!

  • @chickenjoy
    @chickenjoy 2 года назад

    Are these the same for Mac OS?

  • @marcossantoscs
    @marcossantoscs 2 года назад

    What distro is this? I liked

  • @triozoomyt4674
    @triozoomyt4674 2 года назад

    endeavour os user too i see i see

  • @siddharthasarmah9266
    @siddharthasarmah9266 2 года назад +2

    5:27 vim users crying in the corner

  • @nicholasbateman2213
    @nicholasbateman2213 2 года назад

    what distro do you use?

  • @mathewsjoy8464
    @mathewsjoy8464 2 года назад

    Best sponsor segue🤣

  • @obvious_giraffe8386
    @obvious_giraffe8386 2 года назад

    Where did the pi go?

  • @22oreos
    @22oreos 2 года назад

    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  2 года назад +1

      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 :)

    • @22oreos
      @22oreos 2 года назад

      @@TechHut Thanks for responding!

  • @BadPete81
    @BadPete81 2 года назад

    good video

  • @davidgiffordsr.930
    @davidgiffordsr.930 2 года назад

    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!

  • @Beast80K
    @Beast80K 2 года назад

    *Please, make a video to enhance Terminal ?*

    • @1pcfred
      @1pcfred 2 года назад

      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.

  • @yaolet
    @yaolet 2 года назад +2

    ur video is getting worse

  • @anthonystark6215
    @anthonystark6215 2 года назад +1

    Alias was the coolest one

    • @1pcfred
      @1pcfred 2 года назад

      alias is OK. I've used it. I am more prone to writing little shell scripts myself though.

  • @mxmobile5619
    @mxmobile5619 2 года назад

    What’s the difference between df and df -h?

    • @billeterk
      @billeterk 2 года назад +1

      Or something like
      du -hsc * | sort -h

  • @StormWarningMom
    @StormWarningMom 2 года назад

    I learned some things. And yes, please make more of these vids. Nothing wrong with expanding our knowledge of the command line.

  • @glenlinux9924
    @glenlinux9924 2 года назад

    Great vid Brandon, definetly more Linux command tutorials plaease

  • @dermond
    @dermond 2 года назад

    Endeavor looks like ubuntu

    • @TechHut
      @TechHut  2 года назад

      Endeavour looks exactly how you want it to :)

  • @modembuddy
    @modembuddy 2 года назад

    Good stuff! Learned a few new ones as I'm exploring more on my system. Really appreciate your direct and uncomplicated approach.

  • @LinkDragon512
    @LinkDragon512 2 года назад

    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!

  • @malikrimzan5765
    @malikrimzan5765 2 года назад

    Extremely useful video for new Linux users like me. Thanks Brandon!

  • @tsesangdolkar7968
    @tsesangdolkar7968 2 года назад

    Thank you for the super tutorial, to the point and very easy to understand.

  • @Android-17
    @Android-17 2 года назад

    The segway to to the sponsorship is smooth af!

  • @andyledford8380
    @andyledford8380 2 года назад

    Alias was my favorite one

  • @prajhualak
    @prajhualak 2 года назад

    Wow new animations in videos!★★★★★

  • @johnnybelivin3610
    @johnnybelivin3610 2 года назад

    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 2 года назад +1

      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.

  • @tanaybhomia2784
    @tanaybhomia2784 2 года назад

    Love the New Graphics ❤️

  • @TheRexona1986
    @TheRexona1986 2 года назад

    Similar with windows 😆

  • @leangengchannel6478
    @leangengchannel6478 2 года назад

    Hello!

  • @AizenSosukesama
    @AizenSosukesama 2 года назад +6

    My favourite command is sudo rm -rf /*

  • @Enke796
    @Enke796 2 года назад

    8:26 You can also press Ctrl+L. It works just like the "clear" command

    • @billeterk
      @billeterk 2 года назад

      And ctrl-d for exit unless you’ve set IGNOREEOF

  • @theproudlinuxer
    @theproudlinuxer 2 года назад

    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 ☺️

  • @happyfootballgroup
    @happyfootballgroup 2 года назад +1

    sudo rm -rf / is the best for beginners🤣

    • @t94xr
      @t94xr 2 года назад

      You try this linux distro called DBAN?

    • @tylerdean980
      @tylerdean980 2 года назад

      -no-preserve-root gang

    • @tylerdean980
      @tylerdean980 2 года назад

      @@t94xr DEEBEEAN

    • @Enke796
      @Enke796 2 года назад

      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 2 года назад

      @@Enke796 the smiling emoji is your first clue.