Linux Tutorial - Basic Command Line

  Рет қаралды 244,347

Traversy Media

Traversy Media

Күн бұрын

Пікірлер: 157
@karlahnorris3262
@karlahnorris3262 6 жыл бұрын
Brad I love your tutorials! Im working on a BS degree in software dev and your channel is honestly a better resource than most of my professors . Thank you for all that you do!
@karlahnorris3262
@karlahnorris3262 4 жыл бұрын
@Rationalistic I was brand new and you're a troll... move along child.
@mikuculus3720
@mikuculus3720 3 жыл бұрын
@@karlahnorris3262 Did you get your bachelors
@taariqq
@taariqq 6 жыл бұрын
I found a 38 video series on Linux Command Line and I thought Brad must have a concise and to the point tutorial ... and ... here it is. Awesome!
@nitishkhanna9368
@nitishkhanna9368 4 жыл бұрын
Noted down the commands that he went through in this video. Just sharing it here pwd ==> path ls ==> listing ls -a ==> lists all files including hidden file ls -l ==> lists files with info mkdir ==> create directory cd ==> change path cd / ==> goto root cd ~ ==> goto home touch file.txt ==> creates file nano file.txt ==> edit file on cmd line cat file.txt ==> shows what's in file less file.txt ==> show whats in file in new tab (for big files) mv file1 file2 ==> renames file (replaces) cp file1 file2 ==> copies from 1 file to another rm file ==> delete file rmdir dirname ==> delete directory (only umempty dirs) which mongo ==> finds the path of mongo history ==> shows last 500 commands ifconfig ==> shows info (like ipconfig) iwconfig ==> shows wireless info ping google.com ==> pings server uname -a ==> system info blkid ==> hard drive info top ==> process and memory info (like task manager) df ==> disk space info lsusb ==> usb devices sudo apt-get install packagename ==> installs package sudo apt-get remove packagename ==> removes package sudo apt-get update packagename ==> updates package sudo shutdown -h now ==> shut down
@ajimahifeanyi2784
@ajimahifeanyi2784 2 жыл бұрын
Thanks for this Man.
@ajimahifeanyi2784
@ajimahifeanyi2784 2 жыл бұрын
Very thoughtful of you.
@lorenzvader7918
@lorenzvader7918 7 жыл бұрын
5:07 The d stands for directory and not delete. If you can write to a file you can delete it.
@TraversyMedia
@TraversyMedia 7 жыл бұрын
Right, brain fart :(
@TheGryphon14
@TheGryphon14 6 жыл бұрын
"If you can write to a file you can delete it" No you must have *write* and *execute* permissions on its parent folder. The file permissions don't matter.
@ishmeet6
@ishmeet6 7 жыл бұрын
you are the best brad. there are not enough words to describe how good you are at teaching at such simplicity and precision in a short duration. THANK YOU so much.
@heytbnk2023
@heytbnk2023 3 жыл бұрын
I watched your html/css series, looked for a linux command line video, clicked on this one without knowing and BOOM. Traversy Media. Dope. Haha thanks for the great content!
@TroySupermanGentle
@TroySupermanGentle 3 жыл бұрын
Wow, just starting to learn Linux CLI while on furlough and taking a free class through our public library online. The instructor barely digs into Linux CLI and spends most the sessions on Windows CLI, this was leaving me frustrated. The first KZbin video that popped up in my search is this one and what a Gem! Thank you!!!
@squish6912
@squish6912 2 жыл бұрын
having 0 knowledge of tech and completing all of these commands was somehow the most satisfying/rewarding thing ever
@unkown3305
@unkown3305 3 жыл бұрын
hey im french and i was pretty scared to watch an english tutorial and finally yours is 10 times better than french ones
@houseofoddity
@houseofoddity 5 жыл бұрын
This was so well laid out and perfect for any newcomer to the Linux distributions. Very informative and a great stepping stone if you want a no BS, straight to the point tutorial. Great video and I have subscribed. Clearly a well-educated gentleman with perfect delivery of this content. I cannot bitch about anything!! A+ and I look forward to future video's
@houseofoddity
@houseofoddity 4 жыл бұрын
Coke Esto estaba muy bien diseñado y era perfecto para cualquier recién llegado a las distribuciones de Linux. Muy informativo y un gran trampolín si no quieres un BS, tutorial directo al grano. Gran video y me suscribí. Claramente, un caballero bien educado con una entrega perfecta de este contenido. ¡¡No puedo quejarme de nada !! A + y espero con ansias futuros videos
@Leonid_P
@Leonid_P 7 жыл бұрын
Thanks Brad! We need a new crash course - Linux Crash Course :) Please, more about Linux, Vim, VM, SSH on Linux and etc.
@astratow
@astratow 4 жыл бұрын
Yep, vim is very missed command. Or at least vi...
@Esore996
@Esore996 6 жыл бұрын
You got the permissions part for ls -l wrong I think. It's not delineated by the dashes like you indicated, its divided in to letter groups of size 1+3+3+3. The first digit indicates file (-) or directory (d). And the next 3 tuples of rwx indicate what permissions are granted to the user, group, and all. For example -rwxrwxr-x would indicate a file that grants read, write and execute to the user and group, but only read and execute to others.
@faresgeek-dz5692
@faresgeek-dz5692 7 жыл бұрын
you are the best instructur in youtube🤗👏👏
@marthacarson-stevens9888
@marthacarson-stevens9888 4 жыл бұрын
Thanks Brad I’m new to Linux and this really helped me grasp the basics.
@ralph3932
@ralph3932 4 жыл бұрын
very useful tutorial. your voice is unmistakably clear and the instructions were very straightforward!
@Chickennugget-vq6lw
@Chickennugget-vq6lw 2 жыл бұрын
omg thank u so much i was learning this in school today but i was so confused i thought it was so hard but u made it so easy for me to understand thank u so much ... heart heart
@onearth68
@onearth68 5 жыл бұрын
Actually "d" in ls -al command stands for Directory.
@abdulfazul
@abdulfazul 3 жыл бұрын
Brad, just getting into AWS Solutions Architect - your tutorial on Linux basic commands is very helpful.
@jamescarson4507
@jamescarson4507 4 жыл бұрын
Dude I just came across your video it is so helpful... I just put Kelly legs on my laptop a half an hour ago this has been so helpful
@nabeelyousafpasha
@nabeelyousafpasha 4 жыл бұрын
Following you since 2017 👍👍
@rajendrawagle1854
@rajendrawagle1854 7 жыл бұрын
In Windows 10 build 1607 i.e Anniversary Update, Microsoft listened to developers and added support for 'Bash' which runs on Ubuntu and its not a VM or any virtual box, it's the similar concept to WINE but doesn't run GUI based applications and they called it WSL i.e Windows Subsystem for Linux. So you'll probably don't need to install a separate OS for normal development tasks. By the way Windows 'Bash' is created in collaboration with Canonical i.e Ubuntu Developers which uses Ubuntu 14.04. It will be helpful for new developers as well :). Kindly cover it in your next video.
@aviipatel8760
@aviipatel8760 Жыл бұрын
Great,,. Today i learned alot of Basic Things about CLI
@hil449
@hil449 3 жыл бұрын
13:17 actually the which command is not gonna search for any file or directory. It actually only shows the full path for a specific binary executable file that is listed in the PATH environment variable. You can search for multiple of these binaries but it just does that. It only shows what's already inside of the PATH environment variable. It doesn't search for any file in the system
@MianAyazAfzal
@MianAyazAfzal 3 жыл бұрын
Very amazing 😍 thanks a lot for basic info 😉 thumbs up for you 👍😊
@claudebizaare8991
@claudebizaare8991 4 жыл бұрын
My first time on linux and you made it look easy
@isunaslabs4733
@isunaslabs4733 7 жыл бұрын
Dude,ur videos are amazing.Thank you so much.Greetings from China😜
@diggerfdf
@diggerfdf 6 жыл бұрын
Your videos are awesome! Keep up the good work! I guess I work in a similar way. I got a Macbook Pro and It's very annoying to program on it. Linux is far better! So I use all the "normal and mundane" stuff like logic and final cut pro. Everything else goes to my VM with xubuntu. Your videos are helping me to accelerate the process to use ONLY Linux for all. I'm a Brazilian dude. And I can be held back hostage because of apple hardware prices.
@riaznapa
@riaznapa 3 жыл бұрын
Always love your tutorial; precise and useful.
@lanegalambos7645
@lanegalambos7645 2 жыл бұрын
Brad this was an enormous help. Thanks
@TheXiaoCi
@TheXiaoCi 6 жыл бұрын
Let's do a in-depth one!
@Mirauge
@Mirauge 4 жыл бұрын
Was there ever an in depth guide? Please post a link if so. Loved this.
@astratow
@astratow 4 жыл бұрын
Missed commands: vim emacs and keys tab and up arrow key to reuse input or get hints/autocomplete
@_purejosh
@_purejosh 5 жыл бұрын
Starts at @2:45. He spends the beginning defending people calling him a Windows fanboy.
@amirmoezi8316
@amirmoezi8316 3 жыл бұрын
Thanks a million for your invaluable content.. it's just wonderful
@masudurrahman_official
@masudurrahman_official 2 жыл бұрын
Best linux basic video, Thanks !
@aeid101
@aeid101 7 жыл бұрын
Brad, can you share why you prefer web development on a linux machine? What are the advantages over OSX?
@manichowdry547
@manichowdry547 8 ай бұрын
perfect vedio for begineers, loved it
@yomajo
@yomajo 4 жыл бұрын
Hey. Just started using ubuntu for python development. Using vscode, have been digging around internet, but can not find. When project directory is open in vscode and I run in terminal touch .gitignore What the next command to open this newly created file would be?
@John_Ridley
@John_Ridley 2 жыл бұрын
@5:13 d is not delete it's directory. Also you have the grouping wrong. The group can read and execute, and also "everyone else" can read and execute. it's owner=rwx, group=r-x everyone else=r-x
@kitchenspider1539
@kitchenspider1539 4 жыл бұрын
The best Linux distro is the one that works with your hardware. If you want a solid Linux machine for developing, I'd suggest a Thinkpad. Generally, Thinkpads seem to be very compatible with just about any version of Linux. Just my 2 cents.
@oOcitizenOo
@oOcitizenOo 7 жыл бұрын
Sadly, i have never used Linux in my life even regarding the fact i worked as a system administrator :) But willing it improve my skills i decided to take a Linux course on Udacity, and here is your video. Coincidence? Don't think so.
@TraversyMedia
@TraversyMedia 7 жыл бұрын
Hey some people just do not get around to certain technologies. Like for me, I am a web developer and I have only used a mac a handful of times. That is also kind of weird. Ive always been interested in building powerful gaming PCs and that whole world so I never had a mac. I built all my machines
@oOcitizenOo
@oOcitizenOo 7 жыл бұрын
I see your point :) Speaking about Mac - for an average citizen it's not affordable in my country since it costs as hell, but i know people working with virtual Mac machines in order to have a bit of understanding it. All i wanna i say is that even though we have our main jobs it's ok to learn something new - so i'm a junior web developer but still wanna grow in networking engineering field (in case the whole dev community ruins :D) Thnx for all your videos, they're really helpful!
@mayaali55
@mayaali55 7 жыл бұрын
oOcitizenOo
@Doorsfan13
@Doorsfan13 3 жыл бұрын
Awesome tutorial! I have Debian 11 on a chromebook in Linux Beta, and I have basically no idea how to use any of it but I'm trying to learn. The nano command was not found when I tried it, is there an alternative? Or a reason that this wasn't working?
@ddddaaddaaaa
@ddddaaddaaaa 5 жыл бұрын
this one is very useful! will this work on CentOS?
@shadmansoumik9535
@shadmansoumik9535 4 жыл бұрын
A wonderful to the point Video, Sir. One thing, Does not "which" command shows only the path of Executable Files? Thank you.
@nabeelyousafpasha
@nabeelyousafpasha 4 жыл бұрын
Respect from Pakistan. Thanks 🙏
@Jel.Awesh.M
@Jel.Awesh.M 6 жыл бұрын
What do you think about Arch Linux (or similar like Antergos / Manjaro)?
@RameshKumar-mv3jd
@RameshKumar-mv3jd 3 жыл бұрын
Awesome primer, thank you! I think "which" only searches for executable files, please correct me if I'm wrong.
@piyush9555
@piyush9555 4 жыл бұрын
Starts at 02:52
@suyashgupta4019
@suyashgupta4019 7 жыл бұрын
Is there any way to play around with non-.txt files using terminal? I mean, what output can we expect if we use the cat command? Brilliant tutorial,though.
@beefypeanuts3321
@beefypeanuts3321 3 жыл бұрын
Really helpful thanks Brad, earned a sub
@tanveertouhid9483
@tanveertouhid9483 4 жыл бұрын
do you recomand download any application for Mac to learn Basic Terminal
@jonnjordan4420
@jonnjordan4420 7 жыл бұрын
Another great tutorial Brad, could you make a tutorial about MERN Stack? It would be great
@codingschool1496
@codingschool1496 2 жыл бұрын
i love it so much bro. u just saved my ass. but one question what passcode did u use in sudo
@JC-wv9ss
@JC-wv9ss 4 жыл бұрын
Hey brad! Near the end of the video you show how to get an update. When you do it it doesn't allow you to do it without using 'sudo' and when you use 'sudo' it asks for your password. For me, when I use 'sudo apt-get update' it goes through without requesting a password. What does that mean? Am I already the root user? Should I be?
@Upliftment7
@Upliftment7 3 жыл бұрын
Did you log in as the root user? if you had created an user with root privileges, it should have requested you the password normally
@cochemas
@cochemas 7 жыл бұрын
At the beginning of the video, you are talking about a Linux based recording solution as an alternative for Windows based Camtasia. What kind of software is that? Sorry, if I missed smth. And if that's not a secret))
@TraversyMedia
@TraversyMedia 7 жыл бұрын
Screen recording and video processing. I have tried Kazam, OBS, Screenrecorder and some others but they were either buggy, slow or couldn't do what I need
@cochemas
@cochemas 7 жыл бұрын
+Traversy Media Oh, I got it. I'll have those onto my blacklist in order not to waste time messing around with them. Your opinion based on experience is very welcome. Thnx
@pramoddp9591
@pramoddp9591 7 жыл бұрын
very useful information for beginners...tysm
@carletonai6597
@carletonai6597 3 жыл бұрын
The command "ifconfig" does not work on my windows subsystem for Linux. what is the problem?
@100salonichoudhary
@100salonichoudhary 5 жыл бұрын
What is the command of a text file having 100 lines, you need to display line number 40 to 60 in linux?
@jnwte
@jnwte 5 жыл бұрын
sed -n '40,60p'
@chavezellis1253
@chavezellis1253 5 жыл бұрын
2:50 to skip past the long intro monologue
@iamaloafofbread8926
@iamaloafofbread8926 4 жыл бұрын
Ty have a loaf of bread *hands you a loaf of bread* 🍞
@DenzelHooke
@DenzelHooke 3 жыл бұрын
Great one Brad!
@muralidharan5348
@muralidharan5348 3 жыл бұрын
I have folders named exp1, exp2, ......exp99. I need to remove "exp" from those names. The encypted scripts work only when the folders are "1, 2, 3 .....99: . Can someone please help me with that? Thanks in advance!
@nicholasjoiles8999
@nicholasjoiles8999 2 жыл бұрын
good content Brad. thanks
@hamilton2861
@hamilton2861 2 жыл бұрын
Thanks for this have a test on Linux cmd tomorrow morning and my virtual machine chose yesterday to somehow lose its files needed to run or something even if I uninstall and reinstall idk what's wrong but even using other apps Ubuntu crashes
@kynan9465
@kynan9465 2 жыл бұрын
Did you pass?
@Lana-rx6qe
@Lana-rx6qe 4 жыл бұрын
very good video. good explanation! Thank you
@rahulsriram6295
@rahulsriram6295 5 жыл бұрын
will all these work if i use Ubuntu on Windows 10 as subsystem?
@chrissabre1761
@chrissabre1761 5 жыл бұрын
you can download it into virtual box, Ubuntu or centos
@anjanashamika3269
@anjanashamika3269 2 жыл бұрын
first d is for directories no?
@don23817
@don23817 7 жыл бұрын
Please show us how to make application with electron.
@MoChev20
@MoChev20 3 жыл бұрын
Awesome man great video.
@lightsnsiren79
@lightsnsiren79 3 жыл бұрын
Thanks. Thumbs up, but the 3 minutes of intro describing reasons for linux vs windows seemed to be a bit of a digression...
@RB-cx3ce
@RB-cx3ce 2 жыл бұрын
Thank you thank you thank you thank you thank you thank you thank you. a million times thank you. 🙂
@Dr0ctober
@Dr0ctober 6 жыл бұрын
2:00 in to a twenty minute video the lesson actually starts cause he has to respond to haters.
@ZenIsBestWolf
@ZenIsBestWolf 6 жыл бұрын
Thanks so much! This is super helpful.
@rahj1365
@rahj1365 2 жыл бұрын
Finally clear English!!
@IamTiernO
@IamTiernO 7 жыл бұрын
When I try and intall ubuntu on a VM it runs really slow
@TraversyMedia
@TraversyMedia 7 жыл бұрын
How much memory are you assigning the VM? You may want to try assigning more and maybe bump up the CPU cores to 2 if possible. Try with and without 3d acceleration too (VM settings)
@IamTiernO
@IamTiernO 7 жыл бұрын
Traversy Media I'm new to all this haha I allocated 2gb of ram and 8gb hard drive space , I'll try the other things tho thanks
@TraversyMedia
@TraversyMedia 7 жыл бұрын
how much RAM on your computer total? Also, check in your BIOS settings and see if there are any options for virtualization
@IamTiernO
@IamTiernO 7 жыл бұрын
Traversy Media there is 8gb on my system and yes virtualization is enabled :)
@haydarhilly6387
@haydarhilly6387 2 жыл бұрын
thanks. that was very useful.
@balli5824
@balli5824 7 жыл бұрын
sir pls make tutorial on electron. thanks.
@fakfatkids1812
@fakfatkids1812 3 жыл бұрын
Brad i love you, thanks.
@chookiatj.8766
@chookiatj.8766 7 жыл бұрын
Will this OBS , obsproject.com/ , work for you?
@naumansafdar6821
@naumansafdar6821 3 жыл бұрын
Sir very nice video
@muldurksk
@muldurksk 5 жыл бұрын
This guy is so cool and awesome!!!
@umerchohan3468
@umerchohan3468 5 жыл бұрын
chmod command missing
@bjarkijonsson8899
@bjarkijonsson8899 4 жыл бұрын
ls command isnt working for me
@sagar-gavhane
@sagar-gavhane 7 жыл бұрын
Great tutorial...
@danielstoicamusic
@danielstoicamusic 6 жыл бұрын
WTF are you doing with 6 monitors? :D
@alexyogendran196
@alexyogendran196 5 жыл бұрын
Maybe bitcoins
@bitterlemonboy
@bitterlemonboy 2 жыл бұрын
@@alexyogendran196 Yes, having more monitors will speed up your bitcoin mining. RGB is important too, for performance.
@aliizzetmetin6382
@aliizzetmetin6382 4 жыл бұрын
getting deeper into the Matrix....
@shreyazore4384
@shreyazore4384 2 жыл бұрын
Thanks alot its just awesome
@zzRider
@zzRider 7 жыл бұрын
Great job!
@amerikanstafford
@amerikanstafford 2 жыл бұрын
Linux is fine. The only bad thing is that it doesn't support all languages like Windows has.That's why many people don't use it.
@isharaperera419
@isharaperera419 3 жыл бұрын
Thanks brad!
@rayamoooooo685
@rayamoooooo685 4 жыл бұрын
Thank you ! 🧚🏽‍♀️
@harshithn4582
@harshithn4582 4 жыл бұрын
Thanks
@benstone5650
@benstone5650 3 жыл бұрын
'D' is directory
@olixz
@olixz 5 жыл бұрын
Thank you Sir!
@spot1401
@spot1401 7 жыл бұрын
Thumb up for 6 monitors
@fredbcruz
@fredbcruz 3 жыл бұрын
Thank you
@hamidmohamadi2943
@hamidmohamadi2943 4 жыл бұрын
I like you brad, thanks
@directtoanne
@directtoanne 3 жыл бұрын
THANK YOU BRAD
@fricco83
@fricco83 7 жыл бұрын
Is the time at the top right corner on Ubuntu desktop correct? If so - oh my God, you wake up early ;-)
@TraversyMedia
@TraversyMedia 7 жыл бұрын
lol, its actually pacific time. Im in Boston so its 3 hours behind. I do get up at 5am but I don't start working then
@Madjidbr
@Madjidbr 5 жыл бұрын
Thanks dude.
@templeosdisciple3299
@templeosdisciple3299 2 жыл бұрын
Now I know why he say "d" stand for delete at kzbin.info/www/bejne/mXPSnK1mgbmcsM0. may be he is an emacs user and in dired-mode if you delete a file it prepend "D" to the line corresponding to the file to be delete!
@haidermalik5947
@haidermalik5947 7 жыл бұрын
Why dont you try Mac OSx ?
@TraversyMedia
@TraversyMedia 7 жыл бұрын
I do use OSx in a VM sometimes but it runs really slow. I am actually thinking about getting an iMac because I do like it, I just never had a mac. So no reason other than that
@haidermalik5947
@haidermalik5947 7 жыл бұрын
Ok got it. I am still using Mac for web development. It is working very good for me.I got many issues while working on Node.js in windows platform. That's why I switched to Mac. :)
@rajendrawagle1854
@rajendrawagle1854 7 жыл бұрын
Try WSL i.e Windows Subsystem for Linux :). I just loved it. Though it's my own personal opinion. @Brad, can you cover it in your next video? It would be gr8.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4,2 МЛН
Beginner's Guide to the Bash Terminal
1:14:37
Joe Collins (EzeeLinux)
Рет қаралды 2,3 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Shell Scripting Crash Course - Beginner Level
32:19
Traversy Media
Рет қаралды 750 М.
Beginner's Guide To The Linux Terminal
42:27
DistroTube
Рет қаралды 407 М.
SSH Crash Course | With Some DevOps
55:02
Traversy Media
Рет қаралды 556 М.
10 Linux Terminal Commands for Beginners
13:57
Gary Explains
Рет қаралды 188 М.
Linux Tip | 10 Useful Linux Commands
34:35
Joe Collins (EzeeLinux)
Рет қаралды 663 М.
15 Useful Linux Commands Every Linux User Needs | Learning Terminal Part 1
17:44
Introduction to Linux and Basic Linux Commands for Beginners
18:46
sakitech
Рет қаралды 3,9 МЛН
Linux for Ethical Hackers (Kali Linux Tutorial)
2:01:00
freeCodeCamp.org
Рет қаралды 6 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН