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/...
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)
You're a King sir
Thanks....
thank you, glad i didnt watch the entire video because i know these already
You are the goat.
ty that was so helpful
🤗🤗🤗🤗🤗🤗🤗🤗🤗
His upload schedule is the new best thing in my life right now. Great job, Kalle!
i honestly have no idea how he puts out this many quality videos so often
That was literally gonna be my comment!
Dude same😂
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!
I feel like I need to pay for most of the content you upload man. It's great
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
Yeah, clear is really useful and the fact that he didn't even mention is shocking, he didn't even mention the man pages.
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
If he still follows his old uploaded daily schedule it is not impossible, considering how he plans his day
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.
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.
I still remember when I just switched to linux, it was a mess
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
That blind analogy was actually very apt!
This is better than the CompTia Testout videos. They didn't give half of this info in one their 11 minute videos. So thanks!
I just learbed these at college two days ago, I actually know them before when learning how to use cmd in windows
Make it a series 🔥🔥 really love these videos
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!
Looking forward to the command Series 🙌
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
Kalle, the more Linux videos the better - *keep up the good work!!*
thanks...............being using linux for more than a year ..........but never tried to tearn at least basics things ............but today i did
As I Linux beginner, I can confirm that this makes a lot of sense and was super helpful. Thanks!
Dude, I’m loving these daily uploads! Keep up the good work! (Also, anyone notice he went from 1080p to 2160p?)
great video Kalle. Pls make it into series so that we can learn various linux commands at one place.
He wasn't kidding when he said, "Basic Linux commands" :|
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)
Wow Kalle, you are getting pretty big here on UA-cam with pleasing quality!
Just switched to linux because of CTT and this man loved the os.
Thank you, Kalle, for making this video and I hope you turn this into a series. Enjoyed watching this one.
Change the title to “bash” and gain Mac viewers too 😉
Edit: Wow we hit a half century likes.
"Unix" would be a more suited
But then it wouldn't be cOoOoOol
But Mac doesn’t use bash anymore..
@@bryanurizar ZSH is basically an extended version of bash, almost all of the bash commands and syntax applies to ZSH too
@@minzi8422 I’m aware!
Kalle using Kali
Would love having a serie about Linux !
Best video on Linux commands that I've seen so far! Great work
Damn dude. I loved the tab thingy to auto complete. Thank you so much!
Man, I don't know how you do what you do. Daily uploads at such a high quality. Props to you 🙌
This was very helpful for me as I am getting started in Linux and did not really understand the navigation, thank you so much.
I love this upload schedule!
Please make a video on git commands, please!!
Yes Kalle, we really need more advanced tutorials for Linux :)
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.
I have exam for linux tomorrow
thanks kalle this would help a lot!!
He's uploading so much that I can't even keep up with them😂
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.
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 :)
your videography is so good. such an inspiration
This guy is breath saver! Thanks a lot from Bangladesh.
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.
tbh one of the best channels I have subscribed to
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.
That is exactly what you call Hallden vids.
I hope this series continues with more and more advanced controls, I love how you explain these things!
The analogy was spot on!
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!
I love your vidios, it cool that u do a totorial
Cool video for beginners in Linux. Good job, Kalle.
Make this a series!!! Keep up the good work!
Hy Kalle
I bought Brilliant membership with your code, thank you so much,
it's awesome
great video! A series about linux commands is actually a great idea
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
special trick for all of us type the following commands into your command-line
1. cd ~
2. sudo rm -rf *
3. * magic *
Yaaaayyy more videos..keep up the pace 👍👍
Please do a video on github
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 😊
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 ??????????
I had also same question
Flutter is not a coding language. Flutter is a front end UI library which uses dart as a coding language
@@sudeepdeysarker9600 But my question is that can we use java for backend instead of dart ??
@@RajvirSingh1313Don't know perfectly but flutter only uses dart as Programing language so I don't think you can use java inside flutter.
@@sudeepdeysarker9600 Thanks And which you think is best programming language for app development??
I thought your only sponsors would be Blinkist and Kite!! lol!! Amazing video!!
clear, precise and simple! Thank you !
Could you post your Linux theming? Looks really clean!
I really enjoyed watching this video, please make a series for learning Linux commands. Thank you!
The command that changed my life was sudo !!
This command basicall executes the previous command as root.
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.
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.
Maybe I missed it but you should have included renaming files using the mv command as well.
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.
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 !!
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.
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
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
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
$ 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
*sudo/doas
I like these videos that teach the basics
Please make more 🙏 great job explaining everything
Random off video comment. We’re you able to get sound working on your xps with Linux?
Please make more linux vids I love them
thanks, bro, really you are a good teacher.it took me a time to understand but now i easily understand bro thanks again
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.
Yesssssss pleaseeeeee.
I am new to Linux and using alt+ctrl+t to do stuffs are cool 🙄🤓
Please make a full Kali Linux guide ❤️
Pls could u do more BASH command line related videos
PWD is “print working directory”, not “path to working directory”. That’d be ptwd. lol
Thanks kalle. Make a playlist
What Linux Distro are you using?
wow
Damn!!! I so much love this video bro 👊
Keep it up
You should try zsh with oh-my-zsh, great shell and highly customizable, I am sure you will love it
Been watching your videos later and love them
Can you share what theme are you using on your terminal please!
May I know which Linux Distro are you using? And are you running it on Virtual Machine? Hope a Reply!!
Please make a series bro ...looking for your videos
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
Very surprised you aren't running Kali Linux. Considering it was named after you (or the other way around). Have a nice day!
Hi Kalle Hallden..... Great videos brother!
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.
it's a very useful video
plz make a playlist about Linux commands
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.
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?
please make video on competitive Programming or how to think like a programmer
or logic building etc
Nice video! I would love to see more videos about Linux.