Тёмный

Why Do Command Lines Still Exist? 

Techquickie
Подписаться 4,3 млн
Просмотров 641 тыс.
50% 1

Наука

Опубликовано:

 

21 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2,6 тыс.   
@Adam.Robert
@Adam.Robert 3 года назад
I hit the like button for the “hey, built in dark mode,” joke. Legit chuckled.
@pajeetsingh
@pajeetsingh 3 года назад
wat
@deultima
@deultima 3 года назад
LOL, Me too!
@lloyd1934
@lloyd1934 3 года назад
Same lol
@robspiess
@robspiess 3 года назад
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 3 года назад
Facts
@OhadLutzky
@OhadLutzky 3 года назад
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 3 года назад
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
@2020-p2z
@2020-p2z 3 года назад
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 3 года назад
I helped a friend that way a few days ago!
@WorBlux
@WorBlux 3 года назад
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 3 года назад
@@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.
@ErilynOfAnachronos
@ErilynOfAnachronos 3 года назад
"It comes with a built-in dark mode." Nice one Anthony! 👍😁
@GeekIWG
@GeekIWG 3 года назад
> COLOR F0 😉
@markusTegelane
@markusTegelane 3 года назад
color 8 for really dark mode
@Jesse-2531
@Jesse-2531 3 года назад
@@GeekIWG wot is the f for?
@GeekIWG
@GeekIWG 3 года назад
@@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 3 года назад
And during my initial days with command line, I thought green looks cool and fancy. Apparently history repeats.
@Nordern
@Nordern 3 года назад
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 3 года назад
Hello Nordern! Love your content
@hippynurd
@hippynurd 3 года назад
Ive edited video on computers that were too slow to play the video, using ffmpeg.
@TheSchmed
@TheSchmed 3 года назад
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 3 года назад
Absolutely, oh the first time I've built FFMPEG from source on a Linux, what a worthwhile nightmare.
@namesurname4666
@namesurname4666 2 года назад
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 года назад
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 года назад
7 works on a distant server without having to virtualize the full environment
@kellenstuart4698
@kellenstuart4698 2 года назад
haha. I would argue old windows command-line is a UI issue in itself. Windows terminal is amazing though
@entelin
@entelin 2 года назад
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 года назад
7 there's no reason to do away with it, and no one has to use it or even see it (much)
@orangejuice
@orangejuice 3 года назад
Anthony always delivers the facts. Love it.
@masterdoge17
@masterdoge17 3 года назад
Just beat the Electron wiz challenge with ZERO LOSSES
@an1ketsharma
@an1ketsharma 3 года назад
ITSA ORANGE JOOOCE
@Mo1o10
@Mo1o10 3 года назад
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_ 3 года назад
Now he can max up any card with only comands
@bettercallai_
@bettercallai_ 3 года назад
And you always deliver the unoriginal comments
@konnilol4
@konnilol4 3 года назад
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 3 года назад
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 3 года назад
@@philipw until you actually read what the error is and it probably tells what you're doing wrong
@h3xd3m0n9
@h3xd3m0n9 3 года назад
@@t_kups8309 he confused it with windows errors
@davkdavk
@davkdavk 3 года назад
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 3 года назад
Windows 95. A Turtle and its Shell.
@CarputingYT
@CarputingYT 3 года назад
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_ 3 года назад
Agreed.
@kekistanifreedomfighter4197
@kekistanifreedomfighter4197 3 года назад
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 3 года назад
Agreed in third! I hope he gets to see these comments, too.
@voltaicfire1825
@voltaicfire1825 3 года назад
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 3 года назад
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.
@guilleeeavgs
@guilleeeavgs 2 года назад
i loved the “hey, and it comes with built-in dark mode”
@suparki123
@suparki123 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.
@cloudybrains
@cloudybrains 3 года назад
Every developer/sys admin out there : Why do GUIs still exist when you have the command line available?
@realtechhacks
@realtechhacks 3 года назад
as a developer while I love the command line I would die if GUIs just disappeared
@lesserfield_
@lesserfield_ 3 года назад
TUI is still rock
@duckmeat4674
@duckmeat4674 3 года назад
@@realtechhacks as a developer, no this isnt true at all, CLI makes more sense for coding
@realtechhacks
@realtechhacks 3 года назад
@@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 3 года назад
@@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
@fjl05
@fjl05 3 года назад
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 3 года назад
Seconded
@THEwed123wet
@THEwed123wet 3 года назад
@@tongpoo8985 However the next denomitation is said. :)
@implayingsomebass4753
@implayingsomebass4753 3 года назад
@@THEwed123wet 3rd'st'd. (I'll see myself out)
@THEwed123wet
@THEwed123wet 3 года назад
@@implayingsomebass4753 wanted to avoid that XD
@watema3381
@watema3381 2 года назад
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 3 года назад
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 3 года назад
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 3 года назад
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 3 года назад
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 3 года назад
Ssh, ftp, telnet...
@ArtyIF
@ArtyIF 3 года назад
so you update the database twice, first time as root and second as current user
@dealloc
@dealloc 2 года назад
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.
@AlejandroLZuvic
@AlejandroLZuvic 3 года назад
"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 года назад
As a ZSH user this triggered me.
@denniscleaver3559
@denniscleaver3559 2 года назад
@@RowenStipe FISH master race.
@StellaEFZ
@StellaEFZ 2 года назад
@@denniscleaver3559 lmao
@eramorn
@eramorn 2 года назад
Oh my zsh!
@youdontknowme5969
@youdontknowme5969 3 года назад
me 10 years ago: What is this 70's Unix crap? me today: I can't live without bash at least
@oysteinsoreide4323
@oysteinsoreide4323 3 года назад
Unix and linux became quite good in the 90s after the 32 bit x86 platforms came.
@MaximNightFury
@MaximNightFury 3 года назад
Yeah, I tried zsh but it didn't really work for me
@thecashewtrader3328
@thecashewtrader3328 3 года назад
Based UwU
@MahmoudElgassier
@MahmoudElgassier 3 года назад
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 3 года назад
I recommend fish but don't go running any bash scripts in it, it wont work as its not POSIX compliant.
@RostislawNikishinorange
@RostislawNikishinorange 3 года назад
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 3 года назад
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 3 года назад
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 3 года назад
And it's much more portable, because almost every programming language supports input > output operations in its standard library.
@robbietorkelsonn8509
@robbietorkelsonn8509 3 года назад
I can't imagine anyone that writes software for self use would ever bother designing a GUI
@ThePC007
@ThePC007 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.
@elijahcruz8895
@elijahcruz8895 3 года назад
"Your probably familiar with bash" Shows zsh
@WalkxYT
@WalkxYT 3 года назад
Noticed that too lmfao
@AverageSneedEnjoyer
@AverageSneedEnjoyer 3 года назад
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 3 года назад
Yet pause to remember zsh when mentioning what Macos replaced bash with. Sneaky one guys ;)
@Vlad-1986
@Vlad-1986 3 года назад
And mentions using DOS, with a NT command prompt and NTFS file system instead of FAT16
@herbertwestiron
@herbertwestiron 3 года назад
@@AverageSneedEnjoyer You guys don't use posix shells?
@jongeduard
@jongeduard 2 года назад
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 года назад
I agree Imagine a world where everything is made in scratch
@youtubehandleeee
@youtubehandleeee 2 года назад
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 года назад
@@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 7 месяцев назад
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
@heinrichdertote149
@heinrichdertote149 3 года назад
Me, who uses the terminal for everything… “why wouldn’t they? GUIs are often way slower and more complicated…”
@fltfathin
@fltfathin 3 года назад
With the rise of natural language processing, cli should be easier than gui later by using plain natural language commands
@liesdamnlies3372
@liesdamnlies3372 2 года назад
@@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 года назад
@@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 года назад
@@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.
@patrik5123
@patrik5123 3 года назад
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 3 года назад
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 3 года назад
@@arnox4554 that's what man pages are for. Unlike a GUI, they're searchable.
@mayurga8956
@mayurga8956 3 года назад
I would like to get into command line but I couldn't find any tutorials or guides. Do you have any recommendations?
@TheEVASIVEtaco
@TheEVASIVEtaco 3 года назад
@@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 3 года назад
@@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 3 года назад
Answer: because programmers usually want working stuff, not fancy stuff.
@akatsukilevi
@akatsukilevi 3 года назад
As a programmer: true
@nocturn9x
@nocturn9x 3 года назад
agreed
@tomf3150
@tomf3150 3 года назад
Indeed.
@reggiep75
@reggiep75 3 года назад
ANALOGY=TRUE
@KingJellyfishII
@KingJellyfishII 3 года назад
@@reggiep75 geez you programming in COBOL or SQL with those caps?
@chlorobyte_projects
@chlorobyte_projects 3 года назад
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 3 года назад
aka how to say "I use Arch btw" without spelling it out ;)
@JamieStuff
@JamieStuff 3 года назад
Or Manjaro, or EndeavorOS, or any of a dozen other Arch-based distributions, including SteamOS.
@larsalfredhenrikstahlin8012
@larsalfredhenrikstahlin8012 3 года назад
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 3 года назад
@@larsalfredhenrikstahlin8012 CD is Completely unnecessary. Just pacman
@larsalfredhenrikstahlin8012
@larsalfredhenrikstahlin8012 3 года назад
@@kavinunethsarakoswattage3516 'pacman' is not recognized as an internal or external command, operable program or batch file. rip ^^
@tubester358
@tubester358 3 года назад
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 года назад
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 года назад
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
@Necropheliac
@Necropheliac 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.
@alanleuthard2689
@alanleuthard2689 3 года назад
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 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 3 года назад
@@MahmoudElgassier this. But windows server? Yikes
@konstanius4067
@konstanius4067 3 года назад
Techquickie: Why do command lines still exist? Linux: Am I a joke to you?
@grmancool
@grmancool 3 года назад
Techquickie: Why do command lines still exist? Linux: Why do GUIs still exist?
@jtjames79
@jtjames79 3 года назад
@@grmancool Neuralink: why UI?
@nakedeye44
@nakedeye44 3 года назад
you are.
@lored6811
@lored6811 3 года назад
@@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 3 года назад
@@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.
@WAF74
@WAF74 3 года назад
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."
@BruceCarbonLakeriver
@BruceCarbonLakeriver 3 года назад
LOOOOL
@BrayanDiazssJD
@BrayanDiazssJD 3 года назад
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.
@nocturne6320
@nocturne6320 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)
@codewithsusan
@codewithsusan 2 года назад
Good points.
@Mike__B
@Mike__B 3 года назад
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 3 года назад
that was middle school, not Engineering students. lol
@alfiegordon9013
@alfiegordon9013 3 года назад
@@Reeces_Pieces still pretty awful tho
@andmicbro1
@andmicbro1 3 года назад
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 3 года назад
@@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 3 года назад
@@Reeces_Pieces it was in uni
@shunnybunny
@shunnybunny 3 года назад
Because building UI takes a lot of work.
@gtsiam
@gtsiam 3 года назад
This.
@RonLaws
@RonLaws 3 года назад
@@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 3 года назад
@@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 3 года назад
Apparently not these days. Modern UX development: - Enable hilariously large font faces - Throw around sparse controls with lots of wasted screenspace - Profit
@shunnybunny
@shunnybunny 3 года назад
@@Wahinies accessibility plays a big part. Regardless you caring about it or not.
@DETERNET
@DETERNET 3 года назад
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
@wargamingsupernoob
@wargamingsupernoob 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.
@Denominus
@Denominus 2 года назад
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.
@johnnyvvlog
@johnnyvvlog 3 года назад
The GUI is your computer talking to you while the Command Line is you talking to your computer.
@Couleur
@Couleur 3 года назад
that's a brilliant way to explain it
@heroclix0rz
@heroclix0rz 3 года назад
More like, the command line is a GUI made by programmers.
@theMoporter
@theMoporter 3 года назад
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 3 года назад
@@theMoporter - I had hoped someone would offer up the 'GUI = the middle man' analogy. YOU'RE ON THE WINNING SIDE!
@KingJellyfishII
@KingJellyfishII 3 года назад
@@brandondamitz8876 Outdated? Absolutely not. But I agree very few people use it nowadays
@unvergebeneid
@unvergebeneid 3 года назад
"It comes with a built-in dark mode." Anyone remember that xterm default color scheme of black on urine yellow? 😬😬😬
@BruceCarbonLakeriver
@BruceCarbonLakeriver 3 года назад
yes....
@Ceu.Noturno
@Ceu.Noturno 2 года назад
I hate how xterm default color is white, it screams at my sensible baby eyes
@WhiteRoninG
@WhiteRoninG 2 года назад
just imagining black on urine yellow makes my head hurt
@friendhaus1858
@friendhaus1858 3 года назад
well, command lines just saved my pc from being bricked, so i'm thankful.
@reggiep75
@reggiep75 3 года назад
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 3 года назад
@@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
@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)
@catalinvasile461
@catalinvasile461 2 года назад
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.
@classicrockonly
@classicrockonly 3 года назад
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 года назад
What exactly do you use it for outside work?
@classicrockonly
@classicrockonly 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 года назад
@@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 года назад
@@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.
@Dmitriy.0
@Dmitriy.0 3 года назад
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.
@chlorobyte_projects
@chlorobyte_projects 3 года назад
Bump, Linux with Anthony needs to happen
@deultima
@deultima 3 года назад
100% agree, come on Linus at least a weekly Linux update gig. Unfortunately Anthony is probably kept busy with a lot of other projects.
@Hawx32
@Hawx32 3 года назад
The one problem when Anthony hosts content : people talk more about Anthony than the content itself !
@kubak3381
@kubak3381 3 года назад
I wouldn't consider it a downside
@tiffnsniff
@tiffnsniff 3 года назад
And when you know why it's quite cringe.
@Haloweee
@Haloweee 3 года назад
@@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.
@FG-bn3qq
@FG-bn3qq 2 года назад
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 года назад
Yikes
@FG-bn3qq
@FG-bn3qq 2 года назад
@@FunBoysGaming I wasn't a very extroverted child
@kirkallen83
@kirkallen83 3 года назад
As a developer, using the command line essential. When interviewing candidates I often ask if they're comfortable in the linux shell. At my current job I probably spend 40% of my development time at the command line. This includes compiling code, deploying code and general server status and server administration. If you want to work at a company that uses linux servers, understanding your way around the linux shell (bash typically) is a huge plus.
@kernelpickle
@kernelpickle 3 года назад
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 RU-vidr 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 года назад
@@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 года назад
@@kernelpickle yeah man absolutely. Hope you find whatever suits you best.
@jooplin
@jooplin 3 года назад
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.
@sergeybond97
@sergeybond97 3 года назад
Not to mention ability to create scripts (sh, bat) to automatically perform lots of tasks and configure them.
@jfolz
@jfolz 3 года назад
Shell scripts is how A LOT of stuff works on Linux, including how literally any service was started before systemd.
@ArtyIF
@ArtyIF 3 года назад
wasn't that point also mentioned
@chlorobyte_projects
@chlorobyte_projects 3 года назад
@@brandondamitz8876 I see you have never used CLI before.
@oysteinsoreide4323
@oysteinsoreide4323 3 года назад
@@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 3 года назад
Powershell scripts can be pretty damn useful as well!
@Skyfox94
@Skyfox94 2 года назад
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.
@NastyWicked
@NastyWicked 3 года назад
Anthony talking about CLI or Linux is my spirit animal
@scraps7624
@scraps7624 3 года назад
I remember learning python back in 2013 and installing packages was so simple, I fell in love instantly
@Skystrike70
@Skystrike70 3 года назад
"back in 2013" Man, 2013 feels like it was last week but it's actually been 8 years...
@2001herne
@2001herne 3 года назад
Yep. Package managers are really damn awesome.
@AaronBish
@AaronBish 3 года назад
@@Skystrike70 Ya, 2013 was just "one job ago", which is how I guess I measure time in my old age.
@dan_loup
@dan_loup 3 года назад
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 3 года назад
GUI wrappers for ffmpeg are far more intuitive and easier to use.
@RobinCernyMitSuffix
@RobinCernyMitSuffix 3 года назад
@@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 3 года назад
@@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...
@Groovewonder2
@Groovewonder2 3 года назад
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 3 года назад
There's definitely a lot of guides on RU-vid but I do see a reason for LMG doing one being that a larger audience would be more likely to see it.
@Groovewonder2
@Groovewonder2 3 года назад
@@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 3 года назад
Arch might not be the best distro for noobs.
@Groovewonder2
@Groovewonder2 3 года назад
@@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 3 года назад
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.
@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.
@carlsouthern
@carlsouthern 3 года назад
Anthony’s episodes are the best. They’re the only episodes where I always learn something. Keep it up!
@Internatube
@Internatube 3 года назад
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 года назад
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
@nepnep1057
@nepnep1057 3 года назад
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 3 года назад
A N I M E N I M E
@Barten0071
@Barten0071 3 года назад
Black window with text scary. Must use windows.
@steemlenn8797
@steemlenn8797 3 года назад
If you type if correctly. I am really surprised you can do that, Neppu Neppu!
@kaldo_kaldo
@kaldo_kaldo 3 года назад
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
@EDToasty
@EDToasty 3 года назад
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 3 года назад
It's really easier than clicking twice?
@EDToasty
@EDToasty 3 года назад
@@kaldo_kaldo what do you mean by clicking twice?
@BruceCarbonLakeriver
@BruceCarbonLakeriver 3 года назад
@@EDToasty ssh ftw :D
@monnef
@monnef 2 года назад
One big point for CLI is development time. It is so much faster (often two times and more) to implement a basic terminal tool instead of wrangling with GUI/UX and a lot of stupid non-issue tickets (GUI tends to attract "noobs", while CLI attracts more tech savvy users who generally give much better, actionable, reports). For advanced users it's in many cases better to NOT have a GUI, but instead have much more features and detailed options. Or as an author of a CLI tool, let other programmer develop a GUI frontend on top of your project.
@Steamrick
@Steamrick 3 года назад
As an Exchange (Mail-Server) admin: Despite all the shiny UI updates of years past, most real troubleshooting tends to involve powershell commands. Doing it through the UI would take longer or often be outright impossible because the options just aren't implemented.
@pu239
@pu239 3 года назад
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
@Chatsu8o
@Chatsu8o 2 года назад
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 года назад
You referring to SSH?
@Chatsu8o
@Chatsu8o 2 года назад
@@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 года назад
@@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 😂
@AdishaFdo
@AdishaFdo 3 года назад
Me who used it few hours ago: hmm.. lets see why we still have it on our computers
@AshanSanjula
@AshanSanjula 3 года назад
Yeah i always use it for Diskpart.. very powerful than windows normal formatting tool and no need to download additional apps
@KingJellyfishII
@KingJellyfishII 3 года назад
Me, using it right now to play music and edit files:
@AshanSanjula
@AshanSanjula 3 года назад
@@KingJellyfishII can you play music through it?
@modernkennnern
@modernkennnern 3 года назад
@@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
@chlorobyte_projects
@chlorobyte_projects 3 года назад
@@AshanSanjula yeah, the "play" command exists on Linux for example. Doesn't even show a window.
@Skystrike70
@Skystrike70 3 года назад
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
@oglothenerd
@oglothenerd 2 месяца назад
Bash is so powerful, that I spend 95% of my time in the terminal. It has even gotten to the point where I open a terminal when I am not sure what I should open!
@ikannunaplays
@ikannunaplays 3 года назад
The "Hey, it comes with a built in dark mode" sold me
@Demian143
@Demian143 2 года назад
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 года назад
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.
@maxuuell
@maxuuell 3 года назад
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.
@macaronivirus5913
@macaronivirus5913 3 года назад
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 3 года назад
I agree with you when can do automation it flexes more the CLI
@NostraDavid2
@NostraDavid2 2 года назад
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!
@kavinunethsarakoswattage3516
@kavinunethsarakoswattage3516 3 года назад
"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 года назад
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 ? 😂😂
@OzzySafa
@OzzySafa 3 года назад
There’s that soothing voice that we missed so dearly.
@syakhiskk
@syakhiskk 3 года назад
Everyone: pointing out zsh is shown instead of Bash Me: echo !!
@richardatkins5249
@richardatkins5249 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.
@BrotherPatrix
@BrotherPatrix 2 года назад
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.
@nrg753
@nrg753 3 года назад
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.
@martianunlimited
@martianunlimited 3 года назад
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.
@MuhammadHanif-bx4pb
@MuhammadHanif-bx4pb 3 года назад
ssh is the best invention ever!
@VilasNil
@VilasNil 3 года назад
As a Software Developer, thank god that the command line still exists, it simplifies many of my tasks
@factChecker01
@factChecker01 2 года назад
Not mentioned: Try to reliably record and document a long sequence of user actions in a GUI. Try to follow some youtube instructions and see that the options they describe do not show up for you because you have changed some display options. That never happens in command lines. I can send you a script of command lines to do very complicated and long procedures that will work. You couldn't do one-tenth of that with a GUI. Also not mentioned: Suppose you have gone through a long trial-and-error process to get something done using command lines. You can list the history of commands, edit out the steps that didn't work, and save the final perfected process in a file to repeat when needed. Command lines rule!
@PhotoTrekr
@PhotoTrekr 2 года назад
When I was a system administrator, I used command lines all the time. Now, I even use them occasionally for my home machines.
@alexandermyrthue1987
@alexandermyrthue1987 3 года назад
"It comes with build in dark mode" Aha that's a gooooooooood selling point guess I must start using it LoL
@andmicbro1
@andmicbro1 3 года назад
@@zanewaits8026 (cough)Apple(cough)
@maujanjatv24h41
@maujanjatv24h41 3 года назад
@@andmicbro1 lmao
@yumri4
@yumri4 3 года назад
"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.
@popebobcat3716
@popebobcat3716 3 года назад
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.
@darysparta9676
@darysparta9676 2 года назад
so nice to have Anthony explain things, he's very good at it
@nahiyanalamgir7056
@nahiyanalamgir7056 2 года назад
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!
@flavioherrera7488
@flavioherrera7488 2 года назад
Not going to lie as a programmer I have come to love the command line, it’s just so much more strait forward and works seeming-less
@pecewu
@pecewu 3 года назад
Thank God they still exist.
@lua-nya
@lua-nya 3 года назад
I like how the editor showed a zsh screenshot as Anthony mentioned Bash.
@sofia.eris.bauhaus
@sofia.eris.bauhaus 2 года назад
well spotted, Ruby. ;)
@jan_harald
@jan_harald 3 года назад
GUIs are actually NOT easier (to people who're not already used to them) ;P there was a study I can't find anymore, done back in the day when there were still people who had never seen or used a computer, and using a command line was actually EASIER than using a GUI (and GUI principles) but nowdays you're used to GUIs, for the younger people that's all they've ever used, so that's why it feels easier for you, just like writing english with regular latin letters feels easier than writing with runes because you've been doing that your whole life, even though runes would technically be easier, since there's no weird writing rules, you just write words by the way you pronounce them... the study found it easier for fresh users, because you give command, and you get output, you tell computer "list files" and it lists files, you tell it "copy this file and name the copy that" and it does it, it's just like a slightly different version of english, with some specific syntax (like "ls" shorthand instead of typing "list files" in full, or "dir" instead of "directory listing" for windows/msdos, or "ls --help" or "dir /?" to get help, instead of "help me with ls"), whereas with GUIs you gotta get used to the whole "cursor" thingy, and then position that at the right (often rather small) place, and often go through several different menus, etc etc. it's basically a tradeoff of memorizing the right commands, vs memorizing the menus and button meanings moreover, writing basic batch script or shell scripts, is very easy and built-in feature, as opposed to having to figure out some kind of third-party macro recorder, if you want to automate some action (like "make a backup of the file, and open it in my text editor")
@jonathanpritchard6464
@jonathanpritchard6464 2 года назад
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!
@MrSomeGamerdude
@MrSomeGamerdude 3 года назад
I remember hiding "important" files on a innocents image with CMD. To this day, no one knows why a 320 x 240 picture of a cow (taken from a cheap flip phone from 2006) is over 500gb in size.
@fauzirahman3285
@fauzirahman3285 2 года назад
You can easily automate stuff in command line through scripts. That's something that's a lot harder to do on the GUI.
@Nostalgia_Realm
@Nostalgia_Realm 3 года назад
1:18 Ouch.. yeah even I am getting old. Used Windows Me for years :D
@jamiegreig9699
@jamiegreig9699 3 года назад
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.
@bythegraceofadoni
@bythegraceofadoni 2 года назад
Actually, learning the command line gave me a much better understanding of system hierarchy and how a computer actually works. So i benefited from learning it.
@zoomkitty
@zoomkitty 2 года назад
and why do some people assume command lines shouldn't exist. One popular reason is they are a group who thinks 'out with the old, in with the new', regardless of why. one good use could be to build new mini gui's using the command line, instead of writing pure code doing operating system calls.. that's just on top of even more reasons to keep it. Also, being that it was around since the start, it doesn't use up much memory or tax the cpu differetnly
@trissylegs
@trissylegs 3 года назад
"you're probably familiar with bash" *Screenshot of ZSH with grml config like the one that ships with the Arch Linux installation ISO* Anthony, that is an extremely niche troll. (Obv I arch btw*)
@liesdamnlies3372
@liesdamnlies3372 2 года назад
God dammit. There had to be _one_ of you “arch btw” people in the comments. Of course. I use Endeavour btw…
@ganeshnimbalkar2792
@ganeshnimbalkar2792 2 года назад
basics of programming and some knowledge of command line opens a whole new world of possibilities.
@TheDevilItSelf
@TheDevilItSelf 3 года назад
Anthony, there's a people that never used XP even, or even worse didn't foolishly updated to Vista 😂 yeah, we are old 🤣
@hdkv
@hdkv 3 года назад
Vista released 14 years ago. Damn we're old.
@TheDevilItSelf
@TheDevilItSelf 3 года назад
@@hdkv I guess we are, but I wouldn't say old, I'll rather say that we have expiriance 🤣
@JamieStuff
@JamieStuff 3 года назад
Windows NT 3.5 on a DEC Alpha. Those were the days...
@lachlanmckinnie1406
@lachlanmckinnie1406 2 года назад
I'm a masters student doing a Masters of Research in seaweed genetics, and I use a Linux server to process my data. Using Linux, all the programs I run are free to use, which is super useful, as genetics programs can easily run into the thousands of dollars (AUD) per user per year. Also, I am able to make custom pipelines using disparate programs that were not designed together, and then put them into a package I can then export, which can be run easily by anyone. A common thing you get which you don't get with most GUI commands is the ability to set how many cores you use. I routinely use 30-40 cores for an operation, and this is with several hundred gigabytes on the server. Doing some of these operations with a single core would take forever.
@MooseBoys42
@MooseBoys42 2 года назад
All of these reasons ultimately stem from the fact that it's a lot easier to create a good text interface than it is to create a good GUI. There's no reason you can't provide automation, a large feature set, and portability with a GUI. It's just really hard.
@digiscream
@digiscream 2 года назад
The problem is that even if somebody _did_ implement the headline features in a GUI, it'd still take longer for the user to achieve the same tasks compared with the command line. For example, consider pipes - implementing that in a generalised way in a GUI would be a horror show. On the command line, it's as easy as typing one character (admittedly, one which the average user wouldn't be able to find on the keyboard...).
Далее
How A Steam Bug Deleted Someone’s Entire PC
11:49
Просмотров 995 тыс.
What is a Kernel?
5:38
Просмотров 385 тыс.
Распаковка #MonsterHigh Potions №5
00:55
Просмотров 93 тыс.
11 Things I Hate About Windows 11
10:05
Просмотров 3,7 млн
CrowdStrike IT Outage Explained by a Windows Developer
13:40
11 Cool Command Line Programs You Need to See
13:24
Просмотров 131 тыс.
Why You Can't Name A File CON In Windows
8:03
Просмотров 7 млн
Intel's CPU Crashes Explained
8:10
Просмотров 401 тыс.
Why so many distros? The Weird History of Linux
8:23
30 Windows Commands you CAN’T live without
14:35
Просмотров 2,3 млн
Why Apple Killed a $3 Billion Investment
4:57
Просмотров 335 тыс.
I tried using AI. It scared me.
15:49
Просмотров 7 млн
Apple Event - September 9
1:38:50
Просмотров 26 млн
Whats the best laptop? 💻
0:38
Просмотров 282 тыс.
Всё, Nintendo Switch 2 СЛИЛИ
11:01
Просмотров 37 тыс.