Why Do Command Lines Still Exist?

Поделиться
HTML-код
  • Опубликовано: 9 июн 2024
  • Learn more about Storyblocks Video at www.storyblocks.com/techquickie
    In this age of graphical interfaces, why are command line-based shells like PowerShell and BASH still around?
    Leave a reply with your requests for future episodes, or tweet them here: / jmart604
    ►GET MERCH: www.LTTStore.com/
    ►SUPPORT US ON FLOATPLANE: www.floatplane.com/
    ►LTX EXPO: www.ltxexpo.com/
    AFFILIATES & REFERRALS
    ---------------------------------------------------
    ►Affiliates, Sponsors & Referrals: lmg.gg/sponsors
    ►Private Internet Access VPN: lmg.gg/pialinus2
    ►MK Keyboards: lmg.gg/LyLtl
    ►Secretlabs Gaming Chairs: lmg.gg/SecretlabLTT
    ►Nerd or Die Stream Overlays: lmg.gg/avLlO
    ►Green Man Gaming lmg.gg/GMGLTT
    ►Amazon Prime: lmg.gg/8KV1v
    ►Audible Free Trial: lmg.gg/8242J
    ►Our Gear on Amazon: geni.us/OhmF
    FOLLOW US ELSEWHERE
    ---------------------------------------------------
    Twitter: / linustech
    Facebook: / linustech
    Instagram: / linustech
    Twitch: / linustech
    FOLLOW OUR OTHER CHANNELS
    ---------------------------------------------------
    Linus Tech Tips: lmg.gg/linustechtipsyt
    Mac Address: lmg.gg/macaddress
    TechLinked: lmg.gg/techlinkedyt
    ShortCircuit: lmg.gg/shortcircuityt
    LMG Clips: lmg.gg/lmgclipsyt
    Channel Super Fun: lmg.gg/channelsuperfunyt
    Carpool Critics: lmg.gg/carpoolcriticsyt
  • НаукаНаука

