Linux Commands You Need To Know

Поділитися
Вставка
  • Опубліковано 11 жов 2024
  • Basic Linux Commands You Need To Know
    Go to brilliant.org/... to sign up for free. And also, the first 200 people will get 20% off their annual premium membership.
    In this video I go through 8 linux commands that I think should be the first linux commands to learn!
    Follow me on instagram: / kallehallden
    LiveCoder channel: / @livecoder7639
    "Clean Code Friday"
    If you want to receive one short email from me every week, where I go through a few of the most useful things I have explored and discovered this week. Things like; favourite apps, articles, podcasts, books, coding tips and tricks. Then feel free to join kalletech.com/...
    CONTACT: contact@kalletech.com
    Follow me on:
    TWITCH: / kallehallden
    INSTAGRAM: / kallehallden
    TWITTER: / kallehallden
    GITHUB: github.com/kal...
    VIDEO EDITOR: editingmachine... (use coupon code KALLE to get 50% off your first month)
    --------------------------------------------------------------------------------------------------------
    GEAR:
    kalletech.com/...

КОМЕНТАРІ • 252

  • @1cannon3
    @1cannon3 3 роки тому +219

    0:30 - ls (listing files)
    1:56 - *.txt (searching for all files of a given file type)
    2:18 - ls -a (Listing all files, including hidden files)
    2:35 - cd (change directory)
    4:45 - mkdir (make new directory)
    5:50 - pwd (print working directory)
    7:01 - touch (create a new file)
    8:00 - rm (remove a file)
    8:15 - rmdir (remove a directory)
    8:27 - mv (move a file)
    9:10 - cp (copy and paste files)

    • @ts9971
      @ts9971 3 роки тому +5

      You're a King sir

    • @Firoz900
      @Firoz900 3 роки тому

      Thanks....

    • @CodeDisease
      @CodeDisease 3 роки тому +3

      thank you, glad i didnt watch the entire video because i know these already

    • @evanspierre1468
      @evanspierre1468 2 роки тому

      You are the goat.

    • @mariamhammatto5753
      @mariamhammatto5753 Місяць тому

      ty that was so helpful
      🤗🤗🤗🤗🤗🤗🤗🤗🤗

  • @kungpaochick8557
    @kungpaochick8557 3 роки тому +134

    His upload schedule is the new best thing in my life right now. Great job, Kalle!

    • @OurPastSecrets
      @OurPastSecrets 3 роки тому +3

      i honestly have no idea how he puts out this many quality videos so often

    • @axvex595
      @axvex595 3 роки тому +1

      That was literally gonna be my comment!

    • @elleollanas
      @elleollanas 3 роки тому +2

      Dude same😂

  • @nikospap29
    @nikospap29 3 роки тому +10

    I think making a playlist about Linux is a perfect idea. There are many out there who seek information and tutorials about that.
    If it's easy for you , give it a try! Hope you all the best!

  • @CodeWithStein
    @CodeWithStein 3 роки тому +17

    I'm really impressed with the quality and quantity of videos you're able to push out! I'm barely able to publish 2-3 videos per week and my quality isn't anywhere near you :P
    Keep up the good work :-D

    • @saltylelele
      @saltylelele 3 роки тому +1

      If he still follows his old uploaded daily schedule it is not impossible, considering how he plans his day

  • @siya.abc123
    @siya.abc123 3 роки тому +13

    I feel like I need to pay for most of the content you upload man. It's great

  • @Reshyurem
    @Reshyurem 3 роки тому +3

    Just switched to Linux, loving it. Thank you so much for the videos. I was hesitant of programming at first, but you've given me hope.

    • @saltylelele
      @saltylelele 3 роки тому

      I still remember when I just switched to linux, it was a mess

  • @metastag
    @metastag 3 роки тому +1

    Equivalent commands for cmd in windows:
    ls - dir
    cd - cd /D
    mkdir - mkdir
    pwd - cd (not to be confused with cd /D)
    touch - echo.>filename (no space)
    rm - del
    rmdir - rmdir
    mv - move
    cp - copy
    One really practical command not mentioned in this video is clear for Linux, cls for Windows. It clears the screen and removes everything written on the screen (the effects of the earlier commands won't be changed)
    Idk about Linux, but path names in move and copy can be relative to the current folder

    • @kedarshinde4216
      @kedarshinde4216 3 роки тому

      Yeah, clear is really useful and the fact that he didn't even mention is shocking, he didn't even mention the man pages.

  • @Spenito
    @Spenito 3 роки тому +4

    I think it's important to note that rmdir will only work if a directory is empty. rm -r is a much better command for removing directories, as it will recursively delete all files within the directory.

  • @Scarz733
    @Scarz733 2 роки тому

    This was very helpful for me as I am getting started in Linux and did not really understand the navigation, thank you so much.

  • @smooth8991
    @smooth8991 3 роки тому +2

    great video as usual! just a little note: "pwd" actually stands for "print working directory" not "path to working directory", but yeah, that's just a small thing

  • @SinanAkkoyun
    @SinanAkkoyun 3 роки тому

    Wow Kalle, you are getting pretty big here on UA-cam with pleasing quality!

  • @Babblingbrooke101
    @Babblingbrooke101 7 місяців тому

    This is better than the CompTia Testout videos. They didn't give half of this info in one their 11 minute videos. So thanks!

  • @MohdSameer-so9bt
    @MohdSameer-so9bt 3 роки тому +1

    great video Kalle. Pls make it into series so that we can learn various linux commands at one place.

  • @bradyredding1964
    @bradyredding1964 3 роки тому +1

    Dude, I’m loving these daily uploads! Keep up the good work! (Also, anyone notice he went from 1080p to 2160p?)

  • @Luminiferous2049
    @Luminiferous2049 3 роки тому

    That blind analogy was actually very apt!

  • @mahadevananair2481
    @mahadevananair2481 3 роки тому +4

    Make it a series 🔥🔥 really love these videos

  • @bassam_salim
    @bassam_salim 3 роки тому +1

    I just learbed these at college two days ago, I actually know them before when learning how to use cmd in windows

  • @sameersharma7577
    @sameersharma7577 Рік тому

    As I Linux beginner, I can confirm that this makes a lot of sense and was super helpful. Thanks!

  • @jonnito6175
    @jonnito6175 3 роки тому +1

    Nice video man. I've been playing around with linux commands and vim for like the past month, and you feel very cool doing all these until you realise that you are doing nothing more than what you do in the gui with a few clicks.
    Essentially 'cd (directory name)' is a double click to get into a folder, 'mkdir (name)' is right click ->create folder, and 'ls' is literally just using your eyes when you are in a folder.
    ps. You can also rename files and directories using the mv command like this
    mv -> (file or directory name) (new file or directory name) (mv -> project.c proj.c)

  • @shasantv
    @shasantv 3 роки тому

    Thank you, Kalle, for making this video and I hope you turn this into a series. Enjoyed watching this one.

  • @noah77
    @noah77 3 роки тому +2

    Damn dude. I loved the tab thingy to auto complete. Thank you so much!

  • @RaviKumar-zb8bl
    @RaviKumar-zb8bl 2 роки тому

    thanks...............being using linux for more than a year ..........but never tried to tearn at least basics things ............but today i did

  • @THINKNATURE
    @THINKNATURE 3 роки тому +1

    Kalle, the more Linux videos the better - *keep up the good work!!*

  • @zuberkariye2299
    @zuberkariye2299 3 роки тому

    Man went from programming into Linux which leads to pentest later on, really like the energy that you developing skills in other tech ~ really interested

  • @ladydexx9264
    @ladydexx9264 3 роки тому

    Best video on Linux commands that I've seen so far! Great work

  • @bigdaddyrazor
    @bigdaddyrazor 3 роки тому

    Although I'm an experienced GNU/Linux user I find this video to be amazing for beginners who want to get into the OS, great job!

  • @cyberdash
    @cyberdash 3 роки тому +1

    I love this upload schedule!
    Please make a video on git commands, please!!

  • @Mattia5N3A
    @Mattia5N3A 3 роки тому

    I always wanted to learn how to use linux well. Thanks to this video i could start, and then go to learn how to use kali.

  • @devamruthag5643
    @devamruthag5643 3 роки тому +1

    Looking forward to the command Series 🙌

  • @ajaywagaskar4705
    @ajaywagaskar4705 3 роки тому +1

    Can you please make this a series because this is kinda or not kinda tutorial but really love the way you make them this is also very usefull because just by watching your last live usb os i have made ubantu live uab and now learning linux but still having some problems with its shutdown and boot up issue.

  • @thecomedian4136
    @thecomedian4136 3 роки тому

    Hallden, the explanation in this video was awesome! I really think you should make a series of this kind of videos, because you really do explain good!
    Please, let this be the first episode!

  • @vinayakshah2892
    @vinayakshah2892 3 роки тому

    Just switched to linux because of CTT and this man loved the os.

  • @AntonFlusten
    @AntonFlusten 3 роки тому +2

    Would love having a serie about Linux !

  • @dewanshchaudhari5134
    @dewanshchaudhari5134 3 роки тому

    I have exam for linux tomorrow
    thanks kalle this would help a lot!!

  • @anirudh513
    @anirudh513 3 роки тому

    Hi, tku for making such Linux videos.I recently got some interest in learning Linux so pls do as many videos as possible related to Linux !!

  • @sergeygr
    @sergeygr 3 роки тому

    Small tip: "$ cd -" will bring you back to previous directory. For example if you where in "/var/log/nginx" and accidentally type cd, then just use "cd -" and it will bring you back to "/var/log/nginx".
    Also EngineerMan has cool videos related to Linux commands :)

  • @aydenzhu5938
    @aydenzhu5938 3 роки тому

    I really enjoyed watching this video, please make a series for learning Linux commands. Thank you!

  • @domenicodironza2794
    @domenicodironza2794 3 роки тому

    I hope this series continues with more and more advanced controls, I love how you explain these things!

  • @abusufianshanto6185
    @abusufianshanto6185 2 роки тому

    This guy is breath saver! Thanks a lot from Bangladesh.

  • @user-hj2un8rl2q
    @user-hj2un8rl2q 3 роки тому

    Man, I don't know how you do what you do. Daily uploads at such a high quality. Props to you 🙌

  • @wojwesoly
    @wojwesoly 3 роки тому +1

    A important thing to note is that in Linux (and other unix based system I suppose) text.txt is not the same file as Text.txt.

  • @andyrays
    @andyrays 3 роки тому

    Just a note, the symbol * is an asterisk, not an Asterix.
    Also typing "cd .." will take you UP one level in the directory tree structure. I feel the use of "back" might be confusing, as it does not take you back to the previous directory (unless of course the previous directory IS the one a level above your current directory).
    ".." always refers to the parent directory, not just when using "cd". You could, e.g., use "mkdir ..\foldername" to create a new directory that is in the same parent directory as your current directory.
    "." on the other hand refers to your current directory.

  • @Mrfrancy995
    @Mrfrancy995 3 роки тому

    For me at the begging It has been helpful to know what the command name mean in order to remember it. For example cd stand for change directory and mkdir for make directory and so on.
    Alias is another very useful command for shortcuts especially for ll=ls -lah (I also add h for human format in file size)
    BTW great video editing as always 😊

  • @igbinosuneric
    @igbinosuneric 3 роки тому

    hey love your videos but i think PWD is "print working directory" because it would print to the console the current directory you are in.

  • @tsivinsky
    @tsivinsky 3 роки тому

    Cool video for beginners in Linux. Good job, Kalle.

  • @liffaenxd
    @liffaenxd 3 роки тому

    Hy Kalle
    I bought Brilliant membership with your code, thank you so much,
    it's awesome

  • @OurPastSecrets
    @OurPastSecrets 3 роки тому

    your videography is so good. such an inspiration

  • @christopherbozovich1934
    @christopherbozovich1934 3 роки тому

    The analogy was spot on!

  • @aleecpx
    @aleecpx 3 роки тому

    U taught better thn my lecturer's note.. hell i shouldnt pay thousands a year just for her to give me notes n figure things out myself.

  • @nathanquan1876
    @nathanquan1876 3 роки тому

    This was great! I was trying to implement some of my bash scripts from my Linux machine on my Mac and was **BASHING** my head trying to figure out why they wouldn't work until I found out that Mac uses BSD grep rather that GNU grep. A video covering the differences or how to work around this difference would be nice

  • @asafsarusi6159
    @asafsarusi6159 3 роки тому +1

    I love your vidios, it cool that u do a totorial

  • @shivamsingh7389
    @shivamsingh7389 3 роки тому

    I thought your only sponsors would be Blinkist and Kite!! lol!! Amazing video!!

  • @zecko9534
    @zecko9534 3 роки тому +2

    Pls could u do more BASH command line related videos

  • @SlazeM7
    @SlazeM7 3 роки тому

    tbh one of the best channels I have subscribed to

  • @aryanm.180
    @aryanm.180 3 роки тому +8

    Yes Kalle, we really need more advanced tutorials for Linux :)

  • @jxson7_
    @jxson7_ 3 роки тому

    Been watching your videos later and love them

  • @Synthwave89
    @Synthwave89 3 роки тому

    Maybe I missed it but you should have included renaming files using the mv command as well.

  • @fu4422
    @fu4422 3 роки тому +2

    He's uploading so much that I can't even keep up with them😂

  • @kedarshinde4216
    @kedarshinde4216 3 роки тому

    You should try zsh with oh-my-zsh, great shell and highly customizable, I am sure you will love it

  • @elijahtache1535
    @elijahtache1535 3 роки тому

    great video! A series about linux commands is actually a great idea

  • @benwatkinson2021
    @benwatkinson2021 3 роки тому +3

    Great video but would it be possible to add timestamps in the description for each different command? I think that would be useful and could cause people to come back when they forget a specific command causing you to get more views.

    • @user-hj2un8rl2q
      @user-hj2un8rl2q 3 роки тому +1

      That'd be nice. But if this video gets more popular, I bet someone out there will comment it here somewhere in the comment section haha

  • @najib21mhd3
    @najib21mhd3 2 роки тому

    thanks, bro, really you are a good teacher.it took me a time to understand but now i easily understand bro thanks again

  • @mehregankbi
    @mehregankbi 3 роки тому

    just to clarify: in linux we have /home and home directory.
    /home = /home
    home directory = /home/yourname = ~
    type this in terminal: echo ~
    /home/user kinda similar to C:\users\user

  • @abhaytiwari6411
    @abhaytiwari6411 3 роки тому

    please make video on competitive Programming or how to think like a programmer
    or logic building etc

  • @sudhamajayanthi
    @sudhamajayanthi 3 роки тому +56

    Change the title to “bash” and gain Mac viewers too 😉
    Edit: Wow we hit a half century likes.

    • @minzi8422
      @minzi8422 3 роки тому +10

      "Unix" would be a more suited

    • @thedeegan
      @thedeegan 3 роки тому

      But then it wouldn't be cOoOoOol

    • @bryanurizar
      @bryanurizar 3 роки тому +1

      But Mac doesn’t use bash anymore..

    • @minzi8422
      @minzi8422 3 роки тому +1

      @@bryanurizar ZSH is basically an extended version of bash, almost all of the bash commands and syntax applies to ZSH too

    • @bryanurizar
      @bryanurizar 3 роки тому

      @@minzi8422 I’m aware!

  • @lamb8086
    @lamb8086 3 роки тому

    You should have clarified that rmdir only removes empty directories. In order to remove a directory with content in it you need to use rm -rf followed by the directory name you want to remove

  • @SuperMarkusparkus
    @SuperMarkusparkus 3 роки тому

    FYI - cd is not a command in the same way as ls. ls is /usr/bin/ls, an executable on the system that lists files. cd is just a shell built in into /bin/bash or whichever shell you are using which tells your shell to change directory. cd is not a separate application. You can try to write 'which ls' which should return /usr/bin/ls but 'which cd' returns nothing.

  • @Spectraevil
    @Spectraevil 3 роки тому +4

    He wasn't kidding when he said, "Basic Linux commands" :|

  • @christianchapman1278
    @christianchapman1278 3 роки тому

    Make this a series!!! Keep up the good work!

  • @annaa2732
    @annaa2732 Рік тому

    clear, precise and simple! Thank you !

  • @mikededo9100
    @mikededo9100 3 роки тому

    Could you post your Linux theming? Looks really clean!

  • @mahmoudeisa5695
    @mahmoudeisa5695 3 роки тому

    it's a very useful video
    plz make a playlist about Linux commands

  • @abujihadsalahudin
    @abujihadsalahudin 2 роки тому

    Please make more 🙏 great job explaining everything

  • @elgatito00
    @elgatito00 3 роки тому +1

    Yaaaayyy more videos..keep up the pace 👍👍
    Please do a video on github

  • @amralifts
    @amralifts 3 роки тому

    That is exactly what you call Hallden vids.

  • @SaiKrishna-wl1ql
    @SaiKrishna-wl1ql 3 роки тому

    Please make a series bro ...looking for your videos

  • @Alexander-vo4gv
    @Alexander-vo4gv 3 роки тому

    Thanks dude I'm new to Linux and I use parrot and sometimes I get confused. I know how to do basic stuff like cd, list, dpkg etc but this helps extra! Ps I used parrot for the first time yesterday (previously using Kali) and it's really good definitely worth the swap from Kali so I recommend it a lot.

  • @fahadibnatuhinofficial4555
    @fahadibnatuhinofficial4555 2 роки тому

    Thanks kalle. Make a playlist

  • @vasilyfotin2409
    @vasilyfotin2409 3 роки тому

    Very surprised you aren't running Kali Linux. Considering it was named after you (or the other way around). Have a nice day!

  • @rdoetjes
    @rdoetjes 3 роки тому

    ls, cat, find, grep, sed, ps, chmod, cp, mv, rm, chown, cd those are the most used. Oh and I use whereis and who a lot too.

  • @pradeep2662
    @pradeep2662 3 роки тому

    Would you film a "what's on my iPhone" video from top angle rather than just showing the screen recording? I feel like you will have some fun and geeky stuff in there.

  • @jarifahmed6365
    @jarifahmed6365 3 роки тому

    Yesssssss pleaseeeeee.
    I am new to Linux and using alt+ctrl+t to do stuffs are cool 🙄🤓

  • @reezzrex0690
    @reezzrex0690 3 роки тому

    Please make a full Kali Linux guide ❤️

  • @will00451
    @will00451 3 роки тому

    Install exa for a modern ls alternative with great defaults like color support built using Rust

  • @darkbyteproductions952
    @darkbyteproductions952 3 роки тому

    The command that changed my life was sudo !!
    This command basicall executes the previous command as root.

  • @aer0449
    @aer0449 3 роки тому +1

    Please make more linux vids I love them

  • @jorgeediazs3468
    @jorgeediazs3468 Рік тому

    It was a very accurate analogy actually lol ..😅 now I feel weird double clicking on folders

  • @RajvirSingh1313
    @RajvirSingh1313 3 роки тому +5

    Hi Kalle I had a question that if the flutter is a ui language means forntend language and dart is a backend language. Can we use java instead of dart ??????????

    • @supreetkaur9762
      @supreetkaur9762 3 роки тому

      I had also same question

    • @sudeepdeysarker9600
      @sudeepdeysarker9600 3 роки тому

      Flutter is not a coding language. Flutter is a front end UI library which uses dart as a coding language

    • @RajvirSingh1313
      @RajvirSingh1313 3 роки тому

      @@sudeepdeysarker9600 But my question is that can we use java for backend instead of dart ??

    • @sudeepdeysarker9600
      @sudeepdeysarker9600 3 роки тому

      @@RajvirSingh1313Don't know perfectly but flutter only uses dart as Programing language so I don't think you can use java inside flutter.

    • @RajvirSingh1313
      @RajvirSingh1313 3 роки тому

      @@sudeepdeysarker9600 Thanks And which you think is best programming language for app development??

  • @milicanikolic4041
    @milicanikolic4041 3 роки тому

    Nice video! I would love to see more videos about Linux.

  • @adegokevictor8242
    @adegokevictor8242 3 роки тому

    wow
    Damn!!! I so much love this video bro 👊
    Keep it up

  • @daner650
    @daner650 3 роки тому

    I like these videos that teach the basics

  • @ni7704
    @ni7704 Рік тому

    Thanks I'm start cs in the fall

  • @bala.dhinesh
    @bala.dhinesh 3 роки тому +1

    What Linux Distro are you using?

  • @naveeng8583
    @naveeng8583 3 роки тому

    Hey Kalle, also try to do a flutter series as well!

  • @brandonbraner
    @brandonbraner 3 роки тому

    Random off video comment. We’re you able to get sound working on your xps with Linux?

  • @AirmanKolberg
    @AirmanKolberg 3 роки тому +16

    PWD is “print working directory”, not “path to working directory”. That’d be ptwd. lol

  • @zuberkariye2299
    @zuberkariye2299 3 роки тому +2

    $ ls ~> list files and directories.
    $ pwd ~> print work directory.
    $ mkdir ~> make directory/folder
    $ touch ~> to make a file.
    $ cd ~> to change a directory.
    $ mv ~> to move folder/file to some where else.
    $ cp ~> to command is to copy a file or anything related to file.
    $ rm to remove a file from a folder or somewhere.
    $ rm -rf this will force to remove certain files specially when you get a prompt saying the file or directory is not empty. Basically not a empty file or directory.
    $ rmdir ~> to remove a file an empty folder. This command also stand for remove directory as you can tell!
    $ sudo ~> superuser/admin/highest privileges.
    I_am_beginner(“Correct me any mistakes plz”)
    print(I_am_beginner)
    Output:
    -> Correct me any mistakes plz

  • @apurvag7
    @apurvag7 3 роки тому

    Could u also add time stamps
    It'll so much useful.

  • @ratul3123
    @ratul3123 3 роки тому

    Hi Kalle Hallden..... Great videos brother!

  • @jamierjhill1
    @jamierjhill1 3 роки тому

    please do continue with linux commands!