Linux Tutorial - Basic Command Line

  Рет қаралды 237,090

Traversy Media

Traversy Media

Күн бұрын

This video is for absolute beginners. I will show you how to navigate your system in Linux/Unix. For this video we are using Linux Ubuntu 16.04.
Visit www.traversymedia.com for more tutorials

Пікірлер: 158
@taariqq
@taariqq 5 жыл бұрын
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!
@karlahnorris3262
@karlahnorris3262 5 жыл бұрын
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 3 жыл бұрын
@Rationalistic I was brand new and you're a troll... move along child.
@mikuculus3720
@mikuculus3720 3 жыл бұрын
@@karlahnorris3262 Did you get your bachelors
@ishmeet6
@ishmeet6 6 жыл бұрын
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.
@marthacarson-stevens9888
@marthacarson-stevens9888 3 жыл бұрын
Thanks Brad I’m new to Linux and this really helped me grasp the basics.
@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!!!
@ralph3932
@ralph3932 3 жыл бұрын
very useful tutorial. your voice is unmistakably clear and the instructions were very straightforward!
@nitishkhanna9368
@nitishkhanna9368 3 жыл бұрын
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 Жыл бұрын
Thanks for this Man.
@ajimahifeanyi2784
@ajimahifeanyi2784 Жыл бұрын
Very thoughtful of you.
@heytbnk2023
@heytbnk2023 2 жыл бұрын
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!
@riaznapa
@riaznapa 3 жыл бұрын
Always love your tutorial; precise and useful.
@houseofoddity2031
@houseofoddity2031 4 жыл бұрын
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
@houseofoddity2031
@houseofoddity2031 3 жыл бұрын
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
@jamescarson4507
@jamescarson4507 3 жыл бұрын
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
@abdulfazul
@abdulfazul 2 жыл бұрын
Brad, just getting into AWS Solutions Architect - your tutorial on Linux basic commands is very helpful.
@dungeoncrawler2011
@dungeoncrawler2011 2 жыл бұрын
Great video my doode. Currently taking Linux 1 through Netcad and now I feel confident to work ahead
@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 3 жыл бұрын
Yep, vim is very missed command. Or at least vi...
@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.
@squish6912
@squish6912 Жыл бұрын
having 0 knowledge of tech and completing all of these commands was somehow the most satisfying/rewarding thing ever
@claudebizaare8991
@claudebizaare8991 3 жыл бұрын
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😜
@Esore996
@Esore996 5 жыл бұрын
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🤗👏👏
@nabeelyousafpasha
@nabeelyousafpasha 4 жыл бұрын
Following you since 2017 👍👍
@diggerfdf
@diggerfdf 5 жыл бұрын
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.
@unkown3305
@unkown3305 2 жыл бұрын
hey im french and i was pretty scared to watch an english tutorial and finally yours is 10 times better than french ones
@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.
@amirmoezi8316
@amirmoezi8316 2 жыл бұрын
Thanks a million for your invaluable content.. it's just wonderful
@aviipatel8760
@aviipatel8760 6 ай бұрын
Great,,. Today i learned alot of Basic Things about CLI
@Chickennugget-vq6lw
@Chickennugget-vq6lw Жыл бұрын
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
@MianAyazAfzal
@MianAyazAfzal 2 жыл бұрын
Very amazing 😍 thanks a lot for basic info 😉 thumbs up for you 👍😊
@jonnjordan4420
@jonnjordan4420 7 жыл бұрын
Another great tutorial Brad, could you make a tutorial about MERN Stack? It would be great
@lanegalambos7645
@lanegalambos7645 Жыл бұрын
Brad this was an enormous help. Thanks
@hil449
@hil449 2 жыл бұрын
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
@masudurrahman125
@masudurrahman125 Жыл бұрын
Best linux basic video, Thanks !
@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.
@beefypeanuts3321
@beefypeanuts3321 2 жыл бұрын
Really helpful thanks Brad, earned a sub
@Jel.Awesh.M
@Jel.Awesh.M 5 жыл бұрын
What do you think about Arch Linux (or similar like Antergos / Manjaro)?
@aeid101
@aeid101 6 жыл бұрын
Brad, can you share why you prefer web development on a linux machine? What are the advantages over OSX?
@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.
@ZenIsBestWolf
@ZenIsBestWolf 5 жыл бұрын
Thanks so much! This is super helpful.
@Doorsfan13
@Doorsfan13 2 жыл бұрын
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?
@onearth68
@onearth68 5 жыл бұрын
Actually "d" in ls -al command stands for Directory.
@astratow
@astratow 3 жыл бұрын
Missed commands: vim emacs and keys tab and up arrow key to reuse input or get hints/autocomplete
@pramoddp9591
@pramoddp9591 7 жыл бұрын
very useful information for beginners...tysm
@ddddaaddaaaa
@ddddaaddaaaa 4 жыл бұрын
this one is very useful! will this work on CentOS?
@RameshKumar-mv3jd
@RameshKumar-mv3jd 2 жыл бұрын
Awesome primer, thank you! I think "which" only searches for executable files, please correct me if I'm wrong.
@nabeelyousafpasha
@nabeelyousafpasha 4 жыл бұрын
Respect from Pakistan. Thanks 🙏
@Lana-rx6qe
@Lana-rx6qe 3 жыл бұрын
very good video. good explanation! Thank you
@yomajo
@yomajo 3 жыл бұрын
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?
@kitchenspider1539
@kitchenspider1539 3 жыл бұрын
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.
@tanveertouhid9483
@tanveertouhid9483 3 жыл бұрын
do you recomand download any application for Mac to learn Basic Terminal
@DenzelHooke
@DenzelHooke 2 жыл бұрын
Great one Brad!
@balli5824
@balli5824 7 жыл бұрын
sir pls make tutorial on electron. thanks.
@TheXiaoCi
@TheXiaoCi 6 жыл бұрын
Let's do a in-depth one!
@Mirauge
@Mirauge 3 жыл бұрын
Was there ever an in depth guide? Please post a link if so. Loved this.
@codingschool1496
@codingschool1496 Жыл бұрын
i love it so much bro. u just saved my ass. but one question what passcode did u use in sudo
@RB-cx3ce
@RB-cx3ce Жыл бұрын
Thank you thank you thank you thank you thank you thank you thank you. a million times thank you. 🙂
@MoChev20
@MoChev20 2 жыл бұрын
Awesome man great video.
@nicholasjoiles8999
@nicholasjoiles8999 Жыл бұрын
good content Brad. thanks
@muldurksk
@muldurksk 4 жыл бұрын
This guy is so cool and awesome!!!
@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
@fakfatkids1812
@fakfatkids1812 2 жыл бұрын
Brad i love you, thanks.
@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
@shreyazore4384
@shreyazore4384 Жыл бұрын
Thanks alot its just awesome
@olixz
@olixz 4 жыл бұрын
Thank you Sir!
@supermario6654
@supermario6654 3 жыл бұрын
Awesome tutoiral !
@sagar-gavhane
@sagar-gavhane 6 жыл бұрын
Great tutorial...
@carletonai6597
@carletonai6597 3 жыл бұрын
The command "ifconfig" does not work on my windows subsystem for Linux. what is the problem?
@don23817
@don23817 7 жыл бұрын
Please show us how to make application with electron.
@rayamoooooo685
@rayamoooooo685 3 жыл бұрын
Thank you ! 🧚🏽‍♀️
@haydarhilly6387
@haydarhilly6387 Жыл бұрын
thanks. that was very useful.
@100salonichoudhary
@100salonichoudhary 4 жыл бұрын
What is the command of a text file having 100 lines, you need to display line number 40 to 60 in linux?
@jnwte
@jnwte 4 жыл бұрын
sed -n '40,60p'
@zzRider
@zzRider 6 жыл бұрын
Great job!
@JC-wv9ss
@JC-wv9ss 3 жыл бұрын
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?
@vivonschristtv1
@vivonschristtv1 2 жыл бұрын
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
@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?
@user-te6td6dz9f
@user-te6td6dz9f 8 ай бұрын
Thanks
@anjanashamika3269
@anjanashamika3269 Жыл бұрын
first d is for directories no?
@muralidharan5348
@muralidharan5348 2 жыл бұрын
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!
@2Clean4This1
@2Clean4This1 4 жыл бұрын
Thanks, Like + Comment!
@directtoanne
@directtoanne 3 жыл бұрын
THANK YOU BRAD
@isharaperera419
@isharaperera419 3 жыл бұрын
Thanks brad!
@naumansafdar6821
@naumansafdar6821 3 жыл бұрын
Sir very nice video
@lightsnsiren79
@lightsnsiren79 2 жыл бұрын
Thanks. Thumbs up, but the 3 minutes of intro describing reasons for linux vs windows seemed to be a bit of a digression...
@Madjidbr
@Madjidbr 4 жыл бұрын
Thanks dude.
@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
@John_Ridley
@John_Ridley Жыл бұрын
@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
@benzeltser9851
@benzeltser9851 2 жыл бұрын
AMAZING!
@rahj1365
@rahj1365 Жыл бұрын
Finally clear English!!
@hamidmohamadi2943
@hamidmohamadi2943 3 жыл бұрын
I like you brad, thanks
@chookiatj.8766
@chookiatj.8766 7 жыл бұрын
Will this OBS , obsproject.com/ , work for you?
@assadzakir5819
@assadzakir5819 7 жыл бұрын
Awesome :)
@prajwalm.s7976
@prajwalm.s7976 Жыл бұрын
Amazing
@scottpaulsen1400
@scottpaulsen1400 Жыл бұрын
Thank you
@jpro2222
@jpro2222 3 жыл бұрын
Thanks dawg
@piyush9555
@piyush9555 3 жыл бұрын
Starts at 02:52
@aliizzetmetin6382
@aliizzetmetin6382 4 жыл бұрын
getting deeper into the Matrix....
@adeltahenti1330
@adeltahenti1330 7 жыл бұрын
Thanks :)
@averyrobbins68
@averyrobbins68 3 жыл бұрын
helpful!
@umerchohan3468
@umerchohan3468 5 жыл бұрын
chmod command missing
@abdulwaheedkashmiri4624
@abdulwaheedkashmiri4624 2 жыл бұрын
Great❤️
@bjarkijonsson8899
@bjarkijonsson8899 3 жыл бұрын
ls command isnt working for me
@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 :)
@rayhanmahamud2280
@rayhanmahamud2280 2 жыл бұрын
Good Man, :)
Beginner's Guide to the Bash Terminal
1:14:37
Joe Collins
Рет қаралды 2,3 МЛН
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 3,9 МЛН
ISSEI funny story 😂😂😂Strange World 🌏 Green
00:27
ISSEI / いっせい
Рет қаралды 49 МЛН
Guess The Gift, Keep It
00:46
MrBeast
Рет қаралды 95 МЛН
60 Linux Commands you NEED to know (in 10 minutes)
10:50
NetworkChuck
Рет қаралды 1,2 МЛН
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,2 МЛН
Beginner's Guide To The Linux Terminal
42:27
DistroTube
Рет қаралды 331 М.
Linux Command-Line Tips & Tricks: Over 15 Examples!
31:37
Learn Linux TV
Рет қаралды 208 М.
Introduction to Linux and Basic Linux Commands for Beginners
18:46
sakitech
Рет қаралды 3,8 МЛН
Git & GitHub Crash Course For Beginners
32:42
Traversy Media
Рет қаралды 3,1 МЛН
SSH Crash Course | With Some DevOps
55:02
Traversy Media
Рет қаралды 540 М.
Linux Operating System - Crash Course for Beginners
2:47:56
freeCodeCamp.org
Рет қаралды 2 МЛН
Command Line Crash Course For Beginners | Terminal Commands
44:53
Traversy Media
Рет қаралды 137 М.
СИНИЙ ЭКРАН СМЕРТИ - ОБЪЯСНЯЕМ
14:55
iPhone 19?
0:16
ARGEN
Рет қаралды 2,8 МЛН