Why Do Command Lines Still Exist?

2024 ж. 12 Мам.
635 711 Рет қаралды

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

Пікірлер
  • I hit the like button for the “hey, built in dark mode,” joke. Legit chuckled.

    @Adam.Robert@Adam.Robert2 жыл бұрын
    • wat

      @pajeetsingh@pajeetsingh2 жыл бұрын
    • LOL, Me too!

      @deultima@deultima2 жыл бұрын
    • Same lol

      @lloyd1934@lloyd19342 жыл бұрын
    • Anthony had me at "Dark Mode". ... Might have been the last two words of the video (before the sponsor), but he had me.

      @robspiess@robspiess2 жыл бұрын
    • Facts

      @cookiesrawesomee@cookiesrawesomee2 жыл бұрын
  • 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".

    @OhadLutzky@OhadLutzky2 жыл бұрын
    • 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

      @chrisdt2297@chrisdt22972 жыл бұрын
    • 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.

      @user-pn4py6vr4n@user-pn4py6vr4n2 жыл бұрын
    • I helped a friend that way a few days ago!

      @didikohen455@didikohen4552 жыл бұрын
    • 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).

      @WorBlux@WorBlux2 жыл бұрын
    • @@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.

      @OhadLutzky@OhadLutzky2 жыл бұрын
  • 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

    @Nordern@Nordern2 жыл бұрын
    • Hello Nordern! Love your content

      @nuclear3011@nuclear30112 жыл бұрын
    • Ive edited video on computers that were too slow to play the video, using ffmpeg.

      @hippynurd@hippynurd2 жыл бұрын
    • 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.

      @TheSchmed@TheSchmed2 жыл бұрын
    • Absolutely, oh the first time I've built FFMPEG from source on a Linux, what a worthwhile nightmare.

      @splitpierre@splitpierre2 жыл бұрын
    • 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

      @namesurname4666@namesurname46662 жыл бұрын
  • 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

    @SkySpiral7_Lets_play@SkySpiral7_Lets_play2 жыл бұрын
    • 7 works on a distant server without having to virtualize the full environment

      @ShadowebEB@ShadowebEB2 жыл бұрын
    • haha. I would argue old windows command-line is a UI issue in itself. Windows terminal is amazing though

      @kellenstuart4698@kellenstuart46982 жыл бұрын
    • 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.

      @entelin@entelin2 жыл бұрын
    • @@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

      @SkySpiral7_Lets_play@SkySpiral7_Lets_play2 жыл бұрын
    • 7 there's no reason to do away with it, and no one has to use it or even see it (much)

      @AAA999XYZ@AAA999XYZ2 жыл бұрын
  • "It comes with a built-in dark mode." Nice one Anthony! 👍😁

    @ErilynOfAnachronos@ErilynOfAnachronos2 жыл бұрын
    • > COLOR F0 😉

      @GeekIWG@GeekIWG2 жыл бұрын
    • color 8 for really dark mode

      @markusTegelane@markusTegelane2 жыл бұрын
    • @@GeekIWG wot is the f for?

      @Jesse-2531@Jesse-25312 жыл бұрын
    • @@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.

      @GeekIWG@GeekIWG2 жыл бұрын
    • And during my initial days with command line, I thought green looks cool and fancy. Apparently history repeats.

      @MrRishabSharma@MrRishabSharma2 жыл бұрын
  • Anthony is awesome. Please keep him as a presenter, he's so friendly at explaining stuff and seems like such a genuinely nice dude.

    @CarputingYT@CarputingYT2 жыл бұрын
    • Agreed.

      @why_tho_@why_tho_2 жыл бұрын
    • 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.

      @kekistanifreedomfighter4197@kekistanifreedomfighter41972 жыл бұрын
    • Agreed in third! I hope he gets to see these comments, too.

      @digitaldevil2493@digitaldevil24932 жыл бұрын
    • 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.

      @voltaicfire1825@voltaicfire18252 жыл бұрын
    • 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.

      @bjre.wa.8681@bjre.wa.86812 жыл бұрын
  • "If you use Linux sure you're familiar with Bash" *shows ZSH *

    @AlejandroLZuvic@AlejandroLZuvic2 жыл бұрын
    • Oh, I assumed it was just bash with a weird PS1 config.

      @MikkoRantalainen@MikkoRantalainen2 жыл бұрын
    • As a ZSH user this triggered me.

      @RowenStipe@RowenStipe2 жыл бұрын
    • @@RowenStipe FISH master race.

      @denniscleaver3559@denniscleaver35592 жыл бұрын
    • @@denniscleaver3559 lmao

      @StellaEFZ@StellaEFZ2 жыл бұрын
    • Oh my zsh!

      @eramorn@eramorn2 жыл бұрын
  • i loved the “hey, and it comes with built-in dark mode”

    @guilleeeavgs@guilleeeavgs2 жыл бұрын
  • Every developer/sys admin out there : Why do GUIs still exist when you have the command line available?

    @cloudybrains@cloudybrains2 жыл бұрын
    • as a developer while I love the command line I would die if GUIs just disappeared

      @realtechhacks@realtechhacks2 жыл бұрын
    • TUI is still rock

      @lesserfield_@lesserfield_2 жыл бұрын
    • @@realtechhacks as a developer, no this isnt true at all, CLI makes more sense for coding

      @duckmeat4674@duckmeat46742 жыл бұрын
    • @@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.

      @realtechhacks@realtechhacks2 жыл бұрын
    • @@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

      @duckmeat4674@duckmeat46742 жыл бұрын
  • Anthony always delivers the facts. Love it.

    @orangejuice@orangejuice2 жыл бұрын
    • Just beat the Electron wiz challenge with ZERO LOSSES

      @masterdoge17@masterdoge172 жыл бұрын
    • ITSA ORANGE JOOOCE

      @an1ketsharma@an1ketsharma2 жыл бұрын
    • Clash royale content creators are still alive?.. Wait.. clash royale alive...????? Jk i love ur vids but that game died for me sadly

      @Mo1o10@Mo1o102 жыл бұрын
    • Now he can max up any card with only comands

      @gabogamer_@gabogamer_2 жыл бұрын
    • And you always deliver the unoriginal comments

      @bettercallai_@bettercallai_2 жыл бұрын
  • 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.

    @suparki123@suparki1232 жыл бұрын
  • 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.

    @dealloc@dealloc2 жыл бұрын
  • 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..."

    @konnilol4@konnilol42 жыл бұрын
    • Shell go "waaaaaaaaaaaaaaaaaaaa i'm brokey here have an error that no one has ever seen in the history of the internet"

      @philipw@philipw2 жыл бұрын
    • @@philipw until you actually read what the error is and it probably tells what you're doing wrong

      @t_kups8309@t_kups83092 жыл бұрын
    • @@t_kups8309 he confused it with windows errors

      @h3xd3m0n9@h3xd3m0n92 жыл бұрын
    • 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.

      @davkdavk@davkdavk2 жыл бұрын
    • Windows 95. A Turtle and its Shell.

      @uss_04@uss_042 жыл бұрын
  • 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.

    @fjl05@fjl052 жыл бұрын
    • Seconded

      @tongpoo8985@tongpoo89852 жыл бұрын
    • @@tongpoo8985 However the next denomitation is said. :)

      @THEwed123wet@THEwed123wet2 жыл бұрын
    • @@THEwed123wet 3rd'st'd. (I'll see myself out)

      @implayingsomebass4753@implayingsomebass47532 жыл бұрын
    • @@implayingsomebass4753 wanted to avoid that XD

      @THEwed123wet@THEwed123wet2 жыл бұрын
    • 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

      @watema3381@watema33812 жыл бұрын
  • 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.

    @jongeduard@jongeduard2 жыл бұрын
    • I agree Imagine a world where everything is made in scratch

      @5cover@5cover2 жыл бұрын
    • 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

      @m00m00863@m00m008632 жыл бұрын
    • @@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.

      @linuswilliams9803@linuswilliams98032 жыл бұрын
    • 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

      @davidnrose2135@davidnrose21353 ай бұрын
  • Anthony’s episodes are the best. They’re the only episodes where I always learn something. Keep it up!

    @carlsouthern@carlsouthern2 жыл бұрын
  • 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.

    @NickyHendriks@NickyHendriks2 жыл бұрын
    • Yep, I use Chocolatey in Windows for the same reason, "choco upgrade all -y" and everything gets up to date in a few minutes

      @YOEL_44@YOEL_442 жыл бұрын
    • 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

      @martianunlimited@martianunlimited2 жыл бұрын
    • 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

      @lolotronop@lolotronop2 жыл бұрын
    • Ssh, ftp, telnet...

      @tomf3150@tomf31502 жыл бұрын
    • so you update the database twice, first time as root and second as current user

      @ArtyIF@ArtyIF2 жыл бұрын
  • me 10 years ago: What is this 70's Unix crap? me today: I can't live without bash at least

    @youdontknowme5969@youdontknowme59692 жыл бұрын
    • Unix and linux became quite good in the 90s after the 32 bit x86 platforms came.

      @oysteinsoreide4323@oysteinsoreide43232 жыл бұрын
    • Yeah, I tried zsh but it didn't really work for me

      @TylerFurrison@TylerFurrison2 жыл бұрын
    • Based UwU

      @thecashewtrader3328@thecashewtrader33282 жыл бұрын
    • 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.

      @MahmoudElgassier@MahmoudElgassier2 жыл бұрын
    • I recommend fish but don't go running any bash scripts in it, it wont work as its not POSIX compliant.

      @AdroSlice@AdroSlice2 жыл бұрын
  • 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

    @tubester358@tubester3582 жыл бұрын
    • 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.

      @AlexanderNecheff@AlexanderNecheff2 жыл бұрын
    • 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.

      @zyeborm@zyeborm2 жыл бұрын
    • 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.

      @ararune3734@ararune37342 жыл бұрын
    • ​@@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

      @tubester358@tubester3582 жыл бұрын
    • @@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

      @linuswilliams9803@linuswilliams98032 жыл бұрын
  • so nice to have Anthony explain things, he's very good at it

    @darysparta9676@darysparta96762 жыл бұрын
  • Also, a huge upside of console commands is development time. No need to spend so much time on designing and debugging all that UI

    @RostislawNikishinorange@RostislawNikishinorange2 жыл бұрын
    • 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.

      @oShinobu@oShinobu2 жыл бұрын
    • 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.

      @tylergriffin333@tylergriffin3332 жыл бұрын
    • And it's much more portable, because almost every programming language supports input > output operations in its standard library.

      @kartkibloczek@kartkibloczek2 жыл бұрын
    • I can't imagine anyone that writes software for self use would ever bother designing a GUI

      @robbietorkelsonn8509@robbietorkelsonn85092 жыл бұрын
    • @@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.

      @ThePC007@ThePC0072 жыл бұрын
  • "Your probably familiar with bash" Shows zsh

    @elijahcruz8895@elijahcruz88952 жыл бұрын
    • Noticed that too lmfao

      @WalkxYT@WalkxYT2 жыл бұрын
    • 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?

      @AverageSneedEnjoyer@AverageSneedEnjoyer2 жыл бұрын
    • Yet pause to remember zsh when mentioning what Macos replaced bash with. Sneaky one guys ;)

      @kiritgupta@kiritgupta2 жыл бұрын
    • And mentions using DOS, with a NT command prompt and NTFS file system instead of FAT16

      @Vlad-1986@Vlad-19862 жыл бұрын
    • @@AverageSneedEnjoyer You guys don't use posix shells?

      @herbertwestiron@herbertwestiron2 жыл бұрын
  • 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.

    @BrayanDiazssJD@BrayanDiazssJD2 жыл бұрын
  • Me, who uses the terminal for everything… “why wouldn’t they? GUIs are often way slower and more complicated…”

    @heinrichdertote149@heinrichdertote1492 жыл бұрын
    • With the rise of natural language processing, cli should be easier than gui later by using plain natural language commands

      @fltfathin@fltfathin2 жыл бұрын
    • @@fltfathin I can still type commands faster than I could articulate them with speech, sooooo…eh

      @liesdamnlies3372@liesdamnlies33722 жыл бұрын
    • Not necessarily, it depends on the situation. With GUIs you can also develop muscle memory as well.

      @jackkraken3888@jackkraken38882 жыл бұрын
    • @@jackkraken3888 sure, and for image editing for example they are basically the only way. But for everything I am doing, GUIs are worse.

      @heinrichdertote149@heinrichdertote1492 жыл бұрын
    • @@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.

      @jackkraken3888@jackkraken38882 жыл бұрын
  • 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.

    @patrik5123@patrik51232 жыл бұрын
    • 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. :)

      @arnox4554@arnox45542 жыл бұрын
    • @@arnox4554 that's what man pages are for. Unlike a GUI, they're searchable.

      @morosis82@morosis822 жыл бұрын
    • I would like to get into command line but I couldn't find any tutorials or guides. Do you have any recommendations?

      @mayurga8956@mayurga89562 жыл бұрын
    • @@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.

      @TheEVASIVEtaco@TheEVASIVEtaco2 жыл бұрын
    • @@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.

      @morosis82@morosis822 жыл бұрын
  • Answer: because programmers usually want working stuff, not fancy stuff.

    @Masa-san@Masa-san2 жыл бұрын
    • As a programmer: true

      @akatsukilevi@akatsukilevi2 жыл бұрын
    • agreed

      @nocturn9x@nocturn9x2 жыл бұрын
    • Indeed.

      @tomf3150@tomf31502 жыл бұрын
    • ANALOGY=TRUE

      @reggiep75@reggiep752 жыл бұрын
    • @@reggiep75 geez you programming in COBOL or SQL with those caps?

      @KingJellyfishII@KingJellyfishII2 жыл бұрын
  • 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.

    @richardatkins5249@richardatkins52492 жыл бұрын
  • 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.

    @wilburfudd@wilburfudd2 жыл бұрын
  • 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.

    @benedani9580@benedani95802 жыл бұрын
    • aka how to say "I use Arch btw" without spelling it out ;)

      @Lodinn@Lodinn2 жыл бұрын
    • Or Manjaro, or EndeavorOS, or any of a dozen other Arch-based distributions, including SteamOS.

      @JamieStuff@JamieStuff2 жыл бұрын
    • 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.

      @larsalfredhenrikstahlin8012@larsalfredhenrikstahlin80122 жыл бұрын
    • @@larsalfredhenrikstahlin8012 CD is Completely unnecessary. Just pacman

      @kavinunethsarakoswattage3516@kavinunethsarakoswattage35162 жыл бұрын
    • @@kavinunethsarakoswattage3516 'pacman' is not recognized as an internal or external command, operable program or batch file. rip ^^

      @larsalfredhenrikstahlin8012@larsalfredhenrikstahlin80122 жыл бұрын
  • 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.

    @Mike__B@Mike__B2 жыл бұрын
    • that was middle school, not Engineering students. lol

      @Reeces_Pieces@Reeces_Pieces2 жыл бұрын
    • @@Reeces_Pieces still pretty awful tho

      @alfiegordon9013@alfiegordon90132 жыл бұрын
    • 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!

      @andmicbro1@andmicbro12 жыл бұрын
    • @@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.

      @steemlenn8797@steemlenn87972 жыл бұрын
    • @@Reeces_Pieces it was in uni

      @NoNameAtAll2@NoNameAtAll22 жыл бұрын
  • 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.

    @Tidyweekender@Tidyweekender2 жыл бұрын
  • 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.

    @FG-bn3qq@FG-bn3qq2 жыл бұрын
    • Yikes

      @FunBoysGaming@FunBoysGaming2 жыл бұрын
    • @@FunBoysGaming I wasn't a very extroverted child

      @FG-bn3qq@FG-bn3qq2 жыл бұрын
  • 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.

    @alanleuthard2689@alanleuthard26892 жыл бұрын
    • 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.

      @MahmoudElgassier@MahmoudElgassier2 жыл бұрын
    • @@MahmoudElgassier this. But windows server? Yikes

      @sonpham3438@sonpham34382 жыл бұрын
  • Because building UI takes a lot of work.

    @shunnybunny@shunnybunny2 жыл бұрын
    • This.

      @gtsiam@gtsiam2 жыл бұрын
    • @@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

      @RonLaws@RonLaws2 жыл бұрын
    • @@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.

      @rockytom5889@rockytom58892 жыл бұрын
    • Apparently not these days. Modern UX development: - Enable hilariously large font faces - Throw around sparse controls with lots of wasted screenspace - Profit

      @Wahinies@Wahinies2 жыл бұрын
    • @@Wahinies accessibility plays a big part. Regardless you caring about it or not.

      @shunnybunny@shunnybunny2 жыл бұрын
  • 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.

    @Denominus@Denominus2 жыл бұрын
  • Thanks, informative, and you have really good delivery.

    @originalsubwayjones@originalsubwayjones2 жыл бұрын
  • "It comes with a built-in dark mode." Anyone remember that xterm default color scheme of black on urine yellow? 😬😬😬

    @unvergebeneid@unvergebeneid2 жыл бұрын
    • yes....

      @BruceCarbonLakeriver@BruceCarbonLakeriver2 жыл бұрын
    • I hate how xterm default color is white, it screams at my sensible baby eyes

      @Ceu.Noturno@Ceu.Noturno2 жыл бұрын
    • just imagining black on urine yellow makes my head hurt

      @WhiteRoninG@WhiteRoninG2 жыл бұрын
  • 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!

    @embukun@embukun2 жыл бұрын
  • 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.

    @Chatsu8o@Chatsu8o2 жыл бұрын
    • You referring to SSH?

      @eccentricOrange@eccentricOrange2 жыл бұрын
    • @@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.

      @Chatsu8o@Chatsu8o2 жыл бұрын
    • @@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?"

      @eccentricOrange@eccentricOrange2 жыл бұрын
    • ​@@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 😂

      @KushagraJuneja@KushagraJuneja2 жыл бұрын
  • The shutdown command really helped me for the past year, especially when it's time to sleep or work. PC shuts down = aight imma head out. Anyway was kinda terrified to use CMD or terminal, but if you're in a tutorial to complete installation or do some settings, instruction with few lines of code are a lifesaver compared to showing you how to navigate menus showing the steps using bullet list or screenshots while with CMD/Terminal it will easily get done by simply copy-paste the code.

    @ngybrid@ngybrid2 жыл бұрын
    • The constant GUI redesign (especially with Win10 and probably Win11) really grinds my gears (with regards to tutorials that are out-of-date within a month). I read a comment on a forum that said something like "Either go all in with Settings (Windows 10 Metro app) or don't have it at all. Don't make me go into Control Panel anyway because the setting I need isn't in Settings." I couldn't agree more.

      @encycl07pedia-@encycl07pedia-2 жыл бұрын
  • well, command lines just saved my pc from being bricked, so i'm thankful.

    @friendhaus1858@friendhaus18582 жыл бұрын
    • 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!

      @reggiep75@reggiep752 жыл бұрын
    • @@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

      @friendhaus1858@friendhaus18582 жыл бұрын
  • 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."

    @WAF74@WAF742 жыл бұрын
    • LOOOOL

      @BruceCarbonLakeriver@BruceCarbonLakeriver2 жыл бұрын
  • 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.

    @davidcookmfs6950@davidcookmfs69502 жыл бұрын
  • 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.

    @shiro3940@shiro39402 жыл бұрын
  • Techquickie: Why do command lines still exist? Linux: Am I a joke to you?

    @konstanius4067@konstanius40672 жыл бұрын
    • Techquickie: Why do command lines still exist? Linux: Why do GUIs still exist?

      @grmancool@grmancool2 жыл бұрын
    • @@grmancool Neuralink: why UI?

      @jtjames79@jtjames792 жыл бұрын
    • you are.

      @nakedeye44@nakedeye442 жыл бұрын
    • @@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.

      @lored6811@lored68112 жыл бұрын
    • @@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.

      @Illindi@Illindi2 жыл бұрын
  • 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

    @DETERNET@DETERNET2 жыл бұрын
  • 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 :)

    @dimaka28@dimaka282 жыл бұрын
  • 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.

    @kloakovalimonada@kloakovalimonada2 жыл бұрын
  • 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

    @classicrockonly@classicrockonly2 жыл бұрын
    • What exactly do you use it for outside work?

      @cristibaluta@cristibaluta2 жыл бұрын
    • @@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

      @classicrockonly@classicrockonly2 жыл бұрын
    • @@classicrockonly You are officially a nerd.

      @cristibaluta@cristibaluta2 жыл бұрын
    • @@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

      @classicrockonly@classicrockonly2 жыл бұрын
    • @@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.

      @randomuser5237@randomuser52372 жыл бұрын
  • The GUI is your computer talking to you while the Command Line is you talking to your computer.

    @johnnyvvlog@johnnyvvlog2 жыл бұрын
    • that's a brilliant way to explain it

      @Couleur@Couleur2 жыл бұрын
    • More like, the command line is a GUI made by programmers.

      @heroclix0rz@heroclix0rz2 жыл бұрын
    • In reality, the command line is also a middle man. A command line is you talking to bash, which talks to your computer.

      @theMoporter@theMoporter2 жыл бұрын
    • @@theMoporter - I had hoped someone would offer up the 'GUI = the middle man' analogy. YOU'RE ON THE WINNING SIDE!

      @reggiep75@reggiep752 жыл бұрын
    • @@brandondamitz8876 Outdated? Absolutely not. But I agree very few people use it nowadays

      @KingJellyfishII@KingJellyfishII2 жыл бұрын
  • Im not old but have used a DOS cmd line. MS-DOS 3.22 to be exact, a version as far as my quick look on wikipedia shows is only for the HP-95LX

    @Palmtop_User@Palmtop_User2 жыл бұрын
  • Use it all the time when I’m network troubleshooting or for a more verbose indication of what chkdsk/scan disk is doing because the GUI version is vague. And the MSDOS based windows with floppy drives, command lines format is a lot faster and provides a few more options. Have an old transportable with MSDOS 6.22 on it and MSDOS shell on it, don’t need a mouse and no bloat :)

    @williefleete@williefleete2 жыл бұрын
  • 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.

    @kernelpickle@kernelpickle2 жыл бұрын
    • 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.

      @seanld444@seanld4442 жыл бұрын
    • @@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!

      @kernelpickle@kernelpickle2 жыл бұрын
    • @@kernelpickle I didn't know about that fish slogan haha. That's great. Another KZheadr 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.

      @seanld444@seanld4442 жыл бұрын
    • @@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!

      @kernelpickle@kernelpickle2 жыл бұрын
    • @@kernelpickle yeah man absolutely. Hope you find whatever suits you best.

      @seanld444@seanld4442 жыл бұрын
  • Not to mention ability to create scripts (sh, bat) to automatically perform lots of tasks and configure them.

    @sergeybond97@sergeybond972 жыл бұрын
    • Shell scripts is how A LOT of stuff works on Linux, including how literally any service was started before systemd.

      @jfolz@jfolz2 жыл бұрын
    • wasn't that point also mentioned

      @ArtyIF@ArtyIF2 жыл бұрын
    • @@brandondamitz8876 I see you have never used CLI before.

      @benedani9580@benedani95802 жыл бұрын
    • @@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.

      @oysteinsoreide4323@oysteinsoreide43232 жыл бұрын
    • Powershell scripts can be pretty damn useful as well!

      @mlmmt@mlmmt2 жыл бұрын
  • I use CLI for my PI1 as, while technically being able to output 1080p, it really is choppy, whereas when I disabled it the single core cpu can run Spotify streaks without being bottlenecked by the cpu (music stutters are annoying) Also tmux is very useful in providing ssh access to terminal windows like minecraft server instances or turning a raspberry pi 2 into a calibre content server

    @chielmeiberg@chielmeiberg2 жыл бұрын
  • I don't use command lines in the OS software, but I do use commands in Amadeus. It goes a lot faster to type some stuff manually (and you can copy paste) than it does to find the right button in the software (EDISS).

    @halvars90@halvars902 жыл бұрын
  • 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.

    @jooplin@jooplin2 жыл бұрын
  • The one problem when Anthony hosts content : people talk more about Anthony than the content itself !

    @Hawx32@Hawx322 жыл бұрын
    • I wouldn't consider it a downside

      @kubak3381@kubak33812 жыл бұрын
    • And when you know why it's quite cringe.

      @samharris4793@samharris47932 жыл бұрын
    • @@samharris4793 what do you mean? I don’t know “why”. I just like his voice and he’s got a good sense of nerd humor.

      @UniqueNick@UniqueNick2 жыл бұрын
    • 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.

      @seanld444@seanld4442 жыл бұрын
  • "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.

    @yumri4@yumri42 жыл бұрын
  • 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.

    @catalinvasile461@catalinvasile4612 жыл бұрын
  • 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..

    @dan_loup@dan_loup2 жыл бұрын
    • GUI wrappers for ffmpeg are far more intuitive and easier to use.

      @henlofren7321@henlofren73212 жыл бұрын
    • @@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.

      @RobinCernyMitSuffix@RobinCernyMitSuffix2 жыл бұрын
    • @@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...

      @henlofren7321@henlofren73212 жыл бұрын
  • 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.

    @EDToasty@EDToasty2 жыл бұрын
    • It's really easier than clicking twice?

      @kaldo8907@kaldo89072 жыл бұрын
    • @@kaldo8907 what do you mean by clicking twice?

      @EDToasty@EDToasty2 жыл бұрын
    • @@EDToasty ssh ftw :D

      @BruceCarbonLakeriver@BruceCarbonLakeriver2 жыл бұрын
  • Also a GUI just parses your inputs to the commandline and renders the output nicely. Somewhere in the code for the windows explorer it runs the dir command to list all files in the cwd.

    @THEMithrandir09@THEMithrandir092 жыл бұрын
    • it would be would cool. but programs typically use the Windows API. although, the dir command probably also uses it the Windows API. so there seems to be some (unnecessary?) indirection

      @xybersurfer@xybersurfer2 жыл бұрын
  • 3:00 You can view wifi passwords in the GUI without the need of a terminal in windows, though it is easier with the terminal.

    @Br4nchy28@Br4nchy282 жыл бұрын
  • 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.

    @Groovewonder2@Groovewonder22 жыл бұрын
    • There's definitely a lot of guides on KZhead but I do see a reason for LMG doing one being that a larger audience would be more likely to see it.

      @tukuiPat@tukuiPat2 жыл бұрын
    • @@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.

      @Groovewonder2@Groovewonder22 жыл бұрын
    • Arch might not be the best distro for noobs.

      @lodestarsd4456@lodestarsd44562 жыл бұрын
    • @@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.

      @Groovewonder2@Groovewonder22 жыл бұрын
    • 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.

      @JamieStuff@JamieStuff2 жыл бұрын
  • 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.

    @martianunlimited@martianunlimited2 жыл бұрын
    • ssh is the best invention ever!

      @MuhammadHanif-bx4pb@MuhammadHanif-bx4pb2 жыл бұрын
  • I had several interns in my IT job (most were in programming courses, but decided to do IT because they wanted to see what it's like or they just wanted to get a signature for completed internship). None of them knew how to navigate the file systems in the command prompt/powershell/terminal so I would always fit at least that in. Once they learned how relative paths work most of them improved even how they wrote code (had given a few assignments for automating a task). But yeah, command line is key for sysadmins. Even if you use a tool with a GUI, chances are that tool will sometimes have features that require you to know how to use a command line to do things.

    @HellDuke-@HellDuke-2 жыл бұрын
  • 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.

    @Necropheliac@Necropheliac2 жыл бұрын
  • I remember learning python back in 2013 and installing packages was so simple, I fell in love instantly

    @scraps7624@scraps76242 жыл бұрын
    • "back in 2013" Man, 2013 feels like it was last week but it's actually been 8 years...

      @Skystrike70@Skystrike702 жыл бұрын
    • Yep. Package managers are really damn awesome.

      @2001herne@2001herne2 жыл бұрын
    • @@Skystrike70 Ya, 2013 was just "one job ago", which is how I guess I measure time in my old age.

      @AaronBish@AaronBish2 жыл бұрын
  • 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!

    @nrg753@nrg7532 жыл бұрын
    • He already runs Linux on desktop.

      @tunahankaratay1523@tunahankaratay15232 жыл бұрын
    • ​@@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.

      @nrg753@nrg7532 жыл бұрын
  • 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)

    @judicator375@judicator3752 жыл бұрын
  • Primary reason why the CLI still exists is that it gives you the best flexibility to do something in your system. I've developed CLIs, even intractable ones a while back, and for developers it's so easy to introduce a new feature but I saw the process of some people trying to integrate them GUIs, and it always results in the same thing and that is the UX takes priority in terms of focus here more than the actual functionality. This might sound technical for some, so be warned, but a while back I was forced to use web UIs for docker containers, and even for Kubernetes and I always ran into some problems that we could not solve in the UI, so I told people to give me ssh access and I solved the issue, and after that people started to give up on Portainer and Rancher. I can go in depth about this for ages, but now it's pretty simple to understand the advantages of CLIs, especially sh/bash.

    @BrotherPatrix@BrotherPatrix2 жыл бұрын
  • The "Hey, it comes with a built in dark mode" sold me

    @ikannunaplays@ikannunaplays2 жыл бұрын
  • 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.

    @maxuuell@maxuuell2 жыл бұрын
    • It's out there. You should try looking for it.

      @chaos.corner@chaos.corner2 жыл бұрын
  • 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.

    @Demian143@Demian1432 жыл бұрын
    • 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.

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

      @user-ze7tl2dw4i@user-ze7tl2dw4i2 жыл бұрын
  • I like how the editor showed a zsh screenshot as Anthony mentioned Bash.

    @lua-nya@lua-nya2 жыл бұрын
    • well spotted, Ruby. ;)

      @sofia.eris.bauhaus@sofia.eris.bauhaus2 жыл бұрын
  • There’s that soothing voice that we missed so dearly.

    @OzzySafa@OzzySafa2 жыл бұрын
  • 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'!

    @pu239@pu2392 жыл бұрын
    • Erm…do you mean Powershell?

      @liesdamnlies3372@liesdamnlies33722 жыл бұрын
    • @@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

      @FirstnameLastName-mr8lk@FirstnameLastName-mr8lk2 жыл бұрын
    • @@FirstnameLastName-mr8lk AAAAAAAAAAAAAAAAAAAAAA Now I'm just more confused. But I've always been confused by how Microsoft does things.

      @liesdamnlies3372@liesdamnlies33722 жыл бұрын
    • @@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

      @FirstnameLastName-mr8lk@FirstnameLastName-mr8lk2 жыл бұрын
    • @@FirstnameLastName-mr8lk As a long time Alacritty/Kitty and tmux user, I am confused by this description, but okie

      @liesdamnlies3372@liesdamnlies33722 жыл бұрын
  • 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

    @tomcruickshank8210@tomcruickshank82102 жыл бұрын
  • When I was a college back in the days of Windows 9x in order to used command prompt for programming courses we need to restart Windows into command prompt mode, so we can do program in C, Turbo Pascal, Java and/or COBOL/CICS, in which that time it was quite annoying when you debugging COBOL or Java programs. Today when I teaching basic Java programming, before we start do the coding and debugging, I teach my students first how to use the command line.

    @homercastillo8834@homercastillo88342 жыл бұрын
  • Me who used it few hours ago: hmm.. lets see why we still have it on our computers

    @AdishaFdo@AdishaFdo2 жыл бұрын
    • Yeah i always use it for Diskpart.. very powerful than windows normal formatting tool and no need to download additional apps

      @AshanSanjula@AshanSanjula2 жыл бұрын
    • Me, using it right now to play music and edit files:

      @KingJellyfishII@KingJellyfishII2 жыл бұрын
    • @@KingJellyfishII can you play music through it?

      @AshanSanjula@AshanSanjula2 жыл бұрын
    • @@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

      @modernkennnern@modernkennnern2 жыл бұрын
    • @@AshanSanjula yeah, the "play" command exists on Linux for example. Doesn't even show a window.

      @benedani9580@benedani95802 жыл бұрын
  • Everyone: pointing out zsh is shown instead of Bash Me: echo !!

    @syakhiskk@syakhiskk2 жыл бұрын
  • Thank you so much for this explanation.

    @user-pg7cc9dr5p@user-pg7cc9dr5p2 жыл бұрын
  • Anthony talking about CLI or Linux is my spirit animal

    @NastyWicked@NastyWicked2 жыл бұрын
  • You can easily automate stuff in command line through scripts. That's something that's a lot harder to do on the GUI.

    @fauzirahman3285@fauzirahman32852 жыл бұрын
  • basics of programming and some knowledge of command line opens a whole new world of possibilities.

    @ganeshnimbalkar2792@ganeshnimbalkar27922 жыл бұрын
  • GUIs are somebody else’s arbitrary flow/grouping of functionality. Command line commands do one thing and one thing well. So I can compose them in pipelines as needed, write scripts and set aliases for favorites.

    @balasubramanianvaidyalinga487@balasubramanianvaidyalinga4872 жыл бұрын
  • When I was a system administrator, I used command lines all the time. Now, I even use them occasionally for my home machines.

    @PhotoTrekr@PhotoTrekr2 жыл бұрын
  • 1:18 Ouch.. yeah even I am getting old. Used Windows Me for years :D

    @Nostalgia_Realm@Nostalgia_Realm2 жыл бұрын
    • 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.

      @jamiegreig9699@jamiegreig96992 жыл бұрын
    • I used it for two days and reloaded Windows 98.

      @cseale61@cseale612 жыл бұрын
  • "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

    @kavinunethsarakoswattage3516@kavinunethsarakoswattage35162 жыл бұрын
    • In fact, there is an extremely large amount of books in the library of babel which are iterating on this statement many a times

      @KebunH@KebunH2 жыл бұрын
    • Sirawata ? 😂😂

      @thunderkunt5416@thunderkunt54162 жыл бұрын
  • A lot of jokes on this channel are cute little throwaway gags, but the "built in dark mode" joke actually made me chuckle

    @MysterySteve@MysterySteve2 жыл бұрын
  • I'm an average user (well, maybe slightly above average after working in an ISP's tech support inbound call center for a couple years), and I was able to make a super simple and useful script. My laptop had a really perplexing and annoying issue with internet connectivity that would pop up almost daily, and the only way to resolve it was by resetting the network adapter. I created a short command script to reset my adapter and put it as a shortcut on my desktop. Now instead of navigating through the settings I could fix it with one click! Fortunately, it seems there's been an update to my laptop that seemed to resolve the issue permanently 🙂

    @robpaprox@robpaprox2 жыл бұрын
  • 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

    @nepnep1057@nepnep10572 жыл бұрын
    • A N I M E N I M E

      @KokoroKatsura@KokoroKatsura2 жыл бұрын
    • Black window with text scary. Must use windows.

      @Barten0071@Barten00712 жыл бұрын
    • If you type if correctly. I am really surprised you can do that, Neppu Neppu!

      @steemlenn8797@steemlenn87972 жыл бұрын
    • 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

      @kaldo8907@kaldo89072 жыл бұрын
    • it's only easy to remember for frequent things

      @xybersurfer@xybersurfer2 жыл бұрын
  • Anthony, there's a people that never used XP even, or even worse didn't foolishly updated to Vista 😂 yeah, we are old 🤣

    @TheDevilItSelf@TheDevilItSelf2 жыл бұрын
    • Vista released 14 years ago. Damn we're old.

      @hdkv@hdkv2 жыл бұрын
    • @@hdkv I guess we are, but I wouldn't say old, I'll rather say that we have expiriance 🤣

      @TheDevilItSelf@TheDevilItSelf2 жыл бұрын
    • Windows NT 3.5 on a DEC Alpha. Those were the days...

      @JamieStuff@JamieStuff2 жыл бұрын
  • This man has such a great voice and delivery.

    @yourself88xbl@yourself88xbl2 жыл бұрын
  • GUIs have their place (can't really do things like edit video or 3d modeling on CLI). However the command line shines at giving you precise control, speed, and reproducability. As a developer at a company with a large code base, build systems and version control on the command line make my work life sooooooo much faster and easier. If I simply send a coworker the build command I'm using to run the code I'm working on, and they pull my branch from the remote repo, that's all they need to reproduce the state my code is in and run it with the same settings I am!

    @jonathanpritchard6464@jonathanpritchard64642 жыл бұрын
  • 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.

    @Dmitriy.0@Dmitriy.02 жыл бұрын
    • Bump, Linux with Anthony needs to happen

      @benedani9580@benedani95802 жыл бұрын
    • 100% agree, come on Linus at least a weekly Linux update gig. Unfortunately Anthony is probably kept busy with a lot of other projects.

      @deultima@deultima2 жыл бұрын
  • Anthony should be doing online classes like for CompTIA A+

    @FranceesSolutions@FranceesSolutions2 жыл бұрын
  • 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

    @macaronivirus5913@macaronivirus59132 жыл бұрын
    • I agree with you when can do automation it flexes more the CLI

      @jay4ubaby@jay4ubaby2 жыл бұрын
  • What most people miss out when using the CLI is that they tend to not know about the suggestions, auto-completions, interactive help, etc. in the shell. Using a shell like "fish" opened my mind. I realized that we don't necessarily have to run a command before determining that it's wrong, or have to look up the manual to see the correct options. The shell can suggest me the possible flags, combinations, etc. while I type. The CLI still has a long way to go. We can have some sort of GUI that helps us construct the command, that'd be cool!

    @nahiyanalamgir7056@nahiyanalamgir70562 жыл бұрын
KZhead