You can find the lecture notes and exercises for this lecture at missing.csail.mit.edu/2020/co... Help us caption & translate this video! amara.org/v/C1Efe/
Well done! this absolutely needs to be added to the video description to show timespamps on the video progress bar!!!
@DrHusseinAlOmari3 жыл бұрын
Thank you! Very useful!
@hingsli72453 жыл бұрын
good job man, very helpful!
@samdavepollard Жыл бұрын
i'm old; i graduated in 1979, way before the www was a thing the fact that i can hop onto youtube and drop into a class at MIT like this still blows my mind
@upstatenetworks46398 ай бұрын
Similar. EE/CS 1980's We've passed files back and forth for decades. Our development projects now involve 10's of programmers. This lecture was well presented and gratefully received. Nice Job and Thank you!
@edvaned8207Ай бұрын
Similiar too. i graduated in 2004 😁
@ShivangiSingh-wc3gk4 жыл бұрын
I feel so dumb at work sometimes. I had to learn these things the hard way, thank you for putting this out there.
@xBugzilla Жыл бұрын
But #! is a special comment, not telling the shell to run as root, right? I don’t get your comment or maybe I missed the part he explained shebang
@resulhangeldiyev44274 жыл бұрын
thank you youtube algorithm for this magnificent content
@fedeac312 жыл бұрын
I think we should rather thank MIT. They're quite probably the best tech university in the world, and they're publishing content for free that they could charge us a fortune to access if they wanted to.
@mrmusicdu743 жыл бұрын
Why is this in my recommandations and why am I starting to plan to watch the whole courses
@qwerty-wt5dr3 жыл бұрын
+1 I even dont have Linux installed for years
@zounoaa96893 жыл бұрын
same!
@aalbero3 жыл бұрын
long live KZbin recommendations
@sadeepthabandara81173 жыл бұрын
If you haven't already, go for it!
@overglobe11 ай бұрын
😂
@Chr0nalis4 жыл бұрын
I've been writing "clear" instead of just ctrl+l all this time ..
@love.ly.4 жыл бұрын
Teymur Azayev same 😮
@wolfram774 жыл бұрын
is there a shortcut to clear scrollback too?
@rabingaire4 жыл бұрын
same here
@aavocadoToast4 жыл бұрын
Same
4 жыл бұрын
The clear command and ctrl+l do not do the same thing. They are very similar, but sometimes it makes sense to use one or the other.
@Milbrown_Worker4 жыл бұрын
Im sad this kind of quality instruction is not commonplace across other post secondary institutions.. I guess it is MIT after all... Thanks for making this available
@yousifabdulhussein8 ай бұрын
This type of quality instruction isn’t even commonly available at MIT lol.
@yixe22534 жыл бұрын
These lecture are amazing, thanks for releasing this to the public!
@ChristopherOkhravi4 жыл бұрын
This.
@skarasif3 жыл бұрын
@@ChristopherOkhravi lectures ;-)
@v1r473 жыл бұрын
@@skarasif lectures* :-)
@driden19873 жыл бұрын
@@ChristopherOkhravi are you planning on coming back to creating videos on YT? Really wanted to see how your VIM series would pan out. Thanks for everything
@terrence3693 жыл бұрын
Very true
@dhruvgupta87513 жыл бұрын
the xdg-open in powershell was just: start worked with pdfs and .html files.
@middleverse38383 жыл бұрын
I'm like 15 minutes in, and I'm already thankful to you guys for making this!! For someone who used to be a programmer but left and is now making a comeback, this packs-a-punch.
@harshdeepsingh10264 жыл бұрын
How they teach and covers the topic is really helpful. I think they are doing great work to post these and their notes over internet for people to use. Regards to the authors.
@loremipsum75134 жыл бұрын
THIS IS WHAT WE ALL NEEDED. THANK YOU FROM THE BOTTOM OF MY HEART.
@shelinesim10384 жыл бұрын
"On Windows, who knows?" made me chuckle
@pedrofalcao19003 жыл бұрын
Made me install linux
@ze_kel3 жыл бұрын
@@pedrofalcao1900 try WSL it's super easy to setup and you get full linux terminal inside your windows.
@HendersonHarrisson3 жыл бұрын
WSL easy bash without switching OSes
@seonginna88044 жыл бұрын
This is a lecture series I have wanted. Thank you MIT!
@mlcmingliang4 жыл бұрын
43:44 scroll lock is for you to scroll around in spreadsheet program like Excel with arrow keys. so when it is toggled, arrow keys scroll around instead of move the focus on a cell
@wolfram774 жыл бұрын
that is also what ctrl+arrow keys do in a text editor. thanks for sharing.
@tamat4 жыл бұрын
I cannot thank you enough for this course. Im also a teacher at the university and I never have the time to teach this concepts deeply to my students, so at least now I have a place to redirect them.
@advitiayanand59744 жыл бұрын
glad to hear there's teachers that still care.
@walkastray0073 жыл бұрын
I'm actually tearing up. I've been trying to learn how to do things and it's been super frustrating and EVERY SINGLE COURSE I have ever seen either teaches you what a variable is. Or has a "google is your best friend" sort of approach. Thank you so much for making these videos
@sciberbee2 жыл бұрын
I came to think again, that we are living very hopeful period of time given that these fruitful and friendly lectures from MIT is ready to be watched free, at all around the world:)
@shreyaskali996 Жыл бұрын
great! MIT never ever dissapoints me. Hope this quality of education become a standard in the future in every country.
@infinite-journey3 жыл бұрын
Lectures we didn't ask for but we all needed the most.
@koraytugay4 жыл бұрын
Starts at 4:08
@ivansakal12244 жыл бұрын
cheers man
@Hilaire_Balrog3 жыл бұрын
Thanks. Those late student were annoying me.
@mustafaerdem1403 жыл бұрын
Tesekkurler
@alexandrechen30814 жыл бұрын
This is exactly what I need! Thank you MIT
@fedeac312 жыл бұрын
This is awesome. You guys are awesome for sharing it publicly. Everything about this is awesome.
@PainfullySubjective5 ай бұрын
so glad i found this courses. thank you MIT and all who made this!
@StankyPickle14 жыл бұрын
I wish this lecture series existed 6 years ago. Would've made life a little easier.
@EndrChe3 жыл бұрын
This is the most beautiful thing I’ve ever found on KZbin...
@JasonSFuller4 жыл бұрын
40:24 Please don't teach people "sudo su" (or the slightly less terrible "sudo su -"). In fact, don't teach people about "su" at all, other than to use it to install/fix "sudo" or as a history lesson. It certainly _works_, but you're telling the shell to do something twice, i.e. "run as root" (sudo) then "become the root user" (su). The thing you want is "sudo -i" or "initial login" (equivalent to "su -" and "sudo su -"), which tells sudo to start a shell *and* process the normal login scripts, e.g. .profile, .login, .bash_profile, etc. "Su"ing twice has a number of unexpected and irritating--though not insurmountable--side-effects for administrators (i.e. me, a linux admin for 20+ years), but it also causes trouble for an end-users since it strips their environment variables. "Sudo" handles this quite well (depending on your sudoers configuration), but "su" does not. This is problematic for things like preserving a non-root user's $SSH_AUTH_SOCK (maybe you want to use your ssh keys when you're root), or language preferences ($LANG), or $DISPLAY for GUI users, etc.
@adammoore65944 жыл бұрын
Thanks, that is useful :)
@mwat564 жыл бұрын
In case you need a shell (to do more than a single command) you'd call: sudo bash That avoids the problems mentioned above.
@JasonSFuller4 жыл бұрын
@@mwat56 I'll politely disagree here. "sudo -i" does, in fact, give you a shell, AND it simulates a login the proper way. "sudo bash" suffers from the same environment problems as "sudo su"
4 жыл бұрын
Exactly. I was going to comment this, but you explained it much better than I could.
@aram5353 жыл бұрын
If you don't need to go through "login" then 'sudo -s' will also work and just start up a new environment rather than login then env. For example 'sudo -s' will drop you into a root shell and 'sudo -u foo -s' will drop you into a shell for user 'foo'. Again without the login (.profile & .login). I recommend using "sudo -c 'command'", "sudo -s" and "sudo -u foo -sH" (-H sets the homedir for the user as well).
@bsko3D2 жыл бұрын
what a great and generous idea to publish these lectures for everyone. Thank you!
@yanlin91304 жыл бұрын
Pretty good lecture, I wish it would be available when I was a freshman five years ago. Thanks for the hard work.
@henryluo93803 жыл бұрын
Thanks for sharing it. It's really helpful to someone like me who have never learnt these basic things.
@popluss3 жыл бұрын
wow, this is very good! the content is really nice and the way he teaches it and structure the lecture is way better than what i had in college
@surered49584 жыл бұрын
I cannot believe how good of a professor this guy is. I wish I could learn software development and data science from him.
@glizzdawiz4 жыл бұрын
He has his own KZbin channel, which I just discovered kzbin.info/door/_iD0xppBwwsrM9DegC5cQQ
@wizard73143 жыл бұрын
41:30 it was worth watching for me, just for this. Great example of why 'cat' with shell piping isn't sufficient to write to a system file. But you also don't want to elevate the whole shell to root privileges because it's inconvenient (especially when scripting) and because then everything will be executed with root privileges. Now I understand why tee exists. Cheers.
@casedup3 жыл бұрын
Great Great Great! Been using bash shell foryears and you opened me up to other worlds man. These videos are so 👍
@majoragan3 жыл бұрын
Just finished first lecture... Big thanks for this series!
@user-ox9wq1gj5k4 жыл бұрын
Amazing to look at it during quarantine. Thank you very much!
@EarthB004 жыл бұрын
These are super useful. Making my way through them.
@takreem.akhter3 жыл бұрын
Thank you youtube recommendations. This was beautiful! I am going to watch the whole course.
@edavar6265 Жыл бұрын
Another resource I can reccomend on this topic is Learn Enough Command Line To Be Dangerous. It is a fun read with exercises.
@lautoka634 жыл бұрын
A good thing to be doing. I used to do something similar in my airline engineering career by running lunchtime classes for new young engineers. Much of the time people assume that others know as much as they do, without thinking how long and hard it was to acquire that knowledge.
@Kruglord Жыл бұрын
Hey, that's Jon Gjengset! He does the "Crust of Rust" videos here on KZbin, I had no idea he also taught these lectures, I only recognize him now after coming back again 2 years later.
@metroboomin88952 жыл бұрын
tip: watch on 1.5 speed if it suits your fancy, i find it helps me focus (also great lecture!!)
@meojunior3 жыл бұрын
I really enjoy this course and learn a ton of foundation things. Thanks guys
@shubxam4 жыл бұрын
Thank you so much for releasing this course in public. Just been through 1st lecture and content and the way you teach is very good.
@jasonkwan48144 жыл бұрын
I wish it would be available when I was a freshman one years ago. Thanks for the hard work.
@ZhengQu3 жыл бұрын
It is never too late :)
@jitpackjoyride3 жыл бұрын
lol, I was a freshman 4 years ago and much more experienced now and I’m still going to sit through these lectures 🤓
@nairorokidul Жыл бұрын
Another not obvious thing: Inside the shell CTRL + C is cancel, not copy. The most useful trick noone tells you is hitting the up arrow offers you the latest command you entered, and you can scroll up as much as you want by hitting up arrow.
@geoafrikana10 ай бұрын
Use Ctrl + Insert to copy Shift + Insert to paste
@sportsfreund84303 жыл бұрын
God damn, I had this bookmarked for way too long. Looking forward to going through the playlist! :)
@rabingaire4 жыл бұрын
I love how this guy explains things, I am a long time subscriber of his channel his voice is just mesmerizing
@linsanity6264 жыл бұрын
Rabin Gaire same! what's his channel name?
@rabingaire4 жыл бұрын
@@linsanity626 channel link kzbin.info/door/_iD0xppBwwsrM9DegC5cQQ
@mrbeats74343 жыл бұрын
Very good. This teacher is first class. Thanks so much
@sriranganayakulu85133 жыл бұрын
Thanks MIT!! For these great lecture series
@garysantos70533 жыл бұрын
Just a note of added confusion: Apple replaced "bash" with "zsh" as the default shell in macOS Catalina While a number of Mac developers have already moved on to even more modern shells like Fish, zsh is more compatible with Bourne shell (sh) and mostly compatible with bash. THE VERGE/ By Tom Warren@tomwarren Jun 4, 2019, 4:27am EDT
@xrafter3 жыл бұрын
Bash and zsh have the same syntax.
@KonstantinDorichev4 жыл бұрын
I remembered the basics and did learn a few commands I didn't know. Thanks!
@yuexiao47393 жыл бұрын
Love this course! Really helped me on my work.
@jamoinmoin3 жыл бұрын
wow so many small useful things that actually boost productivity, great lecture
@Qladstone7 ай бұрын
After several years of watching lectures in my off-work hours, this shall be my "graduation" class.
@jerrys53873 жыл бұрын
I hope my univ could have such courses, instead of assuming we already know
@10riddles4 жыл бұрын
Super useful for graduates. Thanks a bunch.
@aavocadoToast4 жыл бұрын
Absolutely amazing lecture. I already knew 80% of these commands but it was still fun to watch and a good learning experience. Especially the fun stuff with sys directory in the end. Nobody teaches that lol...
@meghasharma19623 жыл бұрын
Hey, does it require linux or we can do in windows?
@surplusvalue32714 ай бұрын
same!
@surplusvalue32714 ай бұрын
@@meghasharma1962 maybe use WSL, though i don't know how are dirs organized in wsl
@gaomingt3 жыл бұрын
22:40 Also, if you don't have write permission on a file but have write permission on its directory, you can still delete the file.
@steveroger45703 жыл бұрын
This is better than my entire degree in my uni
@mubintirsaiwala71414 жыл бұрын
I just can't thank you enough. Great content.
@MubashirullahD3 жыл бұрын
This entire talk is this smart telling you you don't know things. :)
@venusumanthpotru95353 жыл бұрын
This is super helpful 👍. Thanks a lot for uploading it to KZbin.
@sefacorleone82763 жыл бұрын
oouuww yes.. i will put that knowledge inside my head. Thank you!
@keonys1 Жыл бұрын
Very insightful! thank you for releasing to us
@priteshugrankar68152 жыл бұрын
This is truly amazing!! Thanks for sharing!! By the way, I see vendor Perl and core perl in the path at 11:40. Does it mean the instructor is using Perl? If so, for what purpose?
@harishkrish143863 жыл бұрын
Thanks fr these videos which have released! ❣️
@kortaffel3 жыл бұрын
40:30 you don't need to "sudo su". A simple "su" is suffice. "su -" if you want to get rid of enviroment variables and a login shell
@MichaelS-em8id4 жыл бұрын
Are there solutions for the exercises given? I'm having trouble with Question 3. Is it telling me to execute the file with *ls semester*?
@hulk94smash2 жыл бұрын
WOWOWOWOWOWOW THIS IS GOLDDD!!! 🔥💯 wish I knew this year's ago 😭
@mcvgs17803 жыл бұрын
I wish I had these kind of lectures in college.
@beingchaitali4 жыл бұрын
Really great lecturer , very helpful . Is there any way to get exercise example ?
@mukulkumar23164 жыл бұрын
this is exactly what i needed
@advitiayanand59744 жыл бұрын
That's basic? Man I'm hyped!
@je96254 жыл бұрын
Is there an example of screen casting from the command line he refers to ?
@FrederizEguren3 жыл бұрын
He is very eloquent.
@clanoftheducks18504 жыл бұрын
You probably want to explain su stands for substitute user not super user, which is a common misconception even in the Linux world, but su let's you go into a shell for another user, not just the superuser, hence the name.
@iduran3 жыл бұрын
Nice terminal setup. I already checked the instructor's dotfiles but couldn't find which font he is using. Any idea what font that is?
@santiagotodisco26683 жыл бұрын
CTRL + L for cleaning and cd - for moving back and forward? Totally worth the time to see the lecture. I'm going to see all of them
@fhajji3 жыл бұрын
Same: I didn't know about 'cd -'. Always been using pushd and popd. Ctrl-L I knew about from Emacs. :)
@kwangee3 жыл бұрын
About the "echo 1060 | sudo tee brightness" command 42:17 , does this mean if we somehow run a malicious .sh script obtain from internet that contain similar command but does malicious action, it will execute successfully? since this command does not require shell login as superuser
@DutchmanDavid4 жыл бұрын
`which` and `where` were important for me that one time I tried to (roughly) time a short piece of bash script. For some reason `time` did *not* want to accept some parameters I gave it. Turns out I was using the `shell reserved word`, not the *time* program that also exists in `/usr/bin/`. Executing the next gave me info on why my script didn't work: > which time time: shell reserved word > where time time: shell reserved word /usr/bin/time This showed me I just needed to add /usr/bin/ in front of the command to fix my troubles.
@maksimbronsky71174 жыл бұрын
On Windows the adequate command for xdg-open is simply explorer.exe :-)
@ramprax4 жыл бұрын
You can use 'start ' instead of explorer.exe
@chococandy80098 ай бұрын
Probably the only semester that I would like to attend without bunking a single lecture ;) It was fun.
@stardusts42 Жыл бұрын
FYI, you can drag and move the subtitle from the bottom to other places until the instructor types "Ctrl + L"
@shawnxihaowu7638 Жыл бұрын
Thank you for this lecture!
@rajasekharreddy79773 жыл бұрын
Very insightful and useful lecture.
@warshipwarriors3 жыл бұрын
Nice lectures, happy to learn more
@tetomdq3 жыл бұрын
# to run command as root. * head explodes * Doing my first steps on Debian Thank you, thank you, thank you for these lectures!
@muddi9003 жыл бұрын
This is my reference book now.
@Sethsm13 жыл бұрын
Extremely helpful. Thank you.
@kellybmackenzie Жыл бұрын
This is awesome, thank you so much!
@edgrimm58626 ай бұрын
Most of the stuff under /sys/class/ are indirect links to the directories that have the actual stuff. By default, find does not follow symlinks. If you search from /sys/, you'll probably find brightness under kernel, devices, and modules.
@perlaramos87833 жыл бұрын
I wish I had this course at my university!!!
@expeditiontoabyss35975 ай бұрын
this is crazy good, thanks
@angelsalinas96973 жыл бұрын
can someone help me, when I do, cd /sys in my mac terminal it says no file or directory found.
@narindersharma3033 жыл бұрын
Very nicely explained!
@adjusted-bunny3 жыл бұрын
How can you run "tee" as root (sudo) because it is not an ordinary program but a shell utility like ls? In my logic you would need a root shell, too. I'm confused.
@akashpatil7662 Жыл бұрын
Thank you these lectures
@euriskoo Жыл бұрын
8:03, Actually the program doesn't treat the string as one argument, it same as using double quotes, it's still an array of arguments.