Linux Commands You Need To Know

Sdílet
Vložit
  • čas přidán 6. 09. 2024

Komentáře • 251

  • @1cannon3
    @1cannon3 Před 3 lety +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 Před 3 lety +5

      You're a King sir

    • @Firoz900
      @Firoz900 Před 3 lety

      Thanks....

    • @CodeDisease
      @CodeDisease Před 3 lety +2

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

    • @evanspierre1468
      @evanspierre1468 Před 2 lety

      You are the goat.

  • @kungpaochick8557
    @kungpaochick8557 Před 3 lety +134

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

    • @OurPastSecrets
      @OurPastSecrets Před 3 lety +3

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

    • @axvex595
      @axvex595 Před 3 lety +1

      That was literally gonna be my comment!

    • @elleollanas
      @elleollanas Před 3 lety +2

      Dude same😂

  • @charliesta.abc123
    @charliesta.abc123 Před 3 lety +13

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

  • @metastag
    @metastag Před 3 lety +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 Před 3 lety

      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 Před 3 lety +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 Před 3 lety +1

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

  • @nikospap29
    @nikospap29 Před 3 lety +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!

  • @Spenito
    @Spenito Před 3 lety +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.

  • @Luminiferous2049
    @Luminiferous2049 Před 3 lety

    That blind analogy was actually very apt!

  • @Babblingbrooke101
    @Babblingbrooke101 Před 5 měsíci

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

  • @Reshyurem
    @Reshyurem Před 3 lety +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 Před 3 lety

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

  • @RaviKumar-zb8bl
    @RaviKumar-zb8bl Před 2 lety

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

  • @Scarz733
    @Scarz733 Před 2 lety

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

  • @bassam_salim
    @bassam_salim Před 3 lety +1

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

  • @MohdSameer-so9bt
    @MohdSameer-so9bt Před 3 lety +1

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

  • @sameersharma7577
    @sameersharma7577 Před rokem

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

  • @smooth8991
    @smooth8991 Před 3 lety +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

  • @mahadevananair2481
    @mahadevananair2481 Před 3 lety +4

    Make it a series 🔥🔥 really love these videos

  • @zuberkariye2299
    @zuberkariye2299 Před 3 lety

    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

  • @bradyredding1964
    @bradyredding1964 Před 3 lety +1

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

  • @Spectraevil
    @Spectraevil Před 3 lety +4

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

  • @devamruthag5643
    @devamruthag5643 Před 3 lety +1

    Looking forward to the command Series 🙌

  • @aleecpx
    @aleecpx Před 3 lety

    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.

  • @noah77
    @noah77 Před 3 lety +2

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

  • @shasantv
    @shasantv Před 3 lety

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

  • @bigdaddyrazor
    @bigdaddyrazor Před 3 lety

    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!

  • @jonnito6175
    @jonnito6175 Před 3 lety +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)

  • @fu4422
    @fu4422 Před 3 lety +2

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

  • @abusufianshanto6185
    @abusufianshanto6185 Před 2 lety

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

  • @ajaywagaskar4705
    @ajaywagaskar4705 Před 3 lety +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.

  • @amralifts
    @amralifts Před 3 lety

    That is exactly what you call Hallden vids.

  • @Mattia5N3A
    @Mattia5N3A Před 3 lety

    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.

  • @aryanm.180
    @aryanm.180 Před 3 lety +8

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

  • @THINKNATURE
    @THINKNATURE Před 3 lety +1

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

  • @vinayakshah2892
    @vinayakshah2892 Před 3 lety

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

  • @AntonFlusten
    @AntonFlusten Před 3 lety +2

    Would love having a serie about Linux !

  • @user-hj2un8rl2q
    @user-hj2un8rl2q Před 3 lety

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

  • @SinanAkkoyun
    @SinanAkkoyun Před 3 lety

    Wow Kalle, you are getting pretty big here on CZcams with pleasing quality!

  • @Synthwave89
    @Synthwave89 Před 3 lety

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

  • @domenicodironza2794
    @domenicodironza2794 Před 3 lety

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

  • @sergeygr
    @sergeygr Před 3 lety

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

  • @wojwesoly
    @wojwesoly Před 3 lety +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.

  • @sudhamajayanthi
    @sudhamajayanthi Před 3 lety +56

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

    • @minzi8422
      @minzi8422 Před 3 lety +10

      "Unix" would be a more suited

    • @thedeegan
      @thedeegan Před 3 lety

      But then it wouldn't be cOoOoOol

    • @bryanurizar
      @bryanurizar Před 3 lety +1

      But Mac doesn’t use bash anymore..

    • @minzi8422
      @minzi8422 Před 3 lety +1

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

    • @bryanurizar
      @bryanurizar Před 3 lety

      @@minzi8422 I’m aware!

  • @dewanshchaudhari5134
    @dewanshchaudhari5134 Před 3 lety

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

  • @cyberdash
    @cyberdash Před 3 lety +1

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

  • @thecomedian4136
    @thecomedian4136 Před 3 lety

    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!

  • @igbinosuneric
    @igbinosuneric Před 3 lety

    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.

  • @ladydexx9264
    @ladydexx9264 Před 3 lety

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

  • @christopherbozovich1934

    The analogy was spot on!

  • @SlazeM7
    @SlazeM7 Před 3 lety

    tbh one of the best channels I have subscribed to

  • @JailBreaker
    @JailBreaker Před 3 lety

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

  • @najib21mhd3
    @najib21mhd3 Před 2 lety

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

  • @zecko9534
    @zecko9534 Před 3 lety +2

    Pls could u do more BASH command line related videos

  • @lamb8086
    @lamb8086 Před 3 lety

    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

  • @andyrays
    @andyrays Před 3 lety

    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.

  • @SuperMarkusparkus
    @SuperMarkusparkus Před 3 lety

    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.

  • @jawad9757
    @jawad9757 Před 3 lety

    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

  • @annaa2732
    @annaa2732 Před rokem

    clear, precise and simple! Thank you !

  • @vasilyfotin2409
    @vasilyfotin2409 Před 3 lety

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

  • @RajvirSingh1313
    @RajvirSingh1313 Před 3 lety +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 Před 3 lety

      I had also same question

    • @sudeepdeysarker9600
      @sudeepdeysarker9600 Před 3 lety

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

    • @RajvirSingh1313
      @RajvirSingh1313 Před 3 lety

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

    • @sudeepdeysarker9600
      @sudeepdeysarker9600 Před 3 lety

      @@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 Před 3 lety

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

  • @AirmanKolberg
    @AirmanKolberg Před 3 lety +17

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

  • @zuberkariye2299
    @zuberkariye2299 Před 3 lety +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

  • @SaiKrishna-wl1ql
    @SaiKrishna-wl1ql Před 3 lety

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

  • @abhaytiwari6411
    @abhaytiwari6411 Před 3 lety

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

  • @aydenzhu5938
    @aydenzhu5938 Před 3 lety

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

  • @asafsarusi6159
    @asafsarusi6159 Před 3 lety +1

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

  • @abujihadsalahudin
    @abujihadsalahudin Před 2 lety

    Please make more 🙏 great job explaining everything

  • @mehregankbi
    @mehregankbi Před 3 lety

    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

  • @benwatkinson2021
    @benwatkinson2021 Před 3 lety +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 Před 3 lety +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

  • @reezzrex0690
    @reezzrex0690 Před 3 lety

    Please make a full Kali Linux guide ❤️

  • @liffaenxd
    @liffaenxd Před 3 lety

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

  • @mahmoudeisa5695
    @mahmoudeisa5695 Před 3 lety

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

  • @nathanquan1876
    @nathanquan1876 Před 3 lety

    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

  • @rdoetjes
    @rdoetjes Před 3 lety

    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.

  • @jorgeediazs3468
    @jorgeediazs3468 Před rokem

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

  • @anirudh513
    @anirudh513 Před 3 lety

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

  • @shivamsingh7389
    @shivamsingh7389 Před 3 lety

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

  • @OurPastSecrets
    @OurPastSecrets Před 3 lety

    your videography is so good. such an inspiration

  • @elijahtache1535
    @elijahtache1535 Před 3 lety

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

  • @daner650
    @daner650 Před 3 lety

    I like these videos that teach the basics

  • @mikededo9100
    @mikededo9100 Před 3 lety

    Could you post your Linux theming? Looks really clean!

  • @fahadibnatuhinofficial4555

    Thanks kalle. Make a playlist

  • @Mrfrancy995
    @Mrfrancy995 Před 3 lety

    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 😊

  • @tsivinsky
    @tsivinsky Před 3 lety

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

  • @will00451
    @will00451 Před 3 lety

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

  • @elgatito00
    @elgatito00 Před 3 lety +1

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

  • @Techtips200
    @Techtips200 Před 3 lety

    How to create users wrt to access management. Like 1 user with root access ,2 with read and write access and 3 with only read access.

  • @christianchapman1278
    @christianchapman1278 Před 3 lety

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

  • @adegokevictor8242
    @adegokevictor8242 Před 3 lety

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

  • @bala.dhinesh
    @bala.dhinesh Před 3 lety +1

    What Linux Distro are you using?

  • @mrri5155
    @mrri5155 Před 3 lety

    i am not user linux, but maybe this video can increase my knowledge :)

  • @jarifahmed6365
    @jarifahmed6365 Před 3 lety

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

  • @RzariRzari
    @RzariRzari Před 3 lety

    Music at the start sounds as if you wanted to make epic backflip

  • @kedarshinde4216
    @kedarshinde4216 Před 3 lety

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

  • @darkbyteproductions952

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

  • @simsonison
    @simsonison Před 3 lety

    now 8 linux commands if your not a total beginner anymore .. would be helpful ;) lg

  • @arrtemfly
    @arrtemfly Před 3 lety

    also don't forget the -h, -?, --help and similar flags for the commands and "man [name of command]"

  • @Alexander-vo4gv
    @Alexander-vo4gv Před 3 lety

    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.

  • @aer0449
    @aer0449 Před 3 lety +1

    Please make more linux vids I love them

  • @jxson7_
    @jxson7_ Před 3 lety

    Been watching your videos later and love them

  • @narcisakaparapet
    @narcisakaparapet Před 3 lety +1

    find is useful too