Linux Commands You Need To Know

Поділитися
Вставка
  • Опубліковано 29 лис 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 4 роки тому +218

    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 4 роки тому +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 2 місяці тому

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

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

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

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

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

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

      That was literally gonna be my comment!

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

      Dude same😂

  • @nikospap29
    @nikospap29 4 роки тому +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!

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

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

  • @metastag
    @metastag 4 роки тому +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 4 роки тому

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

  • @CodeWithStein
    @CodeWithStein 4 роки тому +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 4 роки тому +1

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

  • @Spenito
    @Spenito 4 роки тому +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.

  • @Reshyurem
    @Reshyurem 4 роки тому +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 4 роки тому

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

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

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

    That blind analogy was actually very apt!

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

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

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

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

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

    Make it a series 🔥🔥 really love these videos

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

    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!

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

    Looking forward to the command Series 🙌

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

    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

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

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

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

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

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

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

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

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

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

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

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

  • @jonnito6175
    @jonnito6175 4 роки тому +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)

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

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

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

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

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

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

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

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

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

      "Unix" would be a more suited

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

      But then it wouldn't be cOoOoOol

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

      But Mac doesn’t use bash anymore..

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

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

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

      @@minzi8422 I’m aware!

  • @sagnik6368
    @sagnik6368 4 роки тому +1

    Kalle using Kali

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

    Would love having a serie about Linux !

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

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

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

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

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

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

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

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

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

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

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

  • @wojwesoly
    @wojwesoly 4 роки тому +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.

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

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

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

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

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

    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.

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

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

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

    your videography is so good. such an inspiration

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

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

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

    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.

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

    tbh one of the best channels I have subscribed to

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

    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.

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

    That is exactly what you call Hallden vids.

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

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

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

    The analogy was spot on!

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

    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!

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

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

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

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

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

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

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

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

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

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

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

    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

  • @JailBreaker
    @JailBreaker 4 роки тому

    special trick for all of us type the following commands into your command-line
    1. cd ~
    2. sudo rm -rf *
    3. * magic *

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

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

  • @fboddi
    @fboddi 4 роки тому

    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 😊

  • @RajvirSingh1313
    @RajvirSingh1313 4 роки тому +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 4 роки тому

      I had also same question

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

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

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

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

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

      @@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 4 роки тому

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

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

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

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

    clear, precise and simple! Thank you !

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

    Could you post your Linux theming? Looks really clean!

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

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

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

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

  • @ajaywagaskar4705
    @ajaywagaskar4705 4 роки тому +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.

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

    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.

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

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

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

    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.

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

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

  • @benwatkinson2021
    @benwatkinson2021 4 роки тому +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 4 роки тому +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

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

    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

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

    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

  • @zuberkariye2299
    @zuberkariye2299 4 роки тому +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

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

    I like these videos that teach the basics

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

    Please make more 🙏 great job explaining everything

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

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

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

    Please make more linux vids I love them

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

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

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

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

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

    Please make a full Kali Linux guide ❤️

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

    Pls could u do more BASH command line related videos

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

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

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

    Thanks kalle. Make a playlist

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

    What Linux Distro are you using?

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

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

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

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

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

    Been watching your videos later and love them

  • @NathAditya
    @NathAditya 4 роки тому

    Can you share what theme are you using on your terminal please!

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

    May I know which Linux Distro are you using? And are you running it on Virtual Machine? Hope a Reply!!

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

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

  • @jawad9757
    @jawad9757 4 роки тому

    as someone who has been using linux for just over a year, i'm embarrassed to say i didn't know bash had built in autocompletion

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

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

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

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

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

    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.

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

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

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

    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.

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

    Dear Brother, I do have a problem in Ubuntu. I've installed android studio, also in the ide I choose for "Create desktop entry". The icon of android studio will immediately show in applications. But after restart or shutdown the icon of ide will not show?

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

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

  • @minik4041
    @minik4041 4 роки тому

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