How do you use the Command line? PowerShell, cmd, bash? - Computer Stuff They Didn't Teach You #13

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ม.ค. 2025

ความคิดเห็น •

  • @shivakumarpendem7871
    @shivakumarpendem7871 4 ปีที่แล้ว +60

    I really really Like this series Scott . I Learned a lot from these videos Please keep this going !!! 💚

    • @michaelt126
      @michaelt126 4 ปีที่แล้ว +1

      I really really REALLY like this, its an amazing idea.

  • @Noceo
    @Noceo 4 ปีที่แล้ว +4

    I really appreciate how you don't assume the viewers to know a lot of stuff. You either explain it, or tell what to Google, which makes it really easy to follow along. Thank you very much, Scott!

  • @Visiontunnel
    @Visiontunnel 4 ปีที่แล้ว +3

    Dude, I love your content. It's like the father I never had patiently and nicely explaining technical subjects in a way that doesn't make it feel like I need 30 years of experience to understand.
    Keep it up!

  • @guyprovost
    @guyprovost 4 ปีที่แล้ว +1

    I love those "Hanselman friendly neighbourhood" videos, they are well done and open minded, very inclusive! This is a quality we rarely see in IT world! Keep it up! Refreshing! And even though I tought I wouldn't learn anything new on shells and command WIndows (35+ years of experience on computer) I did learn a few tricks! Thanks!

  • @freezingCode
    @freezingCode 4 ปีที่แล้ว +1

    Early on in my career one of the devs I looked up to followed your blog, and now here I am watching your videos many years later [even if I already know the material being covered]. It's oddly relaxing.

  • @marklawson2688
    @marklawson2688 4 ปีที่แล้ว +4

    Best thing I stumbled across is in Powershell, the 'up arrow' for previous commands is remembered even through shutdowns!

  • @Tacobell2000
    @Tacobell2000 4 ปีที่แล้ว +1

    I really enjoy your videos. You display a great depth of technical confidence. I have learned a great deal watching and re-watching your videos! Great work Scott and keep em coming!

  • @yanikyunus
    @yanikyunus 4 ปีที่แล้ว

    Thank you Mr. Scott Hanselman for this Series. i learned a lot of things.

  • @igorsentrxigorsentrx5550
    @igorsentrxigorsentrx5550 4 ปีที่แล้ว +4

    just want to say you Scott, that software developers with 10 years of experience also watch your video series "Computer Stuff They Didn't Teach You" and also found it usefull. Don't think it's only for beginners :)

  • @henry.favela
    @henry.favela 4 ปีที่แล้ว +1

    I just want to say how much I appreciate this series, it has helped me a lot. Got pulled in with the miniseries about git and now I'm eagerly waiting for these gems. Thank you Scott!

  • @shreyasjejurkar1233
    @shreyasjejurkar1233 4 ปีที่แล้ว +30

    Pro tip - Use Ctrl + L to clear the terminal!
    For new people, not for you Scott, as you might already know it! 😅😅😅

  • @mjdxp5688
    @mjdxp5688 4 ปีที่แล้ว

    Using a CLI is an important computing skill to learn and it's really not that hard. By the way, I love how soft spoken and calming this video is!

  • @SubhamK108
    @SubhamK108 4 ปีที่แล้ว

    Learned a lot of new things from this series of videos. Please keep uploading videos in this series, they're super useful! Thanks.

  • @markpreece6578
    @markpreece6578 4 ปีที่แล้ว

    Great series Scott. I've been working as a developer for 30 years and you're covering stuff I've never come across.

  • @_rcs
    @_rcs 4 ปีที่แล้ว

    I can't get enough of Scott's terminal/console/shell content. I often found these topics a bit of mystery.

  • @kasimsche2812
    @kasimsche2812 4 ปีที่แล้ว

    You are awesome Henson. You do great stuffs. Information you give on youtube is what 99% computer science aspirants miss. Than you so much Henson. Stay Safe, Stay Blessed.

  • @TheDiva1104
    @TheDiva1104 4 ปีที่แล้ว +1

    Really useful stuff Scott. Some suggestions for topic, maybe you already have it in your pipeline:
    1. Code editors v/s IDE - Code, Visual Studio, etc. etc.
    2. How does build work - writing build tasks etc.

  • @nightsky1979
    @nightsky1979 3 ปีที่แล้ว

    I've just find your channel, but I already love how you explain things. I must deep-dive more of your videos. Great job!

  • @sayednaser
    @sayednaser 4 ปีที่แล้ว +2

    Even if I has some experience with the topics, I always learn something new from your vids, Thank you sir.
    Suggestion : the realm of environment variables.

  • @mytechnotalent
    @mytechnotalent 4 ปีที่แล้ว +1

    What an incredibly thoughtful series of tutorials. I must say incredible job Scott!

  • @gonzalocorchon6509
    @gonzalocorchon6509 4 ปีที่แล้ว +2

    Hi Scott, thanks for all these videos. Could you make a video about multithreading the right way in C#?

  • @krumpy8259
    @krumpy8259 3 ปีที่แล้ว

    loved this. Scott could you break down the shell language with all the hyphens acronyms and what not such that it becomes more natural to use this weird terminal stuff more casually and maybe be help us finding out what options and commands to look out for.

  • @roundtheloopandback
    @roundtheloopandback 4 ปีที่แล้ว

    Finally, there is a mess in that room :) I've been very jealous of your workspace mainly because it's very large and the sort of space I'd kill to have, I've always admired how tidy and ordered the room is (I appreciate the bench may not always be), but there is a slight mess (like a normal person) down by your bookcase. Having said all that I'm a long time viewer of your content I try to watch it all even if I know what you are talking about as there is always something small to learn. Keep on keeping on as this series is so valuable, you are an example to us all.

    • @shanselman
      @shanselman  4 ปีที่แล้ว +1

      ;) I'm upgrading my network and I have a lot of packages.

  • @PhilCole
    @PhilCole 4 ปีที่แล้ว +1

    Hey Scott, great series. For someone who first dipped their toe into programming when MS-DOS was the OS for PC's and Windows V1.0 was something quirky that you found on a 5.25" floppy the command line was pretty much all you had between you and "Assembly" for getting things to happen on a personal computer. It's great to see the command line getting a little love. For future episodes how about de-mystifying RegEx? or maybe "Fun things to do with grep" When I was at school we didn't have computers so all of this fits the brief 🙄

  • @jamesdietsch7868
    @jamesdietsch7868 4 ปีที่แล้ว

    Absolutely love this series Scott. Major help for my last year of CS! Keep up the good work :)

  • @geoaxis
    @geoaxis 4 ปีที่แล้ว +2

    Thanks Scott for making this great tutorial. Love this series. I would like to point out a correction for your followers both oh-my-zsh and starship are not really shells but tools that work with shells (oh-my-zsh or or oh-my-fish for themes etc in zsh/fish and starship for prompts). I bet you already know that. I currently use powershell with oh-my-posh and posh-git following your other tutorials.

    • @shanselman
      @shanselman  4 ปีที่แล้ว

      Indeed. I do try to simplify but this is a good point!

  • @cs_devel
    @cs_devel 4 ปีที่แล้ว

    It's a really good series and I enjoy every single episode. It helps me a lot. Thank you

  • @scotto-robotto
    @scotto-robotto 4 ปีที่แล้ว

    Great video. Could you do a follow-up that takes a closer look at bash, perhaps? Or, in keeping with the theme of this video, the various switches and their meanings in each shell.

  • @michaelt126
    @michaelt126 4 ปีที่แล้ว

    This is the perfect solution to a problem I was having, I appreciate the effort put into this series, Ive recommended it to other students in the same degree path as I as they dont teach us all of this in university! ha

  • @OmarAbdelaziz__47
    @OmarAbdelaziz__47 4 ปีที่แล้ว

    Do more of these hands-on videos, thank you Scott!

  • @heatvisuals
    @heatvisuals 4 ปีที่แล้ว

    omg this tutorial is flawless. you are incredible sir.

  • @kris3321
    @kris3321 4 ปีที่แล้ว

    Really cool Scott! Randomly stumbled upon these, will definitely stay for more

  • @acidhauss7018
    @acidhauss7018 4 ปีที่แล้ว

    And one of the few people who make powershell interesting!

  • @hernanvelazquez1421
    @hernanvelazquez1421 3 ปีที่แล้ว

    I really liked this video, thanks. Good touch with carnac.

  • @chriswalsh3722
    @chriswalsh3722 4 ปีที่แล้ว

    Love this series Scott. Please keep making them ;)

  • @balibees9832
    @balibees9832 4 ปีที่แล้ว

    Hi Scott, greetings from Switzerland! I came across your channel not a week ago and it's helped me a ton. This might be out of scope compared to your other content, but I was wondering if you would ever do a video about composition and inheritance OOP. I just came across composition today and I'm completely overwhelmed! I've been so stuck on inheritance (I'm a beginner), I can't understand composition at all. It seems like there's some conflict online when I read about it, too (people alledgedly misrepresenting composition as multiple inheritance, for example). I think with your teaching style, you could really break down in a clear way. Anyway, I wish you a great day.

  • @linusjoensson8219
    @linusjoensson8219 4 ปีที่แล้ว

    Sometimes I think I might one day reach the levels of Hanselman.. then stuff like 10:15 happens. Brilliant.

  • @CharleneFreeman
    @CharleneFreeman 4 ปีที่แล้ว

    Thanks Scott! Keep it going - excellent training videos! 😃

  • @satyabratamohapatra3397
    @satyabratamohapatra3397 4 ปีที่แล้ว

    Thank you scott. Loving the series. Want more !!

  • @ghousek9784
    @ghousek9784 4 ปีที่แล้ว

    Awesome! Like every time! Great work scott.
    Love from planet earth.

  • @frankesposito7762
    @frankesposito7762 4 ปีที่แล้ว

    FYI: cls works in the command prompt too (aka DOS). Thanks for the series!

  • @h4rdkn0x
    @h4rdkn0x 4 ปีที่แล้ว

    Great video, missed most of the stream because I got the alert to late. Something that I have been struggling with is creating batch FOR loop script to do things like moving files with similar names into folder or zipping them up. I always want to go back to VBscript to do this however it annoys me that I can completely understand how it works in DOS/Windows command line.

  • @Tacobell2000
    @Tacobell2000 4 ปีที่แล้ว

    Scott can you please do a video on Log Parser 2.2 and how to write a log parser query?

  • @SO-dl2pv
    @SO-dl2pv 4 ปีที่แล้ว

    Hi Scott, actually in win command line, you can use doskey to create aliases instead of writing bat files, e.g:
    doskey clear=ls
    You can also make that permanent by adding some stuff to register.

    • @shanselman
      @shanselman  4 ปีที่แล้ว +1

      Oh! Lovely. I forgot that was still around! Good stuff.

    • @SO-dl2pv
      @SO-dl2pv 4 ปีที่แล้ว

      @@shanselman Thank you for the reply. Sorry, I wrote that comment on bed, it has some spelling mistakes, if edit it I will lose you heart :D .

  • @darogajee3286
    @darogajee3286 4 ปีที่แล้ว

    Great learning sir.... You are intellectual

  • @bitelogger
    @bitelogger 4 ปีที่แล้ว

    Hello @ScottHanselman good morning,
    Is there a good book you could recommend for CICD with AZ DevOps? The MS docs are good but too superficial

  • @mariosvisos4234
    @mariosvisos4234 4 ปีที่แล้ว

    Hey Scott great content in this series, I really like the way you explain things! You are an awesome educator!
    I would like to suggest a video about a recommended development workflow with WSL 2 based engine for Docker instead of Hyper-V backend. Where should I keep my code, on the windows file system or on the Linux filesystem? I tried to use it once but because I wasn't quite sure what was happening under the hood and my docker container took a really long time to build I switched back to Hyper-V. I would also like to know what are the pros as well as if there are some limitations on using WSL 2 based engine for Docker instead of Hyper-V.
    Keep up the good work! Just subscribed :)

  • @Thewoxter
    @Thewoxter 4 ปีที่แล้ว +8

    You are the Bob Ross of code.

  • @ActiveDataTools
    @ActiveDataTools 3 ปีที่แล้ว

    You are the Bob Ross of command line.

  • @juleswombat5309
    @juleswombat5309 4 ปีที่แล้ว

    That was pretty cool as typical. I am s Windows guy but sometimes drop into Ubuntu to unzip and a few free tools not available on Windows.
    I would really like you to do a session on the Linux (or Ubuntu) file system for beginners and Windows users. I really struggle to get my head around understand and navigate with .etc, home ,mnt, use. What is a mount point? I know there are many guides on the web but you are good at explains conceptual models.

  • @patrickc.6183
    @patrickc.6183 4 ปีที่แล้ว

    Great videos, we love your channel!

  • @bichers
    @bichers 4 ปีที่แล้ว +1

    Love this series :)

  •  4 ปีที่แล้ว

    I'm very used to command lines (iterm2 in particular), but one thing I haven't found yet is how to edit a command. So let's say i type in a looooong command and I press enter, and I realize I have a typo in the middle of the command. I press UP to re-enter it, and then I press Escape+B, Escape+B, and so on, until I reach the word that I want to edit, and then I just move right to hit the right character. Is this the most efficient way?

  • @ArielErlijman
    @ArielErlijman 4 ปีที่แล้ว

    Basic stuff but well explained! keep going. What about something related to Ram usage? I keep dealing with my 8gb laptop trying to survive with Edge, Visual Studio and node running...and that´s too much for it. Something like what I can disable in my windows 10 while I program. thx!!!

  • @pabloalonso9083
    @pabloalonso9083 4 ปีที่แล้ว

    Having myself db type 1 you could imagine my surprise when you told about having your blood sugar in your command prompt ! 😱 wow

  • @jayhu6075
    @jayhu6075 4 ปีที่แล้ว

    You rock Scott. Keep going.

  • @comarnicolodi
    @comarnicolodi 4 ปีที่แล้ว

    This series is very cool

  • @Sagar_Singh.
    @Sagar_Singh. 4 ปีที่แล้ว

    This series is great. Now, how do we create a new file in command prompt?
    like an alternative of touch or ni commands in bash and powershell .
    i mean you can use command notepad filename.txt(in cmd) but then it opens gui, so is there a way?
    Thank you

    • @shanselman
      @shanselman  4 ปีที่แล้ว

      You can type “copy con foo.txt” then press Ctrl-z

  • @tau124
    @tau124 4 ปีที่แล้ว +4

    petition for Scott to say "And as the kids say - Smash that Like button" in every video.

    • @AlanD20
      @AlanD20 4 ปีที่แล้ว

      PLEASE LET'S MAKE IT HAPPEN

    • @Nikkes02
      @Nikkes02 4 ปีที่แล้ว +1

      This is way more useful and entertaining than the screaming, pretentious millennials :D

    • @shanselman
      @shanselman  4 ปีที่แล้ว +2

      lol deal

  • @IgorGuerrero
    @IgorGuerrero 4 ปีที่แล้ว +5

    Funny I'm teaching my girlfriend how to code and she got stuck in an appendix cause she felt the command line was very important to continue...
    Now why isn't they chapter 1 of programming? It also reminds me I didn't get that knowledge in college either, many of my classmates were very lost on the terminal.

  • @michaelwplde
    @michaelwplde 4 ปีที่แล้ว

    7:00 Indeed, and indeed... Although I would like to learn more about PS...

  • @QckSGaming
    @QckSGaming 4 ปีที่แล้ว +3

    hey we "learned" that in school! actually they were presented as mysterious incantations that just do shit that we should memorize so ehh

  • @jakewestin4176
    @jakewestin4176 3 ปีที่แล้ว

    What a great video!

  • @lecompanero1124
    @lecompanero1124 4 ปีที่แล้ว

    How can you show what you are typ on terminal? Is a kind of plugin or app you just used?

    • @shanselman
      @shanselman  4 ปีที่แล้ว

      It’s “carnac”

  • @tomek3100
    @tomek3100 4 ปีที่แล้ว

    Maybe it is an issue with my headphones, but I heard DISTORTION several times, despite your voice is so calm .

    • @shanselman
      @shanselman  4 ปีที่แล้ว

      Thanks, I'll check my mike. I have some challenges with my levels, perhaps I was overdriving the mic.

  • @technikhil314
    @technikhil314 4 ปีที่แล้ว

    Sir one session on zip gzip bzip brottoli and compressions please.

    • @shanselman
      @shanselman  4 ปีที่แล้ว

      technikhil good idea

  • @umutkayatuz9963
    @umutkayatuz9963 4 ปีที่แล้ว

    What program do you use for putting windows into 4 frames?😌

    • @shanselman
      @shanselman  4 ปีที่แล้ว +1

      That’s the Windows Terminal and I use it’s window panes feature!

    • @umutkayatuz9963
      @umutkayatuz9963 4 ปีที่แล้ว

      @@shanselman oh thx! I was also inspired on your video about fancy zones, but I am getting an error when installing on my windows machine. Is it not supported on windows?😊

  • @UntakenNick
    @UntakenNick 4 ปีที่แล้ว

    This should have been the first video of the series..

    • @shanselman
      @shanselman  4 ปีที่แล้ว

      True! Maybe I can renumber them

  • @muhammadadeel558
    @muhammadadeel558 3 ปีที่แล้ว

    So there is no alias in Command prompt.

  • @effexon
    @effexon 4 ปีที่แล้ว

    This is minority report in 2020. No Kinect UI, but this, video editing skills, for learning.

  • @АскольдМакарук
    @АскольдМакарук 4 ปีที่แล้ว

    I had Linux and cmd courses at my uni

  • @acidhauss7018
    @acidhauss7018 4 ปีที่แล้ว

    Im a new developer and love watching these in bed. Thanks Scott.

  • @courseprovider9871
    @courseprovider9871 4 ปีที่แล้ว

    As always I'm sharing those videos both linkedin and twitter. I have one request i don't know it is relevant or not. Could you please explain how computers work, including XOR, AND gates, processors, memory to assembly or machine code, compilers, C and high level programming languages in one video. I mean the flow of hierarchy. I hope I am clear. :( Another suggesion is about best coding practices that improves performance of app. It is so wide but suggestion is suggestion! thank you man, you're great. I will do my best to take you to 100K subscribe. I learn a lot !

    • @maxmuster7003
      @maxmuster7003 4 ปีที่แล้ว

      www.agner.org/optimize/instruction_tables.pdf
      instlatx64.atw.hu/

  • @amrit6622
    @amrit6622 4 ปีที่แล้ว

    This should make it to Netflix. @scott. xD

  • @twb0109
    @twb0109 3 ปีที่แล้ว

    Don't want to be that guy hehe, ignore this. Just one thing, Oh My Zsh is a plugin framework for zsh and starship is a prompt, just like Oh my Posh

  • @lithium820
    @lithium820 4 ปีที่แล้ว

    u remind me of Terry Davis, just without the mental health issues. Very Smart Individual

  • @skorp5677
    @skorp5677 2 ปีที่แล้ว

    He's right and all that religious jazz about which shell is the best is kind of unnecessary but you should learn Powershell.

  • @EvilDaveCanada
    @EvilDaveCanada 3 ปีที่แล้ว

    I work in UNIX and I don't have a $ prompt, I have a # prompt.
    # rm -r /* can just ruin your day!

  • @infotruther
    @infotruther 4 ปีที่แล้ว

    Hey I'm the 1000 person who liked your video. Do I get a cookie now and please not 01 type of cookie lol

  • @suriyas1456
    @suriyas1456 4 ปีที่แล้ว +7

    r/unintentionalASMR