Power Use of UNIX • Dan North • GOTO 2013

Поделиться
HTML-код
  • Опубликовано: 13 янв 2025

Комментарии • 129

  • @GOTO-
    @GOTO-  Месяц назад

    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: ruclips.net/channel/UCs_tLP3AiwYKwdUHpltJPuAjoin
    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 ( ruclips.net/video/g3jOJfrOknA/видео.html )
      Longer: VCF East 2019 -- Brian Kernighan interviews Ken Thompson ( ruclips.net/video/EY6q5dv_B-o/видео.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.

  • @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 6 лет назад +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.

  • @nXqd
    @nXqd 9 лет назад +62

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

  • @notmusics
    @notmusics 8 лет назад +8

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

  • @navarrodba
    @navarrodba 7 лет назад +2

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

  • @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.

  • @calanm7880
    @calanm7880 3 года назад +2

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

  • @thingsiplay
    @thingsiplay 4 года назад +2

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

  • @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 3 месяца назад

      SystemD is not really a single executable or command

  • @smorrow
    @smorrow 5 лет назад +3

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

  • @jaworskij
    @jaworskij 5 лет назад +2

    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.

  • @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.

  • @gregf9160
    @gregf9160 7 лет назад +2

    That was _really_ nice. Thanks, Dan.

  • @marianoforti1737
    @marianoforti1737 5 лет назад +1

    this talk is so good

  • @andriirubtsov5404
    @andriirubtsov5404 6 лет назад +2

    'fish' shell is also worth considering

  • @TejaswiBitra
    @TejaswiBitra 9 лет назад +1

    Jaw dropping, insane Unix

  • @EdwardVarner
    @EdwardVarner 2 года назад +2

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

  • @steve17
    @steve17 8 лет назад +7

    The messed up powerline bar in Vim drove me nuts.

  • @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 %

  • @saf271828
    @saf271828 4 года назад

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

  • @hblaub
    @hblaub 7 лет назад +1

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

  • @taco2s299
    @taco2s299 Год назад

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

  • @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 8 лет назад +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 ;-)

  • @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 5 лет назад

      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.

  • @yeonghokim
    @yeonghokim 8 лет назад

    Really enjoyable talk!

  • @ImageJPEG
    @ImageJPEG Год назад

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

  • @LambdaJack
    @LambdaJack 5 лет назад +1

    "Everything is a set"!

  • @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

  • @towolf
    @towolf 5 лет назад +1

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

  • @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

  • @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.

  • @PalinuroRex
    @PalinuroRex 6 лет назад +1

    Your awesome dude

  • @bbpetrov
    @bbpetrov 5 лет назад

    you reminded me to watch Bourne series again!

  • @KarthikS30712
    @KarthikS30712 2 года назад +1

    Dan North.... Darth Non.

  • @extrachannel7457
    @extrachannel7457 4 года назад

    Does this work in linux

  • @punkflyer5954
    @punkflyer5954 8 лет назад +1

    wow~very cool~ operation

  • @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?

  • @JohnThrowerHome
    @JohnThrowerHome 9 лет назад

    Great session #unix

  • @AdrienSales
    @AdrienSales 4 года назад

    Great talk !!!

  • @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.

  • @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 ?

  • @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 :)

  • @CarlosAlexandre-dc3lw
    @CarlosAlexandre-dc3lw 6 лет назад

    Awesome talk!

  • @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 7 лет назад +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.

  • @adamryan3867
    @adamryan3867 5 лет назад

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

  • @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

  • @BeatSyncBytes
    @BeatSyncBytes 5 лет назад

    The best

  • @civfiveaddict8527
    @civfiveaddict8527 6 лет назад

    Nice talk

  • @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>&-

  • @nikosc
    @nikosc 6 лет назад

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

    • @mad3m6n
      @mad3m6n 5 лет назад +1

      This is bash and on Linux.

    • @francescoorlando5163
      @francescoorlando5163 5 лет назад +1

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

  • @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.

  • @alexxx4434
    @alexxx4434 5 лет назад

    UNIX crash course

  • @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.

  • @AssWhole-u6d
    @AssWhole-u6d 5 лет назад +1

    I think Unix is better than Windows.

  • @aceflamez00
    @aceflamez00 8 лет назад +4

    You sound like lewis from the Yogscast lol

  • @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.

  • @RonJohn63
    @RonJohn63 8 лет назад +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 года назад

      @mem reflect Maybe he thinks his audience knows this and in advance

  • @ji1046
    @ji1046 5 лет назад

    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.

  • @ryanwilson8629
    @ryanwilson8629 4 года назад

    He doesn't even know his Unix history.

  • @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.

  • @naheelazawy
    @naheelazawy 6 лет назад +3

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

  • @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.