Terminal vs. Bash vs. Command line vs. Prompt

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024

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

  • @LukeSmithxyz
    @LukeSmithxyz  3 ปีที่แล้ว +42

    URGENT! Read this:
    lukesmith.xyz/deletion

    • @bioemiliano
      @bioemiliano 3 ปีที่แล้ว +6

      Ok, time for finally adopting RSS.

    • @Raccoonov
      @Raccoonov 3 ปีที่แล้ว +2

      Oh, YT at its finest bigotry... I'm with you, Luke! ) Will follow wherever you go

    • @rodi2641
      @rodi2641 3 ปีที่แล้ว +1

      Looking at this video ...seems like you deserve it

    • @MrGrimm1337
      @MrGrimm1337 3 ปีที่แล้ว +1

      TH-cam is just for TV channels and cat videos anyway. Move on to LYBRY, Trovo or Bitchute bro :

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

      PS. I love the reasons you got strikes for ! FUCK PAJEETS :

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

    I love your stuff Luke, but to be honest I use only like 5-10% of the tips you give. I'm here mostly for the powerful boomer energy

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

      I only feel it when I am sipping my white monster... siiiiiiipppppp!

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

      > I'm here mostly for the powerful boomer energy
      This. Totally this.

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

      Honestly I’m here for boomer energy and minimalist programs I’ve never heard of

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

      I'm only using the 10% of my brain also.

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

      What is the powerful boomer energy?

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

    "All of those different things are different." - L. Smith 2019

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

    People on stack overflow be like: 3:13-3:16

    • @codex8797
      @codex8797 2 ปีที่แล้ว +12

      teachers who say you can ask anything (no matter how simple it may seem) when you ask a question

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

      My like completes 69 likes

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

      Also like 6:22

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

      Reddit too

  • @grjesus9979
    @grjesus9979 3 ปีที่แล้ว +61

    So, to sum up:
    - Terminal: Program that emulates the functionality of an old terminal. Nowadays it includes much more functionalities than old days.
    - Bash: Interpreted language than is being used to interface with the computer and OS.
    - Command line: The line in wich you are writting the code inside the terminal
    - Prompt: Small portion of information, at the beginning of every command line that shows something related to the computer user or basic information about the computer within few words
    Let me know if i am wrong. Dont forget, we all are learners, dont take it seriusly.

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

    I've lived all of 67 years now and it wasn't until I began watching you, Luke, that I learned I'm a boomer and that I have all these amazing powers at my disposal. Who says you can't teach an old dog new tricks? Bah! Humbug! From one boomer to another, I love your vids :)

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

      ok boomer

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

      @@Surister0 😸😸

    • @rodi2641
      @rodi2641 3 ปีที่แล้ว +8

      there is nothing called as boomer...there are just smart people who continue to learn and improve throughout their lives being a valuable member of society and inspire others...you seems to be of that kind

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

      Great!!

    • @AbuAl7sn1
      @AbuAl7sn1 2 ปีที่แล้ว +1

      being old man is touching my heart
      i wish i could help u to believe in one God .
      i know u look at me like im brainwashed ، but please, by using your scientific methods just take alook at the quran
      please it will take less than a week from you
      you lived 67 years for this life , just 1 week for the other life ❤

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

    2:07 Sure, you could consider bash a language. But the terminal emulator isn't running bash-the-language, it's running bash-the-shell which runs bash-the-language. (A shell is a type of interpreter.) Also, the shell you use is normally decided by a per-user configuration setting, not by the terminal emulator.

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

      Thank you for this clarification.

    • @amitkumargupta-
      @amitkumargupta- ปีที่แล้ว +3

      This is useful, Thank you!

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

    Every video Luke uploads is another month Luke will go MIA.

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

      He hides cringing profusely about what he just posted.

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

      @Everything Because he's working on his cabin

    • @Quincycle
      @Quincycle 2 หลายเดือนก่อน

      Prophetic

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

    Me: Damn Luke, the holiday season really did improve your YT productivity !
    Luke: Don't worry kiddo, I'll go AWOL for the next 2 months.

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

    I have never seen this type of video before, but it is suddenly obvious that there should be more people pointing out these differences. Very good! Thank you.

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

    1 day later
    Distrotube: Why use Bash or Zsh when you can AWK everything

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

      you know you can run powershell on linux too

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

      @@robbirobson7330 You serious? That's worth me looking into for work reasons then...

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

    Very informative... I just have one question. How do you change the background color of Python 3.7? 😂

    • @OysterHuman
      @OysterHuman 3 ปีที่แล้ว +21

      print("█"*100000)

  • @miladabujarada
    @miladabujarada 3 ปีที่แล้ว +11

    "Laugh at it" 100 times! No need to laugh at people you can politely correct them and explain to them so they understand. Noobs are in a learning process and the last thing they want is to be launched at. Keep doing the good work through your videos and be more sensitive towards noobs because this is a field where even the most experienced engineers have new technologies to learn almost every year. By the way I gave the video 👍🏽

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

    9:01
    Angry command line

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

    [9:40] Sure, the prompt colors are set in the shell configuration, but they're not interpreted by the shell. It's the terminal emulator that interprets and displays them (ANSI escape codes).

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

      They usually are in the form of prompt formatting strings like "%cb". Then the shell will emit the escape codes that your terminal supports (as written in the termcap files).

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

      @@Mankepanke I *hope* the shell uses Terminfo and not Termcap. 🤔

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

      @@humm535 isn't terminfo the API that read the the termcap files?

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

    Good video!
    I'd also add in about a little difference between CLI (ls, dd, youtube-dl, pacman) and TUI (vim, newsboat, ranger, irssi) programs while on this topic, because people tend to confuse these pretty often.

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

      thanks for it, yep, i had idea tthat those are different things, but didnt know the exact names. thanks for sharing

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

      @@yash1152 no problem!
      I'll elaborate on the distinction a bit. As a rule of thumb, CLI software is easily scriptable, while TUI is more interactive and keyboard driven.
      If it's output can be effectively parsed using grep, it's CLI. If it has GUI-like rich interface, but on the console (usually by means of (n)curses library), it's TUI

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

      @@netrezv thanks a lot for input.
      > _"ususally by means of (n)curses library"_
      yeah, i have read that curses/ncurses thing on web: "vim in ncurses based editor" but on trying to look it up surfacially, it went over my brain.
      > _"CLI = scriptable; TUI = Interactive + keyb driven"_
      so, TUI can still have some daily use applications like ViM editor, ViEB browser, etc. But the scope of CLI is very different than normal applications right? i mean, yeah, it's fast for batch, piping, and specific actions etc, but still, those are not the things of normal daily use. am i right?

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

      What is TUI short for? Text User Interface?

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

    3:08 CTRL+K, CTRL+U, CTRL+Y is basically -copying- cutting and pasting in bash.
    Copying/pasting to/from clipboard in a script could fall under "copying and pasting in bash" too.

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

    I have two questions:
    1. How do I copy and paste in bash?
    2. How do I scroll up and down in bash?
    Joking aside, I'm a complete newbie and those are the questions I would have definitely asked before having watched this video. I can now confidently say that the amount of silly questions I'll be asking in the future has decreased by two. 😀Thank you.

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

      Still have more silly questions?

    • @Limp_Daddy
      @Limp_Daddy ปีที่แล้ว

      How do I store a fax on my hard drive?

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

    This is SOOOOOOOO desperately needed! You made so many nice tutorials before but if this one is not cleared out of the way those tutorials could not be appreciated by newbies. Thank you so much my Tech God Luke!

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

    "bash is merely a language" "bash has this binding control C"

  • @henryalferink1941
    @henryalferink1941 2 ปีที่แล้ว +1

    5 years of being a Python coder, and never knew how much I needed this video

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

    3:04 Rather than “stupid question” I’d call it an ambiguous question. As such, it is one that is NOT likely to be answered the way the asker intended. Asking how to copy/paste in bash could mean to read/write the OS clipboard, it could mean yank/put in `set -o vi` mode, it could mean to pipe into and out of `tee`, it could mean to `exec > >(tee $name.log | log -t $name)`, etc. Great info though.

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

      Yea what about the cp command as well

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

    You are very talented in explaining complex stuff. Thank you so much and keep posting videos plz.

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

    "What is bash?"
    Isn't it obvious? Bash is bloat.

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

    Hey, Luke! There is a way to run Python-like environment as a shell. It is called xonsh and it is a superset of Python aimed to make it more shell-like (completion, piping, history, easy access to environment variables). As far as I know it is in development but that's pretty cool project (but to be frank it has many issues, e.g. slow startup time).

  • @thingsiplay
    @thingsiplay 3 ปีที่แล้ว +2

    "Don't say funny things…" - Luke Smith, 2019

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

    Quick Summary: Terminal, Bash, Comand Line, Prompt... different aspects of what you may be using at the same time.
    [1]: a TERMinal started out as the *Hardware* keyboard+display on your desk (with NO processing logic inside) that sent all keystrokes to a remote computer (where the thinking+CPU+programs run) and the computer would send text information back to be displayed for you. Like THIS VT100 terminal: en.wikipedia.org/wiki/VT100 For the last 30 years, this is usually a terminal *emulator* program that behaves the same way that an old terminal Used to... but no separate hardware.
    [2] BASH is a "shell" program that runs as soon as you login to unix/Linux, and tries to understand commands that you type, then figure out what you want the computer to do next. (often by finding another program you want to run) There are sever "shell" options: sh=Bourne-Shell, ksh=Korn-sheell, csh=C-shell, bash=bourne-again-shell, and more.
    [3] a COMMMAND Line represents the command/directions/request/instructions that YOU type into the computer's shell.
    [4] a PROMPT means that the computer is waiting for you to type something in to the computer from the keyboard. Prompt also refers to any short text message that the computer prints out (just before the cursor) to let you know what's going on, and what to type next.
    So... al lof these may be "active" at the same time when you are logged into a Linux computer.
    The terminal could be the "window frame" and background, that defines the frame, appearance, fonts, and general "canvas" for text information to be displayed on. Within that terminal environment, the computer may be running a bash "shell" that is displaying a prompt, and waiting for you to type a command line. After you type the command line and press enter, the shell reads that command line and tries to do what you want, or finds another program that will do that for you.
    If you want to change how things LOOK, for background/fonts, or scroll around, that is generally related to the Termianal's scope of responsibility.
    If you want to change how things BEHAVE, or your environment variables, or change your prompt, work with the Shell.
    If you want to automate things with a simple "shell script" program, then you will need to create a file full of shell commands using an editor like vi/vim and then tell the shell to run the commands in that file.
    Almost anything else requires running additional programs. (which the shell will help you find+run through $PATH directories)
    SO: That's a 30 second summary of this 11 minute video.

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

    love your explanations on stuff... always clear, concise, and complete...

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

    Well, technically you are not running "language" in terminal emulator. You are running interpreter

  • @ravenecho2410
    @ravenecho2410 9 หลายเดือนก่อน

    Helpful a bit like parameter, argument and keyword arguments

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

    4:25 Ctrl-Shift-C / Ctrl-Shift-V is also common AFAIK.

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

    5:12 Hold on: if bash is a language, how can it have a setting to stop a running program? Were you referring to the bash interpreter perhaps?

    • @igorthelight
      @igorthelight 3 ปีที่แล้ว +1

      You can kill a process in any language - here is an example for C:
      stackoverflow.com/questions/6501522/how-to-kill-a-child-process-by-the-parent-process

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

    thanks, i am a 15 year running (open)SUSE amateur...this video clears up a bit of the "pro mind set"...Thanks for the effort (Y)

  • @PHASES_OFFICIAL
    @PHASES_OFFICIAL 2 ปีที่แล้ว +1

    This is a well done introduction video thanks a lot!

  • @JuFF1989_FI
    @JuFF1989_FI ปีที่แล้ว

    "You secretly have something to learn you don't know about" got me :_D

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

    In short all of these different things are different.

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

    Me thinking the last video was good.
    Luke: there is another
    EDIT: just realized that this comment was cringy as hell.

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

    This code for color profile is similar to Luke's
    PS1="\[\033[01;31m\][\[\033[01;33m\]\u\[\033[01;32m\]@\[\033[01;34m\]\h:\[\033[01;35m\]\w\\[\033[01;31m\]]\[\033[01;37m\]$ "
    It will work in most terminals that have default settings and without any addons.
    Luke, thank you - great work and inspiring.

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

    Спасибо Ильич!

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

    This is the video I was looking for, but I didn't know it until I watched it. Thanks!

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

    Like :)
    Thank you, fun video to watch.
    I have a love/hate relationship with BASH...
    It is extremly powerfull but sometimes it drives me nuts..

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

    Love it, when Luke's face appears in the beginning, i know it's gonna be goood. :)

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

    I did need this video. You answered questions I've been wondering about.

  • @blassap
    @blassap 3 ปีที่แล้ว +2

    Hey there, love you're stuff. Just a small observation: Running /bin/sh happens alot when you are working in container land so POSIX compliancy has risen at least in my scripts ;)
    Edit: typo

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

    You do not have to laugh at people not knowing things, but at least you gave them a chance to know it. Appreciate it

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

    Thanks man, not the target audience, but this helped me a lot. I just opened up a terminal for the first time in my life to copy/paste and patch a game on Linux. Really just wanted to know some basic terminology to research further and understand what exactly I was doing.

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

    Well, isn't "man xclip" an answer to "How do you copy in bash"?

  • @MichaelKaplan-c2o
    @MichaelKaplan-c2o 8 หลายเดือนก่อน

    Terminal has roots in a mainframe world. It used to be a screen with a keyboard and connection to a mainframe. You had an editor that basically allowed you to write and run programs. Before terminals, you had punch card reader. Each card was a line of code.😅 Bash was used on terminals.

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

    Actually...THANK you! I always wanted to change the prompt color schemes 🙏

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

    Another awesome and informative video! Thanks Luke!

  • @MayMay-nn8ux
    @MayMay-nn8ux ปีที่แล้ว

    This video was very helpful! Thank you!

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

    Thank god for this video. I’m taking an operating systems class and was confuse during lecture. 😂

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

    I was really confused with the word like bash, shell, terminal emulator and other.... Thanks to you I get the point

  • @dannydan7376
    @dannydan7376 3 ปีที่แล้ว +1

    Hi, very indulging video and thanks for identifying these major differences.

  • @codecleric4972
    @codecleric4972 3 ปีที่แล้ว +1

    I thought this was going to be a boomer rant but it was actually just a genuinely informative and wholesome video lmao

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

    It's also good to know about interactive vs non-interactive shells and login vs non-login shells

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

    OH YES NEW VIDEO !!! Thx luke i learn a lot with you !

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

    The only useful boomer I've seen in my life

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

      He’s obviously not a boomer

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

      @proteusx * his fscking face

  • @samiam.402
    @samiam.402 2 ปีที่แล้ว

    Talks about not looking dumb. Wears sunglasses on top of while indoors.

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

    - "There are no Linux elitists"
    - "... People will think you are dumb."

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

    finally understanding some basic things,thanks to you, it was great help

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

    Wtf did he just use a mouse at the start ??!!

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

    Ladies and Gentlemen, Luke Smith is back in the game

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

    Personally, I don't see why a normal user's prompt on a local machine should have the user@hostname section. Obviously it should always be clear if you are root or on an ssh connection, but it seems like a huge waste of space.
    I have my Zsh prompt set to:
    [0]:~ %
    %F{green}[%F{yellow}%?%F{green}]%f:%F{blue}%B%2~%b%f %#
    %# will be % or # depending on if you are root, but I have kept Bash as the shell for my root user just to make it really obvious.

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

    Bash, zsh, the shell I would say , should be defined as "your environment" and the command line being "your non graphical interface"

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

    Re custom prompt.. Use `tput` instead of direct codes, it will make your life so much easier.
    The following is my prompt (a single red block since i'm using tmux for other details like pwd, git branch, ..)
    ```
    red=1
    BG_RED="$(tput setab ${red})"
    RESET="$(tput sgr0)"
    # prompt
    export PS1="\[${BG_RED}\] \[${RESET}\] "
    ```
    `setab` sets background using ansi escape sequence
    `setaf` sets foreground using ansi escape sequence

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

    Wow great explanation Luke!

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

    Great content. Keep up the good work Luke!

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

    Running Python as your primary shell isn't really such a crazy thing, actually.
    Well, the normal built in python shell is not really suitable as a command shell, but there are alternate shells like xonsh which are designed to replace bash in interactive use by mixing together python and bash syntax, so you can do things like piping and redirection, but also use python syntax for things like writing lists, dicts, loops, conditional statements, functions, classes, etc which is much simpler than bash's syntaxes.
    Another possibility is to use IPython with full rehashx magic, which will load everything in your $PATH into IPython magic commands, so you can run any system commands just like in bash. IPython used to even ship with `sh` profile which is designed for use in this manner.

  • @JonitoFischer
    @JonitoFischer ปีที่แล้ว

    Bash is a program that handles user input, is not a language (you can't run a language on a computer). The instructions you are allowed to give bash for processing define a programming language.

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

    Thanks Luke. My confusion is being directed better now.

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

    Hey Luke, how do I change font size in bash????

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

    Luke Smith for President!

  • @gamermapper
    @gamermapper 2 ปีที่แล้ว +1

    What about cmd and powershell? A lot of people would know them way more than bash cuz they use Windows. Are they languages too? Shells? Terminal emulators? Sad that this explanation didn't include those

  • @user-ri2lj1nl9d
    @user-ri2lj1nl9d 11 หลายเดือนก่อน

    Well, it's not right to say that bash is just a language. From the bash manual:
    "Bash is the shell, or command language interpreter, for the gnu operating system.
    A Unix shell is both a command interpreter and a programming language".

  • @MariaFernandez-pv9hn
    @MariaFernandez-pv9hn 3 ปีที่แล้ว +1

    Wants to make everything clear. Starts directly by saying "this window is a terminal emulator and it is also running a shell, like bash". Seriously dude? Is that how you start explaining what bash and a terminal is?

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

    "I've just brought up a window."

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

      here's another and another and now we have windows

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

    In the old Unix days a terminal was a end point to have access to the mainframe.

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

    Honestly, this video wasn't as helpful as I hoped. I wish you would've explained the relationship between the terminal emulator and bash more.

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

    Next video: Linux vs GNU/Linux

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

      There are distros that have 0 GNU code like Alpine Linux. What could possibly be an argument for calling a Linux system, GNU/Linux?

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

      Or as i've recently taken to calling it, GNU plus Linux

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

      I'd just like to interject for a moment

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

      @@med5032 Differentiating from something like Android, or referring to the use of GCC in compiling their software. I probably wouldn't call Alpine "GNU/Linux", but I don't think I'd fault someone for doing it either. Probably better than never saying "GNU/Linux" at all. I think some people latch on to the idea of Alpine because they want to be able to just say "Linux" without being corrected. I've heard it's a good distro, but I don't think most people who talk about it are actually using it. I wouldn't be surprised if some people got into BSD for a similar reason.

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

      @@SoundToxin If you use docker you use alpine almost always.

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

    Everything in the world makes sense now.

  • @umndrk600
    @umndrk600 2 หลายเดือนก่อน

    Thanks for informative video!!

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

    I truly love your stuff Luke.

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

    In school i had hudge arguent about this exact issue with teacher, he didn't know the difference and i always pin point what he said wrong. It really pissed him off. I think i might send him this video and see what happen next :D

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

    Love your content. Big vim help when I was new to it.

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

    Put the sleep 5 command right when you put the ad for 5 sec. very clever.

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

    The terminal on tinycore has this behaviour, which I think comes from flwm, the window manager: highlight something with a right click to copy, then middle click to paste. That's really annoying. The mac terminal has probably the most intuitive copy-paste behavior because macs use the command key for keyboard shortcuts, so the terminal can just use the regular shortcuts.

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

    Tinycore linux uses /bin/sh as the default shell. It uses busybox, I believe, which gives a POSIX-compliant, but not bash-compatible shell, which has caused me headaches when running scripts that assume that /bin/sh is bash.

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

    How do u increase font size of the terminal?

  • @NatrajKumar-yk5vv
    @NatrajKumar-yk5vv 4 ปีที่แล้ว

    As Russ Hanneman would say, "This guy fucks!"

  • @avimehenwal
    @avimehenwal 3 ปีที่แล้ว +1

    Very informative video, learnt something good about shell promps today :) nice
    Are there any interactive shells available for javascript as well? Which one are you using? Whats so nice about it?
    Thanks in advance

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

    Imperialism: The Highest Stage of Capitalism was a great read.

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

    actually, BASH, zsh, cshell, et al are command interpreters, correct. Like DCL is the command interpreter for VMS and RSTS.

  • @comgamilwebranger
    @comgamilwebranger 8 หลายเดือนก่อน

    This is a very good video .. good to know these terms

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

    So what is the difference between a command line (interface) and a terminal emulator?

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

    In addition, there's also the Line Editor.

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

      Which has a copy and paste feature. In fact zsh comes with a built-in line editor (ZLE). So asking how to copy and paste is a legit question for zsh. Alt-w and Ctrl-y for anyone wondering. Asking how to do it in bash is still wrong though. Bash uses separate line editor, GNU readline. As far as I know zsh is the only shell that does not use GNU readline. By the way, the clipboard for those line editors is not in sync with the system clipboard (which is what most people are looking for), but with some configuration you could sync it. Also don't tell beginners too quickly how to paste in the terminal. Before you know it, they paste everything they can find on the internet in it.

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

      @@hielke2332 Well, there are many shells not using readline: Dash uses libedit and I doubt the BSD /bin/sh's use readline.

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

      @@humm535 Yeah, you are right. Stupid of me to claim there exists no alternatives to some piece software. What I meant to say was, most shells don't incorporate their line editor in the shell language as much as zsh does. In other shells these are separable components.

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

    So terminal is the window, bash is the language inside the window, command line run different languages, and prompt is a specific name in each shell?

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

    SO SO helpful thank you !!

  • @thomastthai
    @thomastthai 10 หลายเดือนก่อน +1

    Helpful content about differences between terminal, shell, etc. One enhancement is to show empathy for people who may be at different stages in learning instead of "laughing at them." Empathy applies to most areas in life.

  • @sahil5124
    @sahil5124 18 วันที่ผ่านมา

    I think Shell is an Interpreter, that can interact directly with the OS.
    Whereas Sh, Bash, Zsh, Powershell are differerent kinds of Shells (or Interpreters)
    Correct me if I am wrong