Power Use of UNIX • Dan North • GOTO 2013

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 129

  • @GOTO-
    @GOTO-  6 днів тому

    Looking for books & other references mentioned in this video?
    Check out the video description for all the links!
    Want early access to videos & exclusive perks?
    Join our channel membership today: ua-cam.com/channels/s_tLP3AiwYKwdUHpltJPuA.htmljoin
    Question for you: What’s your biggest takeaway from this video? Let us know in the comments! ⬇

  • @willyglover
    @willyglover 6 років тому +99

    UNIX was developed starting in 1969, by Ken Thompson, Dennis Ritchie and a couple other folks, not at Berkeley, but at AT&Ts Bell Labs. Berkeley university didn’t have anything to do with UNIX until 1977 when they created the Berkeley Source Distribution, or BSD. Fun fact, UNIX from V4 and on was rewritten in C, also developed by Dennis Ritchie, to make it more portable. It was previously written in PDP-11 assembly, for the first machine that ran UNIX. The first Bell Labs internal release was in 1971, and the first release outside of the Labs was 1973.

    • @vincenzo-zocca
      @vincenzo-zocca 5 років тому +7

      Dan knows his way around UNIX but still made a considerable slip-up regarding UNIX provenance. How long before some shady corporation will manage to get credit for UNIX, GNU and Linux?

    • @djonesuk
      @djonesuk 4 роки тому +5

      Stopped watching the instant I heard him make this major gaffe. The guy doesn't clearly doesn't know what he's talking about. If you're going to present yourself as an expert on a topic you should at least know the very basic stuff.

    • @robertmaclean7070
      @robertmaclean7070 4 роки тому +2

      Thank you so much so many people don’t know and they don’t know they dont know.

    • @schmoonkie
      @schmoonkie 3 роки тому

      I'm with David Jones on this one. Lost interest instantly early in the video after that serious mistake.
      Unix was initially developed on a PDP 7
      Short : The Thompson and Ritchie Story ( ua-cam.com/video/g3jOJfrOknA/v-deo.html )
      Longer: VCF East 2019 -- Brian Kernighan interviews Ken Thompson ( ua-cam.com/video/EY6q5dv_B-o/v-deo.html )
      The second is a longer presentation, which is informative and highly entertaining.

    • @hhskladby1596
      @hhskladby1596 3 роки тому

      He says he and UNIX were both born 1970

  • @taco2s299
    @taco2s299 Рік тому +2

    One of the best videos I have ever seen on the Internet.

  • @BrazenNL
    @BrazenNL Рік тому +3

    Right amount of humor, history and knowledge. Kudos.

  • @dipi71
    @dipi71 7 років тому +11

    The power of UNIX compelled me in 1990.
    UNIX is really that great that even the »UNIX HATERS Handbook« (Garfinkel/Weise/Strassmann, 1994) reads like a love letter.

  • @nXqd
    @nXqd 9 років тому +62

    I'm a sane developer, when I see Unix I click like :)

  • @jujharsingh8128
    @jujharsingh8128 5 років тому +5

    I still like to watch this again from time to time. Thanks @Daniel Terhorst-North

    • @BantuTu
      @BantuTu 3 роки тому +1

      Same here

  • @adam872
    @adam872 5 років тому +3

    Been using some variant of Unix since about 1991 and it's still the most powerful environment out there IMHO. It's also simple in concept and execution, which makes it wonderfully elegant.

  • @flyddw
    @flyddw 2 роки тому +3

    it's funny you do the "echo cmd" technique. I've learn that a while back. BUT - instead of REMOVING the echo once you are assured the command is good, I just add "| bash" (or whatever shell you like) - and BOOM - it executes all the commands you created with text.

  • @thingsiplay
    @thingsiplay 3 роки тому +2

    Written by Jason Bourne. I almost spit coffee without having coffee in my mouth. 🤣 Wonderful.

  • @calanm7880
    @calanm7880 3 роки тому +2

    Friday night - this vid is way better than the tele!

  • @navarrodba
    @navarrodba 7 років тому +2

    All presentation in plain text...cool!!! And very interesting this. Very nice!

  • @hrnekbezucha
    @hrnekbezucha 6 років тому +14

    _"Each command does one thing and it does it well."_ I really thought the exception will be _systemd._

    • @meteor8076
      @meteor8076 5 років тому +1

      hahaha, funny

    • @YoutubSUCKZ
      @YoutubSUCKZ 4 роки тому

      systemd was inspired by microsoft technology

    • @LostieTrekieTechie
      @LostieTrekieTechie Місяць тому

      SystemD is not really a single executable or command

  • @notmusics
    @notmusics 8 років тому +8

    Great talk. I was hoping he'd describe that python one liner he mentioned at 12:23

  • @smorrow
    @smorrow 5 років тому +3

    In Plan 9 you could just click on the output of the grep -n

  • @EdwardVarner
    @EdwardVarner 2 роки тому +2

    I expected this to be about the power draw Unix creates vs other OSs lol Still an interesting talk!

  • @jaworskij
    @jaworskij 5 років тому +1

    AT&T's Bell Labs created UNIX and C. Berkley just added stuff to it, called it "extensions" and gave away or sold its own version. that's why we have System V UNIX (AT&T) and Berkley UNIX or BSD.

  • @andriirubtsov5404
    @andriirubtsov5404 6 років тому +2

    'fish' shell is also worth considering

  • @gregf9160
    @gregf9160 7 років тому +2

    That was _really_ nice. Thanks, Dan.

  • @steve17
    @steve17 8 років тому +7

    The messed up powerline bar in Vim drove me nuts.

  • @vxe1392
    @vxe1392 8 років тому +34

    unix, invented at berkeley eh? 1:17

    • @ricardo.mazeto
      @ricardo.mazeto 8 років тому +9

      He's mistaking Unix by it's clone BSD.

    • @mhammad7391
      @mhammad7391 6 років тому +8

      It was built at Bell Labs led by Dennis and Ken Thomson.

    • @prodevel
      @prodevel 5 років тому

      Dennis Ritchie to be more precise.

    • @jaworskij
      @jaworskij 5 років тому

      That equivalent to Al Gore claiming he invented the Internet.

    • @hhskladby1596
      @hhskladby1596 3 роки тому

      He is not mistaking nothing, he gives 1970 as Unix birth, then jumps to BSD, and then showing Linux stuff as "Unix" - as informal as it is normal, and we all know what he is talking about. That's from a conference where attendees need not been told basics.

  • @abdellahcodes
    @abdellahcodes 4 роки тому +3

    Rewatching after a few years. This is pure gold.

    • @ZakariaRabiai
      @ZakariaRabiai Рік тому +2

      It's been a few years

    • @abdellahcodes
      @abdellahcodes Рік тому

      @@ZakariaRabiai wow, I love this comment
      The previous one was a few years after watching it the first time, maybe I should watch it again

  • @ImageJPEG
    @ImageJPEG Рік тому

    This has shown how heavily unused I’m using FreeBSD.

  • @hblaub
    @hblaub 6 років тому +1

    Really great stuff. Most of it, I'll use at least once a week :-D

  • @AxelWerner
    @AxelWerner 8 років тому +12

    One OS to rule them all GNU/LINUX

    • @edgeeffect
      @edgeeffect 5 років тому

      GNU/Linux gets more like Windows every day... I long for the simplicity of Unix before smart-ass developers decided they had infinite memory and processing speed.

    • @zzRider
      @zzRider 5 років тому

      edgeeffect you long for the Minix 3?

    • @mad3m6n
      @mad3m6n 4 роки тому

      Nasty.

    • @eamoc
      @eamoc 4 роки тому

      @@edgeeffect go Void, or Artix

    • @antagonizingusername
      @antagonizingusername 4 роки тому

      @@edgeeffect You have the power to use simpler/more unixy programs on Linux with like 90% compatibility beyond maybe bloated garbage like steam requiring pulseaudio. All the bloat/windowsisms/redhat bullshit is just the result of Linux entering the public eye and the baby duck syndrome/refusal to adapt to something new from your average sheep consumer.

  • @garyg3
    @garyg3 8 років тому +1

    Getafix! OMG I haven't seen that name in years. I think I'm going to go through my Asterix comic books! :D

  • @TejaswiBitra
    @TejaswiBitra 8 років тому +1

    Jaw dropping, insane Unix

  • @unixdude44
    @unixdude44 8 років тому +4

    I never understood why Microsoft couldn't include these tools in MSDOS package, they are so easy to write.

    • @ediz911
      @ediz911 8 років тому +1

      easy, yeah right ^^

    • @thewatcher_476
      @thewatcher_476 8 років тому +1

      "easy"

    • @BryonLape
      @BryonLape 8 років тому +1

      But edlin was so great.....

    • @RonJohn63
      @RonJohn63 7 років тому +5

      Because you don't understand that MS-DOS is a direct descendant of the single-tasking CP/M OS.

    • @ranader8102
      @ranader8102 6 років тому +1

      Lookup Xenix ;-)

  • @saf271828
    @saf271828 4 роки тому

    The "dd" command was inspired by the IBM S/360 "DD" directive in JCL files.

  • @marianoforti1737
    @marianoforti1737 5 років тому +1

    this talk is so good

  • @bbpetrov
    @bbpetrov 5 років тому

    you reminded me to watch Bourne series again!

  • @youreale
    @youreale 6 років тому +11

    My first thought was that presentation was about the power of UNIX, wich is a canonical piece of technology. But the moment you start using VIM to present the content, I realized that the talk is about religion, not UNIX.

  • @BryonLape
    @BryonLape 8 років тому +15

    And Windows only trained server admins wonder why I install CygWin on all the servers for which I am responsible.

    • @jonesconrad1
      @jonesconrad1 6 років тому

      not everyone is trained, some people can learn for themselves.

    • @Southpaw101
      @Southpaw101 5 років тому

      You don’t have to any more with WSL

    • @meteor8076
      @meteor8076 5 років тому +2

      @la il "no one uses any of these Unix-like operating systems nowadays" are you serious ? Unix is almost on any device. What do you have in the pocket right now Android or iPhone ?

  • @SteelHorseRider74
    @SteelHorseRider74 5 років тому +2

    You know you are a Unix guy if you a. use neither Apple nor x86(_64), b. use zsh and c. use vim for presentation!!! ^_^

    • @jonesconrad1
      @jonesconrad1 5 років тому

      If you're a unix guy you have installed zsh on your Apple UNIX (prior to current version because it's the default now)

    • @hhskladby1596
      @hhskladby1596 3 роки тому

      Yes, zsh would be nowhere without Bash's GPL vs Apple, ie. zsh means you are Mac

  • @KarthikS30712
    @KarthikS30712 2 роки тому +1

    Dan North.... Darth Non.

  • @PalinuroRex
    @PalinuroRex 6 років тому +1

    Your awesome dude

  • @yeonghokim
    @yeonghokim 8 років тому

    Really enjoyable talk!

  • @AdrienSales
    @AdrienSales 4 роки тому

    Great talk !!!

  • @LambdaJack
    @LambdaJack 5 років тому +1

    "Everything is a set"!

  • @adamryan3867
    @adamryan3867 5 років тому

    That's what I do everyday without any production..

  • @CarlosAlexandre-dc3lw
    @CarlosAlexandre-dc3lw 6 років тому

    Awesome talk!

  • @towolf
    @towolf 5 років тому +1

    Zee-Shell, or Zed-Shell, please decide.

  • @punkflyer5954
    @punkflyer5954 8 років тому +1

    wow~very cool~ operation

  • @JohnThrowerHome
    @JohnThrowerHome 9 років тому

    Great session #unix

  • @BeatSyncBytes
    @BeatSyncBytes 5 років тому

    The best

  • @ximalas
    @ximalas 6 років тому +1

    According to Brian Kernighan, it's pronounced e d, not ed. Have a look at the computerphile interviews.

    • @smorrow
      @smorrow 5 років тому

      Rob Pike used the same pronunciation in a recent, very good talk.
      And yet sed is a single syllable. One thing I've always wondered is: if Rob Pike doesn't say /Ed/ (like the male name), then why were the next ones called jim and sam?

  • @taco2s299
    @taco2s299 Рік тому

    Btw, does anyone know what terminal emulator he is using? I can't identify it.

  • @OfferoC
    @OfferoC 8 років тому +13

    "Do all your logging through stdout." NO WAY. This is not good practice. stdout should be used for human consumption of messages or as information meant to be piped to other programs. Syslog is good. "Print"ing your log statements is bad. Use stderr for logging if you are using one of the normal piping mechanism. And also use proper exit codes.
    Otherwise, great overview.

    • @danschmidt5189
      @danschmidt5189 8 років тому +3

      +Chris K STDOUT can be easily rerouted to other destinations (log files, syslog, ...). It's also simpler, eliminating the need to guess what file(s) the application logs to. And lastly it works well with a container tool like Docker, which expects the primary process to log to STDOUT.

    • @OfferoC
      @OfferoC 8 років тому +3

      I agree for simple cases, except using stderr as the log channel. Also, stdout logging is synchronous, so if you are in an async environment, be aware of that.

    • @dipi71
      @dipi71 7 років тому

      It’s only synchronos if you fsync(2) all the time; else, it’s buffered like almost everything I/O.
      As I understand »daemonizing processes«, you are supposed to close all handles besides STDIO because then your daemon is compatible with foreground execution, syslog'ed or even rsyslog'ed/journald’ed background execution.

    • @TruthNerds
      @TruthNerds 6 років тому

      ​@@danschmidt5189 stderr can also be easily redirected in a typical shell. E.g. (bash):
      Redirect stderr to file:
      foocmd 2>/path/to/my/file
      Redirect both stdout and stderr to same file:
      foocmd &>/path/to/my/file
      Merge stderr into stdout (can be combined with a pipe, of course):
      foocmd 2>&1
      Or, if you feel fancy, you can even swap stdout and stderr:
      foocmd 3>&2 2>&1 >&3 3>&-

  • @noriotakemoto1462
    @noriotakemoto1462 7 років тому +4

    What is the program he is using for his presentation? Is it vim? And what is the mode or add-on to show and hide the blocks?

    • @danieltripp2578
      @danieltripp2578 5 років тому

      Did you ever find out ? I like the idea of some kinda virtual markup/markdown in the shell...

    • @danieltripp2578
      @danieltripp2578 5 років тому

      @@victordu7216 He (presenter Dan) already said he was using tmux, I think what Norio was asking was what was the markdown/markup or whatever "thing" that he was using for the text of the presentation... I'm intrigued - I could use something like that...

    • @danieltripp2578
      @danieltripp2578 5 років тому

      I think it might be vim outliner.... ?

    • @p410n3
      @p410n3 5 років тому +3

      The program is vim and the way he opens the text is just code folding.
      When you are in vim press zf9j to fold 9 lines. Or zf100j for 100 lines. Also works with f and %

  • @civfiveaddict8527
    @civfiveaddict8527 6 років тому

    Nice talk

  • @AssWhole-u6d
    @AssWhole-u6d 5 років тому +1

    I think Unix is better than Windows.

  • @NickNorton
    @NickNorton 6 років тому +1

    Windows Admins click on cute icons. *nix Admins execute commands.

    • @smorrow
      @smorrow 5 років тому

      And edit text files. How do you take the diff between two Control Panel configs? How do you make a config locally then email it to someone? How do you write a script that outputs a config?

    • @philosophiaentis5612
      @philosophiaentis5612 5 років тому

      Windows is a toy compared to UNIX.

  • @juaneduardocasillacamarill8383
    @juaneduardocasillacamarill8383 4 роки тому

    great video! but it was a zsh, not unix, video ):

    • @Reichstaubenminister
      @Reichstaubenminister 3 роки тому

      Well, some UNIX basics, more Linux basics and then some shell basics. And I think everything he showed in the shell is POSIX compliant.

  • @mercster
    @mercster 6 років тому +3

    I'll watch the video, but damn dude. Berkeley invented UNIX? Impetuously using VIM for a talk instead of a more suitable tool? My first UNIX prompt was in 1992, but I think you are the tool here.

    • @mercster
      @mercster 6 років тому +2

      I'm watching you having great difficulty navigating the VIM file you decided would be good for a presentation, I guess in order to look "hip" and let us know that vi can do anything. You dope.

    • @mercster
      @mercster 6 років тому +2

      A talk extolling the beauties of UNIX, and then push zsh so hard... disgrace. I HATE THIS WHOLE TALK.

    • @TruthNerds
      @TruthNerds 6 років тому

      Also, Bourne shell was written by _Jason Bourne_ ? His cheap joke depends on it, but the actual author is Stephen R. Bourne.

  • @smorrow
    @smorrow 5 років тому

    Brian Kernighan did not write cc.

  • @AbhishekSinghSambyal
    @AbhishekSinghSambyal 7 років тому

    His system's battery backup is 4hr 10mins.
    Since when Linux machine started giving this much backup?
    The maximum I get on Lenovo Y50 is 2hrs. I tried TLP/PowerTop, disabled my Graphics card but it didn't help.
    If someone knows any other way please let me know.

    • @leberkassemmel
      @leberkassemmel 6 років тому +1

      Two things Apple did right:
      - I get over 14 hours of battery life on my Macbook Air (2015, 13") on the CLI. This is more than the claimed 12 hours.
      - Make the man pages better than linux. Or use the BSD ones and not change them. I don't care which one it is, only thing i know is with the Mac tar manpage i am able to extract an archive. The linux version tells me it is crap and i should use "info tar".

    • @hhskladby1596
      @hhskladby1596 3 роки тому

      12 hours on cheap Asus with Flash storage only. Your working machine need not be a server.

  • @randyt700
    @randyt700 8 років тому +1

    what unix is he actually using vim on? or is it a linux distro?

    • @OmarPolo
      @OmarPolo 8 років тому +3

      +Randy Tang He's using Ubuntu. I cannot tell you the version, but that (unfortunatly) was clearly ubuntu :)

  • @aceflamez00
    @aceflamez00 8 років тому +4

    You sound like lewis from the Yogscast lol

  • @extrachannel7457
    @extrachannel7457 4 роки тому

    Does this work in linux

  • @alexxx4434
    @alexxx4434 4 роки тому

    UNIX crash course

  • @RonJohn63
    @RonJohn63 7 років тому +4

    "Unix was invented by very smart people..." True.
    "at Barkley (Berkeley) University..." ? Stunned silence, then ROFL.
    "in 1969." True.
    With this much of an error rate on such simple stuff so early, I think I'll pass.

    • @jonesconrad1
      @jonesconrad1 7 років тому

      My thoughts too.

    • @hhskladby1596
      @hhskladby1596 3 роки тому

      @@epsi Maybe he thinks his audience knows this and in advance

  • @hhskladby1596
    @hhskladby1596 3 роки тому

    Please rename it "standard tools in Unix based shells". It is not about Unix, nor any powers besides knowing these tools or not.

  • @nikosc
    @nikosc 6 років тому

    Where can I find a video like this but for Linux?

    • @mad3m6n
      @mad3m6n 4 роки тому +1

      This is bash and on Linux.

    • @francescoorlando5163
      @francescoorlando5163 4 роки тому +1

      Pietro Sammarco Sta utilizzando zsh non bash. though unix commands generally are the same for GNU/Linux, BSD and other UNIX-Like OS

  • @ryanwilson8629
    @ryanwilson8629 4 роки тому

    He doesn't even know his Unix history.

  • @naheelazawy
    @naheelazawy 6 років тому +3

    No one? Really?? Ok..
    EMACS IS THE BEST

  • @ji1046
    @ji1046 4 роки тому

    learning a syntax such as "for f in *(.); do =${f%%.*}; mv }f }d/.;" or simply typing each number at the search bar and doing ctrl+a selecting everything and putting it into a folder? linux is a syntax hell and people also percieve if it was a good thing... all of these things can be done in windows gui without needing to know any commands. linux doesnt have a handful list of commands to begin with. a new user without internet can not do anything in terminal.

  • @charlesclements4350
    @charlesclements4350 5 років тому

    I can not understand a thing he is talking about. He talks too fast and skips around too much. I can not follow his logic. If Dan were to try to sell me a car, I would have been gone ten minutes ago.

  • @briananderson8733
    @briananderson8733 4 роки тому

    CALL BULLSHIT...... UNIX was invented by Ken Thompson and Dennis Ritchie at Bell Labs a part of AT&T. Berkeley came along later. BUT THEY DID NOT INVENT UNIX. THEY INVENTED BSD versions.