Комментарии • 2,6 тыс.

  • @Adam.Robert
    @Adam.Robert 2 года назад +2070

    I hit the like button for the “hey, built in dark mode,” joke. Legit chuckled.

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

      wat

    • @deultima
      @deultima 2 года назад +11

      LOL, Me too!

    • @lloyd1934
      @lloyd1934 2 года назад +7

      Same lol

    • @robspiess
      @robspiess 2 года назад +11

      Anthony had me at "Dark Mode".
      ... Might have been the last two words of the video (before the sponsor), but he had me.

    • @cookiesrawesomee
      @cookiesrawesomee 2 года назад

      Facts

  • @OhadLutzky
    @OhadLutzky 2 года назад +546

    One more advantage of the commandline is the ease of explaining how to do something complicated: "Here are the commands, paste them into your shell" can often be easier than a series of screenshots (which may be out-of-date) or an explanation of "here's roughly where that button would be, three menu layers deep".

    • @chrisdt2297
      @chrisdt2297 2 года назад +27

      All those In house tutorials with screenshots are still on Windows XP......
      When people just google the solution and never bother to update the documents

    • @user-pn4py6vr4n
      @user-pn4py6vr4n 2 года назад +39

      People say doing anything on Linux is difficult because of command line. You can follow tutorials by literally cut and pasting some commands. It doesn't get any easier.

    • @didikohen455
      @didikohen455 2 года назад

      I helped a friend that way a few days ago!

    • @WorBlux
      @WorBlux 2 года назад +6

      Yes, this is one thing another didn't touch on. The interface is extremely flat you can get to any command quickly, if you can only remember the command. (some newer cli interfaces make use of sub-commands which help reduce cognitive load similar to the tree menu system).

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

      @@WorBlux and that's frankly just limitations of the most common CLIs, not something inherent to what a CLI is. Modern operating systems have a concept of "push button, start typing, receive command autocomplete", and there are probably many shells which do the same and then some. And as a lightweight version of that - tab-completion, especially with modern extensible tab-completion for subcommands.

  • @Nordern
    @Nordern 2 года назад +823

    Never have something been so true like the comparison between GUI features & command line flexibility, learning how to use FFMPEG in the command line & batch scripts has been a game changer for me

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

      Hello Nordern! Love your content

    • @hippynurd
      @hippynurd 2 года назад +21

      Ive edited video on computers that were too slow to play the video, using ffmpeg.

    • @TheSchmed
      @TheSchmed 2 года назад +13

      I Still use it, all these new developers think the command line is a single command issue interface, until I showed them how to use for loops with subroutine calls, with delims and tokens, redirection, stdout and stderr, issuing sql calls via sqlcmd, file parsing, etc. they could not believe it, and all quite simple. They said “how are you doing this all out of your head ?” I said “Well, using it since he days I was a Novell Admin, then went the Sybase / Oracle DBA route on HPUX and AIX, then went to ksh and csh, then back to Windows for SQL Server, etc. a long road of fun fun fun.

    • @splitpierre
      @splitpierre 2 года назад +7

      Absolutely, oh the first time I've built FFMPEG from source on a Linux, what a worthwhile nightmare.

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

      I used ffmpeg because i couldn't find a good free video converter that supports most formats, they are all paid, 10 years ago there were a lot of free software but they are outdated now because they don't support new codecs and resolutions, i probably should make one myself when i will be able to do that

  • @SkySpiral7_Lets_play
    @SkySpiral7_Lets_play 2 года назад +431

    1 light weight and fast
    2 no UI issues
    3 easier to do complicated or repetitive tasks
    4 works on lots of systems
    5 more possible options
    6 dark mode

    • @ShadowebEB
      @ShadowebEB 2 года назад +53

      7 works on a distant server without having to virtualize the full environment

    • @kellenstuart4698
      @kellenstuart4698 2 года назад +6

      haha. I would argue old windows command-line is a UI issue in itself. Windows terminal is amazing though

    • @entelin
      @entelin 2 года назад +5

      The most important reason however is that commandline interfaces are vastly simpler to make. Therefore they are far easier to maintain and more stable and secure. They provide a sane place to start with the system, and on linux, the only universal way to configure things. Making gui tools the primary configuration tool for a system, is genuine structural insanity.

    • @SkySpiral7_Lets_play
      @SkySpiral7_Lets_play 2 года назад

      @@entelin yeah very stable. Config options are covered by point 5. It is possible to have something like the Windows settings app (search, tabs, menus, submenus etc) or something like the online PS1 builders but that's a ton of UI effort which isn't worth it. As much as I love UI, having a list of every flag that's in the man page in a UI form would be harder to use than just typing

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

      7 there's no reason to do away with it, and no one has to use it or even see it (much)

  • @ErilynOfAnachronos
    @ErilynOfAnachronos 2 года назад +971

    "It comes with a built-in dark mode."
    Nice one Anthony! 👍😁

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

      > COLOR F0 😉

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

      color 8
      for really dark mode

    • @Jesse-2531
      @Jesse-2531 2 года назад

      @@GeekIWG wot is the f for?

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

      @@Jesse-2531 The first character after the Windows/DOS COLOR command is the background color, and the second character is the foreground (text) color. "F" indicates bright white. "0" indicates black.

    • @MrRishabSharma
      @MrRishabSharma 2 года назад

      And during my initial days with command line, I thought green looks cool and fancy. Apparently history repeats.

  • @cloudybrains
    @cloudybrains 2 года назад +751

    Every developer/sys admin out there : Why do GUIs still exist when you have the command line available?

    • @realtechhacks
      @realtechhacks 2 года назад +80

      as a developer while I love the command line I would die if GUIs just disappeared

    • @lesserfield_
      @lesserfield_ 2 года назад +14

      TUI is still rock

    • @duckmeat4674
      @duckmeat4674 2 года назад +21

      @@realtechhacks as a developer, no this isnt true at all, CLI makes more sense for coding

    • @realtechhacks
      @realtechhacks 2 года назад +25

      @@duckmeat4674 So you would be happy if guis ceased to exist? I installed arch Linux, and I would say no. I use a graphical text editor or ide. I compile/run things as well as many other chores (ie moving files, etc.) using the cli. I use a graphical web browser to access stack overflow/reddit to solve bugs. That's not unusual. I am also a bit of a gamer, and a video editor. Those don't work too well in the CLI.

    • @duckmeat4674
      @duckmeat4674 2 года назад +14

      @@realtechhacks I use man pages for documentation, vim for writing code, maybe ill query stackoverflow for answer, and CLI for folder management. Arch was easy to install and I have a script for reinstalling it even

  • @AlejandroLZuvic
    @AlejandroLZuvic 2 года назад +159

    "If you use Linux sure you're familiar with Bash" *shows ZSH *

    • @MikkoRantalainen
      @MikkoRantalainen 2 года назад

      Oh, I assumed it was just bash with a weird PS1 config.

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

      As a ZSH user this triggered me.

    • @denniscleaver3559
      @denniscleaver3559 2 года назад +10

      @@RowenStipe FISH master race.

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

      @@denniscleaver3559 lmao

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

      Oh my zsh!

  • @guilleeeavgs
    @guilleeeavgs 2 года назад +32

    i loved the “hey, and it comes with built-in dark mode”

  • @CarputingYT
    @CarputingYT 2 года назад +641

    Anthony is awesome. Please keep him as a presenter, he's so friendly at explaining stuff and seems like such a genuinely nice dude.

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

      Agreed.

    • @kekistanifreedomfighter4197
      @kekistanifreedomfighter4197 2 года назад +28

      agreed. he's gone from being shy on camera during his new employee probation & first videos, to being one of the most liked hosts across the LMG channels.

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

      Agreed in third! I hope he gets to see these comments, too.

    • @voltaicfire1825
      @voltaicfire1825 2 года назад +6

      He's come a long way, good for him. I do wish he'd accept his balding though because long patchy hair doesn't do anyone any favours.

    • @bjre.wa.8681
      @bjre.wa.8681 2 года назад +7

      I would like to add. Linus Sebastian is a very good business owner. He spots; hires and then exploits (in a good way) raw talent. I would imagine he is very proud of his work force. They all seem to step up and shine. I'm sure Linus knows if he can keep developing the business pretty soon Yvonne and he will be able to step away and pursue other endeavors. This is what a growing successful business looks like.

  • @konnilol4
    @konnilol4 2 года назад +1100

    Title: "Why Do Command Lines Still Exist?"
    Me, a SysAdmin, who's using ssh 80% of the time he spends in front of a PC: "Because shell go brrrrr..."

    • @philipw
      @philipw 2 года назад +20

      Shell go "waaaaaaaaaaaaaaaaaaaa i'm brokey here have an error that no one has ever seen in the history of the internet"

    • @t_kups8309
      @t_kups8309 2 года назад +87

      @@philipw until you actually read what the error is and it probably tells what you're doing wrong

    • @h3xd3m0n9
      @h3xd3m0n9 2 года назад +60

      @@t_kups8309 he confused it with windows errors

    • @davkdavk
      @davkdavk 2 года назад +17

      Because I don't want monitors on 4 of my servers. I spose there is VNC or teamviewer, but After switching to Linux about 10 years ago, administration via a terminal is a lot easier for me.

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

      Windows 95. A Turtle and its Shell.

  • @suparki123
    @suparki123 2 года назад +15

    Also keep in mind that a GUI requires a LOT more additional work for the developers. As a result, there are a lot more tools that can only be used using code and/or command lines that simply aren't available using a GUI.

  • @jongeduard
    @jongeduard 2 года назад +74

    To me, it's EXACTLY the same question as why code based programming still very much dominates in general: it's indeed it's customizability & flexibility.
    If programming code and shell interfaces where not as very useful as they are, they wouldn't be so heavily developed as they are!
    For the same reasons "low code" programming solutions don't really win the battle in gereral. If they were more useful than code, they would have already been much more popular and dominant than they actually are! In reality those solutions are only used for simpler, more standardised, more predictable tasks.
    I personally believe that code will never disappear. In the future, if GUI's get more advanced, so does code as well! Code will always be most flexible for complex tasks.very much dominates in general: it's indeed it's customizability & flexibility.

    • @5cover
      @5cover 2 года назад +7

      I agree
      Imagine a world where everything is made in scratch

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

      id be careful about assuming that things which are more “useful” will inevitably be more popular
      also i wouldn’t call it a “battle”, each tool has its niche, use whatever fits the job

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

      @@5cover spaghetti code but visualized that would be terrifying. Although honestly python like syntax might be the future rather than visual scripting. It’s like looking at old predictions of flying cars we don’t realize that visual scripting has more problems than our current programming languages.

    • @davidnrose2135
      @davidnrose2135 4 месяца назад

      LCNC definitely has its uses. I don't think it's really that low code is intended to replace coding, it's got a different purpose, same that both GUI and CLI exist in parallel. I agree, there's lots that you wouldn't want to do in a low code environment. Equally, not everything needs to be fully scripted or customisable. Be led by the problem not the tool

  • @orangejuice
    @orangejuice 2 года назад +2956

    Anthony always delivers the facts. Love it.

    • @masterdoge17
      @masterdoge17 2 года назад +47

      Just beat the Electron wiz challenge with ZERO LOSSES

    • @an1ketsharma
      @an1ketsharma 2 года назад +28

      ITSA ORANGE JOOOCE

    • @Mo1o10
      @Mo1o10 2 года назад +34

      Clash royale content creators are still alive?..
      Wait.. clash royale alive...?????
      Jk i love ur vids but that game died for me sadly

    • @gabogamer_
      @gabogamer_ 2 года назад +5

      Now he can max up any card with only comands

    • @bettercallai_
      @bettercallai_ 2 года назад +6

      And you always deliver the unoriginal comments

  • @elijahcruz8895
    @elijahcruz8895 2 года назад +369

    "Your probably familiar with bash"
    Shows zsh

    • @WalkxYT
      @WalkxYT 2 года назад +18

      Noticed that too lmfao

    • @AverageSneedEnjoyer
      @AverageSneedEnjoyer 2 года назад +11

      It is funny, but you're probably using a bash shebang in your scripts anyway. I've used zsh for years for fancy prompts and plugins but I wouldn't say I "know" zsh, maybe that's pretty common?

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

      Yet pause to remember zsh when mentioning what Macos replaced bash with. Sneaky one guys ;)

    • @Vlad-1986
      @Vlad-1986 2 года назад +3

      And mentions using DOS, with a NT command prompt and NTFS file system instead of FAT16

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

      @@AverageSneedEnjoyer You guys don't use posix shells?

  • @tubester358
    @tubester358 2 года назад +94

    When I tried Linux I realized how although there's a much higher barrier to entry for using command lines instead of GUIs, while the commands themselves are hard to understand, you don't have to memorize them - you can always search or save & refer to them - and it's so much easier to debug error by just pasting/entering a command and hitting enter instead of following a long article with 15 steps of what to click and what button to scroll down to & hope everything you see on your screen is the same stuff they see (GUIs get update fairly often, command lines are more or less fixed)
    So tl;dr: they exist coz they're better, they're just harder to learn, meanwhile a *good* GUI can direct your eyes naturally to what you should click instead of requiring you to learn beforehand, too bad not that many GUIs are good lol

    • @AlexanderNecheff
      @AlexanderNecheff 2 года назад +12

      Two commands will change your life: `man` and `apropos`. `man` will render and display a manual page, some leave a little to be desired, others are fairly comprehensive even going so far as to provide examples of what arguments to use to accomplish certain common uses. While `apropos` lets you search through the manual pages if you don't quiet remember the name of the command you want to read the manual of.
      GNU adds a whole information pages system through the `info` command and many applications under the GNU umbrella focus on providing comprehensive info pages rather than man pages. It is a little more advanced but I appreciate the simplicity and consistency of the traditional man page.

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

      Einstein was once asked what the speed of sound was. He said he didn't know. When asked why he didn't know this fairly basic fact (about 300 metres per second is memory serves) he replied he could look it up if he needed it.

    • @ararune3734
      @ararune3734 2 года назад

      Instead of finding an article that tells you what to type into your terminal and hope it works for your distribution of Linux or Windows. Give me a break, why are you all being disgenuine? As if you have never found commands that are outdated or don't work for your particular distribution. Not to mention 95% of users have no fking clue what the command does, they just blindly copy-paste it.

    • @tubester358
      @tubester358 2 года назад

      ​@@ararune3734 What is this in response to exactly?
      I thought people usually include their OS version/distro in their search queries when looking up help. And the not knowing what you're doing is common either way; when using GUIs most people will just follow a _how to_ guide online, most people I know (even engineers) aren't comfortable enough poking around the OS and Microsoft for e.g. still does a terrible job at describing what things do in the UI
      I imagine most low level debugging info will also always stay behind terminals since it can be really dense & is rarely needed if at all
      Yes, Linux's dependence on the terminal is usually a copout for its lack of everything, but the terminal is useful enough that I don't imagine any time when it won't be available, to go back to the video (devs also need to use them). Terminals are also becoming more modern in diff ways

    • @linuswilliams9803
      @linuswilliams9803 2 года назад

      @@ararune3734 haven’t really shared this problem if you know what the commands do you’ll probably be fine. Some people just blindly copy commands, but that doesn’t mean everyone does. That’s usually for installing things, but you can’t almost always find what your looking for on the aur or GitHub. I don’t see how it’s disingenuous to like the command line when many of us use it daily. If you know a bit of command line then you can probably automate tasks through shell scripts with minimal ease. Also windows command line and power shell is horrible usability wise. I think this criticism is valid in a few cases and I know a lot of people like this. I have a pretty minimal tiling window manager setup and I work a lot in the terminal, but I have friends on pop_os and other very well configured and easy desktop environments and they tend to blindly execute commands. These people tend to use the terminal for grunt work and neglect how useful it actually is, but the figure of 95% seems extremely hyperbolic

  • @heinrichdertote149
    @heinrichdertote149 2 года назад +170

    Me, who uses the terminal for everything… “why wouldn’t they? GUIs are often way slower and more complicated…”

    • @fltfathin
      @fltfathin 2 года назад +6

      With the rise of natural language processing, cli should be easier than gui later by using plain natural language commands

    • @liesdamnlies3372
      @liesdamnlies3372 2 года назад +15

      @@fltfathin I can still type commands faster than I could articulate them with speech, sooooo…eh

    • @jackkraken3888
      @jackkraken3888 2 года назад

      Not necessarily, it depends on the situation. With GUIs you can also develop muscle memory as well.

    • @heinrichdertote149
      @heinrichdertote149 2 года назад +9

      @@jackkraken3888 sure, and for image editing for example they are basically the only way.
      But for everything I am doing, GUIs are worse.

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

      @@heinrichdertote149 Thats fine for you, but I I do love a well made GUI, eg Rufus (or Ventoy), its just clean and just does its job well.

  • @youdontknowme5969
    @youdontknowme5969 2 года назад +232

    me 10 years ago: What is this 70's Unix crap?
    me today: I can't live without bash at least

    • @oysteinsoreide4323
      @oysteinsoreide4323 2 года назад +9

      Unix and linux became quite good in the 90s after the 32 bit x86 platforms came.

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

      Yeah, I tried zsh but it didn't really work for me

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

      Based UwU

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

      loaded 'fish' on my linux machine. very very nice shell. it's like nice little additions that would have made bash even better. highly recommend checking it out.

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

      I recommend fish but don't go running any bash scripts in it, it wont work as its not POSIX compliant.

  • @RostislawNikishinorange
    @RostislawNikishinorange 2 года назад +228

    Also, a huge upside of console commands is development time. No need to spend so much time on designing and debugging all that UI

    • @oShinobu
      @oShinobu 2 года назад +36

      So much this. It's also much more lightweight, and command line programs like ffmpeg can easily be integrated into other applications. You can't really do that with GUIs.

    • @tylergriffin333
      @tylergriffin333 2 года назад +8

      Agreed. Super fast & easy to develop command-line interfaces. I use command args all the time for my programs on Windows at work, and on Linux for my Raspberry Pi programs at home.
      Very friendly for when your program is being run by other programs or the OS too.

    • @kartkibloczek
      @kartkibloczek 2 года назад +13

      And it's much more portable, because almost every programming language supports input > output operations in its standard library.

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

      I can't imagine anyone that writes software for self use would ever bother designing a GUI

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

      @@robbietorkelsonn8509 It depends on what kind of software you write. I've once written a tool that helped me visualize some data for a certain problem, and that wouldn't really be feasible as a CLI program.

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

    A major benefit with terminals is piping one programs output into another programs input, technically making another program from a pipeline of programs. Another benefit is that, a lot of shells (ZSH, Bash and Fish for example) can automatically expand parameters, like paths with globs and other patterns.

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

    Anthony’s episodes are the best. They’re the only episodes where I always learn something. Keep it up!

  • @fjl05
    @fjl05 2 года назад +317

    Since Linus and Luke are switching to Linux and Anthony is obviously going to play part into helping them, it'd be cool if Anthony made some Linux basics tutorials, tips and tricks for the rest of us to watch and learn while teaching Luke and Linus.

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

      Seconded

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

      @@tongpoo8985 However the next denomitation is said. :)

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

      @@THEwed123wet 3rd'st'd. (I'll see myself out)

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

      @@implayingsomebass4753 wanted to avoid that XD

    • @watema3381
      @watema3381 2 года назад +12

      They could call it "Learning Linux with Anthony", a series where we follow Linus' / Luke's endeavor to learn Linux, having Anthony as a guide

  • @NickyHendriks
    @NickyHendriks 2 года назад +443

    I miss one reason in this video: SSH. It's so much easier to just SSH into anything from any device, like when I don't have my laptop with me I can still SSH into my server with my phone. VNC Viewer works but it's just not made for a small display. SSH doesn't care.
    Also, 'sudo apt update && apt upgrade' is a reason in itself to love the command line.

    • @YOEL_44
      @YOEL_44 2 года назад +24

      Yep, I use Chocolatey in Windows for the same reason, "choco upgrade all -y" and everything gets up to date in a few minutes

    • @martianunlimited
      @martianunlimited 2 года назад +34

      you meant "&& apt upgrade" :) (no point redownloading the updated package infomation twice :) ) Ya, it is so convenient being able to just do a quick SSH using any device, on mobile internet, and just check if the system has completed what it needs to complete

    • @lolotronop
      @lolotronop 2 года назад +14

      That's a reason to like package managers, because if this is possible with 1 command in a command line it could be just 1 button in a GUI or even a keybinding. Man, I hope Microsoft will make winget into something actually good

    • @tomf3150
      @tomf3150 2 года назад +5

      Ssh, ftp, telnet...

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

      so you update the database twice, first time as root and second as current user

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

    so nice to have Anthony explain things, he's very good at it

  • @Demian143
    @Demian143 2 года назад +27

    In other words, when all you need can be performed with the mouse or your touch, using shells makes no difference.
    But if you need to perform specific tasks with precision and control, that's when the shells really makes difference.

    • @encycl07pedia-
      @encycl07pedia- 2 года назад +2

      The end result may be the same, but the way you get there is much different and the amount of tediousness and repetitiveness can vary greatly (usually with the better option being a TUI/CLI). Using the CLI will also virtually force you to adopt a better file-naming standard (with how wildcards work) if you didn't already have one (i.e. no non-descript IMG00049.jpgs), which will save you time in a GUI or a CLI.

    • @user-ze7tl2dw4i
      @user-ze7tl2dw4i 2 года назад

      I think its only just familiarity - everyone I know who is skilled enough with command line will enjoy using it over a GUI if possible. But knowing everything from selecting your Bluetooth device to running data analysis is a long journey.

  • @patrik5123
    @patrik5123 2 года назад +188

    As a developer, the command line is not an option to do something quicker, it's an absolute necessity. I have yet to come across a GUI for node that made any sense whatsoever.

    • @arnox4554
      @arnox4554 2 года назад +22

      Well, a GUI is utterly amazing for displaying options and objects that the user may not know exists or simply doesn't remember. It's also far more intuitive than a CLI. But if you know what you want and exactly how to do it, yeah, a CLI will run right over GUIs for almost everything. I like to think of the CLI as very quick programming. It can do whatever you wish and do it quickly if you know the phrase to type in. If you don't though, well... Good luck. :)

    • @morosis82
      @morosis82 2 года назад +28

      @@arnox4554 that's what man pages are for. Unlike a GUI, they're searchable.

    • @mayurga8956
      @mayurga8956 2 года назад

      I would like to get into command line but I couldn't find any tutorials or guides. Do you have any recommendations?

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

      @@morosis82 Or help in powershell. Whatever cli you are using you just need to learn how to use the built in help; then spend some time working with the cli. The time invested pays off exponentially.

    • @morosis82
      @morosis82 2 года назад +5

      @@mayurga8956 the best way is to find a repetitive tasks you do that you can automate. Figure out how to run it from the cli, then how to write a script to make it easier.

  • @Masa-san
    @Masa-san 2 года назад +277

    Answer: because programmers usually want working stuff, not fancy stuff.

    • @akatsukilevi
      @akatsukilevi 2 года назад +19

      As a programmer: true

    • @nocturn9x
      @nocturn9x 2 года назад

      agreed

    • @tomf3150
      @tomf3150 2 года назад

      Indeed.

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

      ANALOGY=TRUE

    • @KingJellyfishII
      @KingJellyfishII 2 года назад +20

      @@reggiep75 geez you programming in COBOL or SQL with those caps?

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

    When I started to learn my firsts command lines on linux, I felt powerful because you were able to do a lot of things in a fast way without having to need the GUI.

  • @FG-bn3qq
    @FG-bn3qq 2 года назад +5

    As a kid I loved going into cmd and just playing around with color commands and tree, dir s, and eventually learning how to detect connection issues.

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

      Yikes

    • @FG-bn3qq
      @FG-bn3qq 2 года назад

      @@FunBoysGaming I wasn't a very extroverted child

  • @Mike__B
    @Mike__B 2 года назад +136

    Interesting quickie, especially after that story about a whole class of engineering(??) students who didn't know how the file directory structure works and couldn't find their work they saved.

    • @Reeces_Pieces
      @Reeces_Pieces 2 года назад +14

      that was middle school, not Engineering students. lol

    • @alfiegordon9013
      @alfiegordon9013 2 года назад +7

      @@Reeces_Pieces still pretty awful tho

    • @andmicbro1
      @andmicbro1 2 года назад +24

      Man, I've actually had to help students find files before, and it's a bit groan inducing. They would especially get confused when they had to use Citrix to launch an app (like Excel) and didn't understand the difference between the local machine file system and the virtual file system. I've literally had to remote into their desktop to poke around in their file system to find their home directory for them and they act like I'm a tech wizard for finding their files, lol!

    • @steemlenn8797
      @steemlenn8797 2 года назад +7

      @@andmicbro1 It's just how you learned it (or got used to). That is the thing I totally hate about all those "library" and whatever stuff and that it takes several clicks in the explorer (and it's on the down side) to just get onto C:\
      I mean I have a structure I am used to for 20 years. I know where to put my stuff and where to find it when Windows borks itself up (admittedly has not happened with Win10 so far) and I need to copy it with a live Linux.

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

      @@Reeces_Pieces it was in uni

  • @shunnybunny
    @shunnybunny 2 года назад +55

    Because building UI takes a lot of work.

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

      This.

    • @RonLaws
      @RonLaws 2 года назад +7

      @@brandondamitz8876 but it takes more work for your computer to run it! might not matter on a workstation, but on a server expected to serve millions of requests a day it really matters

    • @rockytom5889
      @rockytom5889 2 года назад +5

      @@brandondamitz8876
      Bruh, tell that to normal office workers back when microsoft dos was king and lotus was still a thing. Those are normal people, they just learned different methods.

    • @Wahinies
      @Wahinies 2 года назад

      Apparently not these days. Modern UX development:
      - Enable hilariously large font faces
      - Throw around sparse controls with lots of wasted screenspace
      - Profit

    • @shunnybunny
      @shunnybunny 2 года назад

      @@Wahinies accessibility plays a big part. Regardless you caring about it or not.

  • @lua-nya
    @lua-nya 2 года назад +6

    I like how the editor showed a zsh screenshot as Anthony mentioned Bash.

  • @originalsubwayjones
    @originalsubwayjones 2 года назад

    Thanks, informative, and you have really good delivery.

  • @unvergebeneid
    @unvergebeneid 2 года назад +48

    "It comes with a built-in dark mode." Anyone remember that xterm default color scheme of black on urine yellow? 😬😬😬

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

      yes....

    • @Ceu.Noturno
      @Ceu.Noturno 2 года назад +2

      I hate how xterm default color is white, it screams at my sensible baby eyes

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

      just imagining black on urine yellow makes my head hurt

  • @benedani9580
    @benedani9580 2 года назад +67

    The command line is simply an easier solution to certain problems. Even for basic use, "command line" does not automatically mean "harder/more complicated than the GUI version". Even with GUI package managers on Linux, I'd rather just fire up a terminal and type "sudo pacman -Syu" away much quicker than the GUI's window could even show up.

    • @Lodinn
      @Lodinn 2 года назад +30

      aka how to say "I use Arch btw" without spelling it out ;)

    • @JamieStuff
      @JamieStuff 2 года назад +7

      Or Manjaro, or EndeavorOS, or any of a dozen other Arch-based distributions, including SteamOS.

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

      in windows (can't speak for any other OS) it would be faster to just win + pacman + enter than win + R pacman + enter.
      Actually, now that I read that I take it back.
      Although you might have to do some CD in the command prompt.

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

      @@larsalfredhenrikstahlin8012 CD is Completely unnecessary. Just pacman

    • @larsalfredhenrikstahlin8012
      @larsalfredhenrikstahlin8012 2 года назад

      @@kavinunethsarakoswattage3516 'pacman' is not recognized as an internal or external command,
      operable program or batch file.
      rip ^^

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

    Thanks for sharing. By the way, you are pretty good at narrating, Anthony. It is easy for us to tell when a presenter doesn't know his stuff very well, but really likes to be on camera. You know your stuff and you have a talent for making the listener feel at ease.

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

    Anthony talking about CLI or Linux is my spirit animal

  • @alanleuthard2689
    @alanleuthard2689 2 года назад +34

    Because it's extremely easy to keep a command line interface up to date, the people programming the GUI and every other part of the OS use the command line during development (and probably for everything else), and there are a whole lot of us who still find huge value in skipping the limits of the GUI and getting things done the old fashioned way.

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

      At work, we're actually planning deployments of CORE windows servers with zero GUI. GUI is not just additional bloat, but also opens attack vectors for hackers.

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

      @@MahmoudElgassier this.
      But windows server? Yikes

  • @friendhaus1858
    @friendhaus1858 2 года назад +42

    well, command lines just saved my pc from being bricked, so i'm thankful.

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

      Ooooh.. Been there and had a to use a tablet to get the vital forgotten info to input in to sort a PC out once. Ironic really, having to use a bloody tablet to get info!

    • @friendhaus1858
      @friendhaus1858 2 года назад +8

      @@reggiep75 i tried windows 11 and went back to 10 and the installation was corrupted and a lot of stuff was missing, had to use cmd to reinstall windows 10 entirely

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

    GUIs are also relatively heavy on resources, even the lite ones. So on server machines/vms, we opt to not use a GUI at all. If you need to do something on a server, you have to do it through a shell (command line), typically via SSH.
    The exception here is Windows Server, which is a resource pig.

  • @Chatsu8o
    @Chatsu8o 2 года назад +6

    There are more reasons: They're great for remotely administrating machines with low speed connections, or which are on the other side of the globe and have more considerable latency, and they can be used on embedded devices that do not have the capability to run a full GUI.

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

      You referring to SSH?

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

      @@eccentricOrange Not necessarily, that's one way to do it, but there are a variety of ways to get access to remote command-lines. Some software exposes it through a browser, embedded devices and even headless servers often do it via serial port, serial port emulation over USB... devices like routers allow you to telnet in, yet others have desktop software that allows access... I'm sure I'm only touching the surface. One of the cool things about terminal ("command line") access is that it's so low-overhead and simple you can do it in many different ways.

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

      @@Chatsu8o well I should have been specific, my bad. Of course I realise there are multiple ways-I myself use Serial and SSH for my Raspberry Pi.
      I probably meant to say "You mean things like SSH?"

    • @KushagraJuneja
      @KushagraJuneja 2 года назад

      ​@@eccentricOrange Well SSH is definitely a major part, but also sftp or rsync. If the latency is high, good luck navigating that on a GUI 😂

  • @WAF74
    @WAF74 2 года назад +24

    Presenter Anthony: "Why do Command lines still exist?"
    Anthony's Unvoiced Thoughts: "The same reason why you wrote a script for this video instead of drawing a picture. Sometimes words are more efficient."
    Taran: "I wrote macros to write words and not draw pictures to make this script."

  • @embukun
    @embukun 2 года назад +32

    As a Linux user, I simply can't live without bash now as I use it on a daily basis for the more complex tasks or tasks that just work better with terminal (sometimes it's impossible to do without it). Good video Anthony!

  • @yumri4
    @yumri4 2 года назад +6

    "still alive and kicking somehow" Well most bank server daily, weekly, monthly, etc. are done via batch which requires command line to be there. Windows server is just a custom version of windows for consumers. Right now that would be widows 10 or windows 11. It is also faster to kick everyone out with command line than going down a list of however many users might b e in it as * is a wonderful thing. * is also a terrifying thing too.

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

    When I was a system administrator, I used command lines all the time. Now, I even use them occasionally for my home machines.

  • @konstanius4067
    @konstanius4067 2 года назад +148

    Techquickie: Why do command lines still exist?
    Linux: Am I a joke to you?

    • @grmancool
      @grmancool 2 года назад +26

      Techquickie: Why do command lines still exist?
      Linux: Why do GUIs still exist?

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

      @@grmancool Neuralink: why UI?

    • @nakedeye44
      @nakedeye44 2 года назад

      you are.

    • @lored6811
      @lored6811 2 года назад +13

      @@brandondamitz8876 except no. Windows Gui is light-years less powerful than a normal bash window. If you care about lowering your volume, sure Windows has you covered. If you want an automated workflow for testing, development and production, well good luck. Windows has everything that needs to be done from time to time by the average user, nothing else.

    • @Illindi
      @Illindi 2 года назад +8

      @@brandondamitz8876 uhm... no. As a sysadmin having to deal with both windows and linux servers... windows are slow to work with, prone to failure and worst of all, requires a freaking gui. 😑
      Commandline is your friend through thick and thin when you have to get things done.

  • @johnnyvvlog
    @johnnyvvlog 2 года назад +92

    The GUI is your computer talking to you while the Command Line is you talking to your computer.

    • @Couleur
      @Couleur 2 года назад +12

      that's a brilliant way to explain it

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

      More like, the command line is a GUI made by programmers.

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

      In reality, the command line is also a middle man. A command line is you talking to bash, which talks to your computer.

    • @reggiep75
      @reggiep75 2 года назад

      @@theMoporter - I had hoped someone would offer up the 'GUI = the middle man' analogy. YOU'RE ON THE WINNING SIDE!

    • @KingJellyfishII
      @KingJellyfishII 2 года назад +10

      @@brandondamitz8876 Outdated? Absolutely not. But I agree very few people use it nowadays

  • @Tidyweekender
    @Tidyweekender 2 года назад

    I've seen you on LTT and often wondered why Anthony doesn't have his own channel. I was so happy to learn that you do, in fact, have your own channel. Your videos bring some joy to what would otherwise be a bad day, please don't ever stop. I'd love to see more of your GNU Linux videos.

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

    It's not only this, but for the business environment, it's way cheaper in terms of network traffic to interact with a CLI rather than a GUI. In some scenarios it's even critical. What if the network if flooded by a faulty device or an attacker? Try sending and entire "movie" just because you want to click here and there to see what's happening versus sending some bytes of texts that represent the CLI commands.

  • @DETERNET
    @DETERNET 2 года назад +15

    Use bash everyday for work, usually just to tail log files of our software while recreating an error but it works for me, keep up the good work Anthony, love when you host

  • @classicrockonly
    @classicrockonly 2 года назад +39

    I’ve been learning and using the command line for 7 years now. It has become so much easier and quicker to manage and do everything from the command line now. GUIs generally feel like a hindrance most of the time

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

      What exactly do you use it for outside work?

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

      @@cristibaluta I use it to convert music files, sometimes even convert video, program, write (AsciiDoc markup language in vim), manage my own computers and servers, download stuff, read RSS feeds, I browse/copy/move all my files on the command line (I made a shortcut to do cd & ls all at once so it's faster and easier to navigate)...that's all I can think of off the top of my head

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

      @@classicrockonly You are officially a nerd.

    • @classicrockonly
      @classicrockonly 2 года назад

      @@cristibaluta thanks! :D haha. Yeah, I'm sitting here reading an article about interprocess communication via message passing systems in DragonflyBSD and what the heck a clustering system means while I'm on-call and on standby

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

      @@classicrockonly None of what you described requires a command line or in any way more advantageous than a normal GUI on any machine that has specs better than a baked potato (or when ssh-ing to a headless server). All of this seems like forced usage of cmd to look cool or whatever. Command line only truly makes sense when you have some repititive tasks on a large number of files and you can use some sort of pattern/regex/loops to automate that. Even that is fairly easy to do on most GUI file managers.

  • @user-pg7cc9dr5p
    @user-pg7cc9dr5p 2 года назад

    Thank you so much for this explanation.

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

    Having Bash is why I use a MacBook Pro for work instead of my windows PC. I develop server software to run on Linux and being able to execute and compile the same code in MacOS is just nice. It has the convenience of a Linux environment on the shell, with the App support and programs that you'd like to get in the GUI (like iMessage). I've tried DOS and PowerShell and it's not for me, but I still love my PC for gaming.

  • @Hawx32
    @Hawx32 2 года назад +73

    The one problem when Anthony hosts content : people talk more about Anthony than the content itself !

    • @kubak3381
      @kubak3381 2 года назад +11

      I wouldn't consider it a downside

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

      And when you know why it's quite cringe.

    • @UniqueNick
      @UniqueNick 2 года назад

      @@tiffnsniff what do you mean? I don’t know “why”. I just like his voice and he’s got a good sense of nerd humor.

    • @seanld444
      @seanld444 2 года назад

      People are just showing appreciation for actually having a guy with a lot of technical know-how on a show about technical know-how. Though I agree, I think Anthony would be a lot more happy if people focused on the content he spends time producing, and not just himself.

  • @sergeybond97
    @sergeybond97 2 года назад +27

    Not to mention ability to create scripts (sh, bat) to automatically perform lots of tasks and configure them.

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

      Shell scripts is how A LOT of stuff works on Linux, including how literally any service was started before systemd.

    • @ArtyIF
      @ArtyIF 2 года назад

      wasn't that point also mentioned

    • @benedani9580
      @benedani9580 2 года назад +7

      @@brandondamitz8876 I see you have never used CLI before.

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

      @@brandondamitz8876 if you want to move files around to many places, making a script or three that do the tasks than error prone manual work in a GUI. Synchronizing source, deployment of files, moving files to places where they can be tested, etc. I know how to use a GUI, but for tasks I do several times, I prefer to make a script that do the tasks.

    • @mlmmt
      @mlmmt 2 года назад

      Powershell scripts can be pretty damn useful as well!

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

    A lot of jokes on this channel are cute little throwaway gags, but the "built in dark mode" joke actually made me chuckle

  • @Nostalgia_Realm
    @Nostalgia_Realm 2 года назад +66

    1:18 Ouch.. yeah even I am getting old. Used Windows Me for years :D

    • @jamiegreig9699
      @jamiegreig9699 2 года назад +5

      Ugh. It was so horrible.
      I had been using friends and family computers running Win 3.1, 95, or 98, but when I got my first computer it came with ME. I had SO MANY problems. Games performed shitty, movies would randomly drop frames. I thought because I picked out my computer I had made a bad choice.
      When I upgraded to Windows XP all those issues disappeared.

    • @cseale61
      @cseale61 2 года назад

      I used it for two days and reloaded Windows 98.

  • @AdishaFdo
    @AdishaFdo 2 года назад +64

    Me who used it few hours ago: hmm.. lets see why we still have it on our computers

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

      Yeah i always use it for Diskpart.. very powerful than windows normal formatting tool and no need to download additional apps

    • @KingJellyfishII
      @KingJellyfishII 2 года назад +5

      Me, using it right now to play music and edit files:

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

      @@KingJellyfishII can you play music through it?

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

      @@AshanSanjula most programs on Linux supports the command line, so presumably most music players do too.
      I'm sure some do on Windows as well - like vlc or mpv

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

      @@AshanSanjula yeah, the "play" command exists on Linux for example. Doesn't even show a window.

  • @kernelpickle
    @kernelpickle 2 года назад +14

    I use CLI’s daily, so I’m not surprised that they still exist. I just wanted to hear Anthony’s take on them.
    The only terminal interface I don’t like is the default Korn Shell in RHEL. If the up arrow doesn’t cycle through your previous commands, then you’re in Korn Hell, and need to switch to Bash immediately. Luckily it also comes with RHEL, so I don’t know what sadist picked it to be the default.

    • @seanld444
      @seanld444 2 года назад

      Yeah, Idk who (outside of sysadmins for legacy systems) would subject themselves to that. Although, Zsh takes some features from Ksh, so I hear. If you're not trying to be maximally POSIX-compliant, I recommend Zsh.

    • @kernelpickle
      @kernelpickle 2 года назад

      @@seanld444 I'll have to give it a try, because I just read a brief article that compared all the various Linux shells, and Zsh sounded interesting. It's obviously much newer that bash or ksh (albeit still pretty old being from the 90's), but it sounds like they tried to combine the best of both.
      The only other shell in that listicle that caught my eye is something called fish, which the developers described on their website as "Finally, a command line shell for the 90's" which is funny because it was written in 2005--so whoever is behind it has a sense of humor I can appreciate. It also supports the "astonishing 256 color palette of VGA" and a handful of other features.
      That said, I question the accuracy of the listicle, because the author didn't disagree with the proponents of ksh when they cited "an easier way to repeat commands" as the reason they feel it's superior--when there is literally nothing simpler than just using the up arrow on your keyboard to scroll back through your command history. The handful of times I tried to use ksh that was such a turn off, I never even bothered to figure out how to repeat commands using whatever crazy method they came up with. If they had used the up arrow for something else that was equally useful and/or obvious, then I might've given it a shot, but they instead opted to break from a long established paradigm for something infinitely less intuitive to use.
      Anyway, thanks for the recommendation!

    • @seanld444
      @seanld444 2 года назад

      @@kernelpickle I didn't know about that fish slogan haha. That's great. Another RUclipsr I watch (Luke Smith) did a review on fish which left a slight sour taste in my mouth, as there are some things I'm not particularly a fan of. Zsh seems to be the most "modern" shell that doesn't give up too much on POSIX-compliance, while also provided lots of niceties.
      Two of the best niceties in Zsh:
      Rather than typing `cd ..` to go up a directory, you type `..` and done. That works for most directories. As long as there is not a command in any of your PATH directories that has the same name as the directory you're trying to cd to, you can just type the directory name, and it will interpret it as though you were trying to cd into it, rather than run a command of that name. If that makes sense. I love that.
      The other feature is a plugin that I got from oh-my-zsh that actually adds autocomplete functionality to the shell. Partially type a command, hit tab, it will cycle through the commands that match what you typed. For some supported commands, hit tab when entering arguments/parameters, and it will show you a list of arguments and their descriptions.
      Admittedly I have not given fish the benefit of the doubt and tried it, yet. But Zsh mostly fits every use case I need.

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

      @@seanld444 Well, autocomplete sounds like a nice feature worth adding. I haven't had a chance to actually try out zsh or fish yet, but I did spend some time checking out the fish website. I'll have to check out that video you mentioned, so I can get a more in-depth look at it.
      That said, if I'm being honest I'll probably do a ton of research and just end up sticking with bash anyway, because I just don't do enough scripting in Linux to see the benefits of switching shells. Whenever I get into something where I feel like I need to write a script, I usually write something in Python. Thanks for the info though!

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

      @@kernelpickle yeah man absolutely. Hope you find whatever suits you best.

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

    I was an I.T. student a couple years ago and we used NOTHING BUT command lines for ALL our networking.
    I've still used it countless times at home when I can't get my printer to work or need to see if a device's IP even shows up on the network.
    Lastly, you just feel like a badass using it in the first place.

  • @dimaka28
    @dimaka28 2 года назад

    Loved the fact that somebody put background fan noise when the image of a guy in a data center popped on the screen. The attention to detail is awesome :)

  • @jooplin
    @jooplin 2 года назад +7

    Many dev tools were available with a CLI first, those tools are now either available as plugins in IDEs or standalone with CLI. For me personally it’s easier to just use the tool separate from the IDE because they tend to screw with it and I don’t have full control over what’s happening. Also, seeing that Docker Desktop is now licensed, I can just uninstall it and switch over to CLI on the docker engine.

  • @Dmitriy.0
    @Dmitriy.0 2 года назад +51

    Stop pulling Anthony into half-assed tech support challenges and give him his own channel already!
    I'd watch "Linux Shenanigans With Anthony" all day long.

    • @benedani9580
      @benedani9580 2 года назад +5

      Bump, Linux with Anthony needs to happen

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

      100% agree, come on Linus at least a weekly Linux update gig. Unfortunately Anthony is probably kept busy with a lot of other projects.

  • @yourself88xbl
    @yourself88xbl 2 года назад

    This man has such a great voice and delivery.

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

    You can easily automate stuff in command line through scripts. That's something that's a lot harder to do on the GUI.

  • @EDToasty
    @EDToasty 2 года назад +21

    The biggest upside to using bash, zsh, etc is that remoting in to a machine is a lot easier. At my work, we never build our packages locally, but use a powerful server to build and develop our products.

    • @kaldo_kaldo
      @kaldo_kaldo 2 года назад

      It's really easier than clicking twice?

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

      @@kaldo_kaldo what do you mean by clicking twice?

    • @BruceCarbonLakeriver
      @BruceCarbonLakeriver 2 года назад

      @@EDToasty ssh ftw :D

  • @scraps7624
    @scraps7624 2 года назад +10

    I remember learning python back in 2013 and installing packages was so simple, I fell in love instantly

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

      "back in 2013" Man, 2013 feels like it was last week but it's actually been 8 years...

    • @2001herne
      @2001herne 2 года назад

      Yep. Package managers are really damn awesome.

    • @AaronBish
      @AaronBish 2 года назад

      @@Skystrike70 Ya, 2013 was just "one job ago", which is how I guess I measure time in my old age.

  • @AdrianDucao
    @AdrianDucao 2 года назад

    Facts Anthony, thank you for spreading the word.

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

    The game changer for me was realisation that I can automate things with scripts, you don't have to click all these buttons everytime, when you can write a script and it does everything for you

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

      I agree with you when can do automation it flexes more the CLI

  • @ikannunaplays
    @ikannunaplays 2 года назад +5

    The "Hey, it comes with a built in dark mode" sold me

  • @martianunlimited
    @martianunlimited 2 года назад +11

    aww.. no mentions of remote shells? I love VNC, but there is no substitute for just ssh-ing into a machine remotely and do what you need to do before logging out.

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

    as much as intimidating CLI might be, but they're extremely handy and I'd never want them to go away.
    even though I don't use them that much but that's so true that repetitive tasks can be done sooo much easier and faster on command line.

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

    A CLI also allows for much better and easier reproducibility in general. Sharing a command is much easier saying "type ssh user@machine, then your password" than telling somebody "click here, then that menu, type in the hostname, tick that box, click that button".
    Now whilst GUIs allow users without any or very limited knowledge to navigate around a program without potentially breaking something, the CLI is much more precise.
    Want to copy every file that ends with .jpg from one folder to another? Takes you one second on the command line.
    However I can appreciate both - as somebody who works with cloud services both the web UI and the CLI have their advantages. Especially if I'm only learning how to do stuff the UI helps me out by showing me all the things that I absolutely need to provide when say, creating a new virtual machine. Easy to use text boxes with helpful descriptions etc.
    It also helps me stay on top of things like resource utilization. However as soon as stuff needs to be reproducible by somebody else, writing it down in CLI commands makes things so much easier.

  • @OzzySafa
    @OzzySafa 2 года назад +9

    There’s that soothing voice that we missed so dearly.

  • @syakhiskk
    @syakhiskk 2 года назад +8

    Everyone: pointing out zsh is shown instead of Bash
    Me: echo !!

  • @wilburfudd
    @wilburfudd 2 года назад

    I used the command line mostly in the early 2000’s to turn hibernation on since for some reason it kept turning itself off on my toshiba g25 laptop ( that thing was a brick but had the BEST audio I have ever had on a laptop to date ). I don’t know if it was a windows XP thing or some weird thing my laptop was doing but because of that I learned how to do simple task of turning features on and off though the command prompt.

  • @kloakovalimonada
    @kloakovalimonada 2 года назад

    Big thing is you can chain together commands so that complex tasks happen without user intervention. GUIs just mostly can't do "rename these files, copy the ones with in the name, transcode them to these formats and shutdown after you're done". With GUI, you'd have to sit there until each step finishes so you can do the next one.
    With command line, the computer actually works for you.

  • @nepnep1057
    @nepnep1057 2 года назад +37

    since i switched to linux i've been using the command line for most things, it's faster most of the time, more consistent, more efficient, and it's really not hard at all, unlike what most people think

    • @KokoroKatsura
      @KokoroKatsura 2 года назад

      A N I M E
      N
      I
      M
      E

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

      Black window with text scary. Must use windows.

    • @steemlenn8797
      @steemlenn8797 2 года назад

      If you type if correctly.
      I am really surprised you can do that, Neppu Neppu!

    • @kaldo_kaldo
      @kaldo_kaldo 2 года назад

      Most people don't think it's hard, most people think it's tedious to have to learn how to do basic things. Give me a new GUI app and in 10 seconds I'm doing the thing I want and can get back to it instantly. CLI? /help, /?, command /?, command function /help, command function -attribute /help, command function -attribute (sorry you need to be admin) close CLI, open as admin, command function -attribute (now it does the thing) and then the next time I need to do it? command function /help

    • @xybersurfer
      @xybersurfer 2 года назад

      it's only easy to remember for frequent things

  • @Groovewonder2
    @Groovewonder2 2 года назад +17

    Anthony should do a walkthrough of the official Arch Installation Guide, step by step. Would help make it less intimidating to noobs.
    Addendum: the OFFICIAL guide. Anything other than the official guide, to the T, will ruin any chance of help being found. RTFM.

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

      There's definitely a lot of guides on RUclips but I do see a reason for LMG doing one being that a larger audience would be more likely to see it.

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

      @@tukuiPat the larger audience, but also the larger amount of resources they have to do it clearly and concisely, while covering common possible issues that may arise, and best practices when diving into this deep-end.

    • @lodestarsd4456
      @lodestarsd4456 2 года назад

      Arch might not be the best distro for noobs.

    • @Groovewonder2
      @Groovewonder2 2 года назад

      @@lodestarsd4456 yes, BUT the distros for noobs are all pretty much plug-and-play. Most distrobutions people will be exposed to will either be in the "hand-holding" camp or the "good luck!" camp. If they can't figure out the former, then I doubt they'll even consider attempting the latter. If they don't try to pull and Oprah with Arch and pose it as an "everybody" solution, I don't see anything inherently wrong with it.

    • @JamieStuff
      @JamieStuff 2 года назад

      Personally, I'd recommend a Manjaro walkthrough. The installer is as easy as any other Linux distro, and once it's installed, you are effectively running Arch. In fact, a walkthrough of Manjaro on a Raspberry Pi would be the least intimidating to would-be Arch users.

  • @Skystrike70
    @Skystrike70 2 года назад

    Big bonus of command prompt is it allows someone to tell you exactly how to do something with no chance of you not seeing the same options they see, and no time spent navigating and searching for settings

  • @judicator375
    @judicator375 2 года назад

    Powershell lets you do _insane_ things. Whilst i was playing with it after my first exposure using exchange console and deciding i wanted to learn more, i wrote a script that:
    Goes onto a network folder or share, digs X levels into the folder hierarchy, reads all the folder permissions (acls), discards the admin / server groups, reads the members of the groups from AD and dumps the lot into a fully formatted excel template (using excel itself as a com object) into a file which easily represents folder names, groups, what permissions those groups have and whose in them. Instant folder permission report.
    To do that by hand on 5TB of files and folders takes weeks or a paid product.
    Script does it in 20 mins, and is free (barring the time it took me to write/test it)

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

    One of THE use cases is ffmpeg.
    There's a magical ffmpeg command for anything video, even doing things such as converting playstation video files to something a modern video player can use, to more mundane things such as creating webm files out of whatever you can toss at it or..

    • @henlofren7321
      @henlofren7321 2 года назад

      GUI wrappers for ffmpeg are far more intuitive and easier to use.

    • @RobinCernyMitSuffix
      @RobinCernyMitSuffix 2 года назад

      @@henlofren7321 but often miss features, or have missing support for them. And it's way easier to re-encode a bunch of files. Ever re-encoded 20TB of movies with a gui? yeah, nobody ever has done that or will do it. But with a script? probably hundreds of people.

    • @henlofren7321
      @henlofren7321 2 года назад

      @@RobinCernyMitSuffix
      They also have a space to add commands that aren't accessible through the GUI. You can queue up however many videos you want, file size isn't the issue if you limit the amount you're processing in parallel.
      If you're writing scripts you don't need a GUI, that should be obvious. I'm not proposing a visual programming language here, although it would be an interesting idea to implement...

  • @Internatube
    @Internatube 2 года назад +44

    Why does it exist?
    "AW-TOE-MAY-SHUN"
    No way any seasoned programmer in their right mind would spend hours clicking boxes and windows open rather than have a script that does everything for them.

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

      Well also spend 10 hours writing the automated task, which, when using a gui/manually doing it, would have taken an hour.

    • @InnuendoXP
      @InnuendoXP 2 года назад

      @@sohaibalam3185 depends what the task is, along with the scale & frequency the task is run. If the task is weekly, and normally takes an hour when done manually, spending 10 hours writing the task once breaks even in less than one quarter, which is a pretty decent return on effort.

    • @saggitt
      @saggitt 2 года назад

      I hope not many people still do automation in command line. The syntax is so outdated and unintuitive. Python is much better.

    • @KushagraJuneja
      @KushagraJuneja 2 года назад

      @@saggitt It depends really. If you're trying to do regular sysadmin tasks python will require a lot of learning and effort especially when you're dealing with OS side stuff.

    • @saggitt
      @saggitt 2 года назад

      @@KushagraJuneja True

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

    basics of programming and some knowledge of command line opens a whole new world of possibilities.

  • @tomcruickshank8210
    @tomcruickshank8210 2 года назад

    When I'm not doing development in an IDE, I'm usually using the console to do about everything else. It's like a 1 stop place where you can do about everything. Very powerful

  • @alexandermyrthue1987
    @alexandermyrthue1987 2 года назад +31

    "It comes with build in dark mode" Aha that's a gooooooooood selling point guess I must start using it LoL

  • @kavinunethsarakoswattage3516
    @kavinunethsarakoswattage3516 2 года назад +17

    "The shell you are wielding has the ability to change the world, for good or for bad.Use it wisely"
    - Definitely somewhere in some books in Library Of Babel

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

      In fact, there is an extremely large amount of books in the library of babel which are iterating on this statement many a times

    • @thunderkunt5416
      @thunderkunt5416 2 года назад

      Sirawata ? 😂😂

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

    2 major points forgotten.
    1. Easier to describe.
    Say you have a problem with your PC, it's much easier to just send someone a few commands they have to type into the console instead of describing which button under which hidden context menu to click.
    2. Way easier to develop
    If you're developing a tool, it's much simpler to develop a simple, text based command line interface instead of a sophisticated GUI (and with some work even the command line interface can be complex)

  • @christinefredricksen8743
    @christinefredricksen8743 2 года назад

    I love the command line! Currently using Powershell 7, it's great.

  • @pecewu
    @pecewu 2 года назад +5

    Thank God they still exist.

  • @nrg753
    @nrg753 2 года назад +8

    I think Anthony should join in with the switch to Linux thing, but use a tiling window manager like StumpWM where its mainly command line focused!

    • @tunahankaratay1523
      @tunahankaratay1523 2 года назад

      He already runs Linux on desktop.

    • @nrg753
      @nrg753 2 года назад

      ​@@tunahankaratay1523 Yeah, but there was a comment from someone on the LAN show saying Linus should run Linux all from Bash. I just think it'd be cool if Anthony tried out something like i3/Qtile/StumpWM and used it as part of the challenge.

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

    Automation is for me the most important.
    Want to do some complicated task? Throw it in a script file! Even running it once per month becomes a breeze, because you don't need to remember to take all the steps you made in a GUI. Just rerun the script you made! Get it peer-reviewed! Run it via Cron (on Linux) to run it on specific days of the week!

  • @leatheredlife4861
    @leatheredlife4861 2 года назад

    Oh yeah... i grew up with Dos. Whenever I have to work with the command line today in the job, it feels like coming home :)

  • @popebobcat3716
    @popebobcat3716 2 года назад +11

    I describe command line like legos. Each individual block may seem silly when replacing a few clicks. But the power comes from being able to stack them together.

  • @maxuuell
    @maxuuell 2 года назад +6

    I love working in the terminal/CL. I use it for work all the time. It feels closer to the things you are trying to do, instead of interfacing with GUI abstractions. I wish I knew more commands and tools, honestly.
    The CL world could benefit from more “first time user” content. A man page isn’t the best place to start.

    • @chaos.corner
      @chaos.corner 2 года назад

      It's out there. You should try looking for it.

  • @VilasNil
    @VilasNil 2 года назад +5

    As a Software Developer, thank god that the command line still exists, it simplifies many of my tasks

  • @hamzaghozz6870
    @hamzaghozz6870 Месяц назад

    it comes with a built in dark mode 😂😂 I love so much how you end your videos

  • @pu239
    @pu239 2 года назад +5

    I would just like to plug the awesome Windows Terminal here. It is really great, a terminal every windows user should have. (comes with built in support for cmd, ps, WSL(bash, zsh), and literally any other shell you want to use). Also it improves the user interface by miles. Just because it's a command line doesn't mean it should look bad and not 'modern'!

    • @liesdamnlies3372
      @liesdamnlies3372 2 года назад

      Erm…do you mean Powershell?

    • @FirstnameLastName-mr8lk
      @FirstnameLastName-mr8lk 2 года назад

      @@liesdamnlies3372 nah they mean the windows terminal which is the UWP terminal app, only benefit over powershell is you can run multiple instances in 1 window

    • @liesdamnlies3372
      @liesdamnlies3372 2 года назад

      @@FirstnameLastName-mr8lk AAAAAAAAAAAAAAAAAAAAAA
      Now I'm just more confused. But I've always been confused by how Microsoft does things.

    • @FirstnameLastName-mr8lk
      @FirstnameLastName-mr8lk 2 года назад

      @@liesdamnlies3372 OK so there is command prompt and power shell then there is windows terminal which let's you run power shell, command prompt, azure, and wsl instances in 1 window so basically windows terminal is the best feature wise even tho it kinda ugly cuz uwp moment

    • @liesdamnlies3372
      @liesdamnlies3372 2 года назад

      @@FirstnameLastName-mr8lk As a long time Alacritty/Kitty and tmux user, I am confused by this description, but okie

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

    Anthony should be doing online classes like for CompTIA A+

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

    Typing topgrade into the terminal is so much faster than opening a gui and navigating to the update button

  • @davidcookmfs6950
    @davidcookmfs6950 2 года назад

    Back then, I put together newsletters for a lot of organizations, so I had scripts, known as batch files, with the extension ".bat" to run file rearrangement. Filenames were limited to 8 characters plus an extension, so blocks of text to import into a desktop publishing program, and photos to be sorted and cleaned up after being scanned (almost no digital cameras back then) would have formulaic file names. Batch files could move complicated gobs of working files into the correct directories all at once very quickly.