Тёмный

The Windows Feature You SHOULDN'T Ignore - File Extensions Explained 

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

The first 200 people who head to brilliant.org/techquickie/ will get 20% off their annual premium subscription of Brilliant.
Why are file extensions such a crucial Windows feature?
Techquickie Merch Store: www.lttstore.com
Follow: / linustech
Join the community: linustechtips.com
Leave a reply with your requests for future episodes, or tweet them here: / jmart604

Наука

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

 

18 апр 2019

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1,1 тыс.   
@mrlithium69
@mrlithium69 5 лет назад
the Windows "Hide Extensions" default option is the first thing I change when I re-install Windows.
@NubeBuster
@NubeBuster 5 лет назад
That feature makes people vulnerable for virusses. They don't know they're running a program when they think they open a photo
@haldyrs.telvanni4829
@haldyrs.telvanni4829 5 лет назад
This, every time. Blows my mind how something so useful is disabled by default.
@Raivo_K
@Raivo_K 5 лет назад
Same. Having extensions disabled by default - seriously MS? Any security minded person can see how this can lead to problems. Then again this decision was made way back when security was low on list of priorities and as such is problably a legacy carryover from that era. They recently changed the default safely remove option. Here's hoping they will eventually get around to disabling extension hiding by default.
@NubeBuster
@NubeBuster 5 лет назад
@@Raivo_K remove puts files into the trashbin anyway.
@NubeBuster
@NubeBuster 5 лет назад
@@mokubakaiba1751 there is a notification before you change the extension
@asans9849
@asans9849 5 лет назад
"The Windows Feature you SHOULDN'T Ignore." Shows MacBook Pro within the first few seconds.
@doufmech4323
@doufmech4323 5 лет назад
Or uses Linux.
@JustChillingDom
@JustChillingDom 5 лет назад
and shows Libre office a little while later
@JohnnyCacheX
@JohnnyCacheX 5 лет назад
You can run Windows on a MBP... shouldn't you?! ;)
@oevergonzalez5005
@oevergonzalez5005 5 лет назад
Macs run Windows, VM or Bootcamp but they definitively do
@hakemon
@hakemon 5 лет назад
2008 Mac Pro here running Windows 10, and only Windows 10 (seriously the HD has nothing else on it).. Runs it great.
@darthybai
@darthybai 5 лет назад
That is a really ambiguous title At least don't click bait-ify techquickie
@torchatlas8128
@torchatlas8128 5 лет назад
Yeah, keep the titles catchy, but give people an idea as to what to expect in the video.
@2020_Gaming
@2020_Gaming 5 лет назад
Yeah seems kind of weird to have an ambiguous title on a video that's meant to be educational.
@Phrost1338
@Phrost1338 5 лет назад
I already know this stuff shown in the video
@darthybai
@darthybai 5 лет назад
@@Phrost1338 Good for you, so did i A lot of Other people don't
@Kevinator1996
@Kevinator1996 5 лет назад
They made a video about the clickbaity title's. They said if they don't use the clickbaity titles, they lose a hell of a lot of potential views. They noted that literally any title with the word Apple in it and/or the Apple logo in the thumbnail are the biggest influencers for views.
@amrsoll
@amrsoll 5 лет назад
Note : Linux systems don't usually use file extensions, but analyse the file header or analyse the file to determine what it is.
@JR-mk6ow
@JR-mk6ow 5 лет назад
It analyses both name extension and file header. It knows what kind of file it is but still opens on the default program for the file type. If you rename a jpeg to .txt it will open on the text editor, but if you '$ file -F , photo.txt' it will tell you that it's a photo file.
@gigakoresh
@gigakoresh 5 лет назад
They never use file extensions. The fact that many files have them is just because it's a nice convention that makes files easier to identify. And of course some programs will look at it as well, depending on how they are coded. But Linux never cares about file extension and that's an important thing to remember when using it - for example Linux has no native file associations. A desktop environment program emulates that functionality by simply calling the configured executable and passing the file to it. In some cases this can lead to memory leaks if the program is not coded to detect when it has an instance running and reuse existing process, and opens a new process to handle the file instead. Early versions of Android Studio had this problem for example.
@BatteryProductions
@BatteryProductions 5 лет назад
exactly and it IS efficient, actually it is way more reliable than hoping the file has the right extension...
@zamundaaa776
@zamundaaa776 5 лет назад
Yeah in case your file extension is edited, just remove it completely and there's a very good chance it'll open it with a suitable program. If I edit the extension then it'll actually open the file with the program fitting the extension (at least in KDE Plasma)
@Oreoezi
@Oreoezi 5 лет назад
@@JR-mk6ow true but in the case where there is no extension they know what to pick
@Battlemage4
@Battlemage4 5 лет назад
Man i forgot those got hidden, first thing i do on each install, let it show.
@Trowo
@Trowo 5 лет назад
Same, I'm techy person and I need sometimes to change file type.
@circuit10
@circuit10 5 лет назад
I do that
@Raivo_K
@Raivo_K 5 лет назад
Same. Having extensions disabled by default - seriously MS? Any security minded person can see how this can lead to problems. Then again this decision was made way back when security was low on list of priorities and as such is problably a legacy carryover from that era. They recently changed the default safely remove option. Here's hoping they will eventually get around to disabling extension hiding by default.
@aaronmischel4552
@aaronmischel4552 5 лет назад
Let it show, let it show.
@pardn
@pardn 5 лет назад
They have extensions hidden by default because most people _aren't_ tech savvy and can accidentally delete the extension when renaming a file rendering it useless.
@itskdog
@itskdog 5 лет назад
0:40: "Analysing the file contents would be inefficient" Linux: Am I a joke to you?
@sephirothbahamut245
@sephirothbahamut245 4 года назад
one of the few things i whish linux did more like windows
@lost4468yt
@lost4468yt 4 года назад
@@sephirothbahamut245 I don't know, I really like the fact that things don't generally have extensions on linux. Especially the fact that you aren't limited to a single type of executable, as you pretty much are on Windows. Well I guess you have msi and a few others as well as exe, but the ability to just have executing python 2/3 files, bash files, compiled binaries, etc all as executables makes the linux environment really flexible compared to Windows.
@sephirothbahamut245
@sephirothbahamut245 4 года назад
@@lost4468yt most of what you're calling "executable types" are actually simple files that are opened by an interpreter, exactly like on windows. .bat is opened by the command line, .py is opened by a python interpreter, .jar was opened by a java vm (until the standard switched to wrapping jars in an executable). Extensions let you have a reference point of what type is opened with what program, which you can totally manipulate; and that ties to the "set default for the following formats" in various programs installers. In my dreams i'd have a linux-like package manager, but windows-like individual software installers once you get the package, since various programs might offer different options upon installation, and a windows-like file extension system. It's one of the few things that makes customization quite straightforward even for not-so-techy users.
@lost4468yt
@lost4468yt 4 года назад
@@sephirothbahamut245 >most of what you're calling "executable types" are actually simple files that are opened by an interpreter, exactly like on windows Those are exactly what executables are on Linux. All an executable is in Linux is a file with exec permissions, which the kernel will then either check for a shebang, or check if the file format is registered with binfmt. What exactly do you think makes a bash file marked as executable just "a simple file", but an elf marked as an executable, a real executable? You only view it like that because you're so used to the Windows system, where exes are treated differently, which makes no sense. What is the difference? >.bat is opened by the command line, .py is opened by a python interpreter, .jar was opened by a java vm Which is exactly why the Windows system is such a mess. The first reason being that this means that whether a file is executable or not is determined by the extension, which is just crazy. It means I can turn a non-executable file into something to be executed just by changing the name of it. This is especially silly for files like python scripts, where very often you would only want one or a few scripts out of many to be executable. With the python example a poorly programmed python script could actually cause damage if the wrong script was executed. Another reason for this is that it means that the user has to have their system set right. On linux a python script is interpreted with the python interpreter because the python script itself says it should be. But on Windows the python script is handed off to whatever the user has ".py" align to on their system. Oh that's a Python 2 script, not a Python 3 script? Doesn't matter, Windows will treat them the same. Windows accidentally reset your file formats (which I have had happen), well a bunch of stuff just broke for you. >Extensions let you have a reference point of what type is opened with what program, which you can totally manipulate; and that ties to the "set default for the following formats" in various programs installers. You know what also gives you a reference point? The file command. Run that on a file and it will tell you exactly what type of executable it is, and what's better is you can't be tricked by the extension. If someone has changed a python script to .sh it will still tell you that it's a python script, and again because of how much more sensible the linux method is, it will still execute as a python file. >In my dreams i'd have a linux-like package manager Have you tried chocolatey? >but windows-like individual software installers once you get the package, That kind of defeats the one of the main purposes of a package manager. What you're talking about seems to be more equivalent to a database of program installers. >since various programs might offer different options upon installation You can do that with the vast majority of package managers anyway, there's nothing stopping that. There are tons of packages which add their own menu to the installer. An example I can think of off the top of my head is postfix and apt. Most packages just don't do this though as small changes are generally handled through config files, and large changes are built as multiple packages. Saying that though, you rarely even see a Windows installer ask you much more than "install for current user or everyone". >It's one of the few things that makes customization quite straightforward even for not-so-techy users. I don't agree, it generally makes it easy for non-tech users to mess things up.
@sephirothbahamut245
@sephirothbahamut245 4 года назад
@@lost4468yt > What is the difference? - Less than you think. A python script is still threated differently from executable binaries on linux, and it's a file opened by the (on linux generally preinstalled) python interpreter, exactly like on windows. Only raw binaries are really executed in any OS of this planet. That's what windows gives the .exe extension. > It means I can turn a non-executable file into something to be executed just by changing the name of it - Exactly like I can turn a non-executable file into something to be executed just by running a 2 words console command on Linux. Are we comparing utility here or how much the user can mess things up? Because there's no limit to that in either system. Also, try to turn a random file in a .exe on windows or give the executable flag to a random file in linux. The chances of it actually running instead of being stopped as invalid binaries is so small it can be considered non-existent. > The file command. Run that on a file and it will tell you exactly what type of executable it is - what it thinks it is, not all "executables" as in scripts that must be read and interpreted by an actual executable, have an header telling the type of the script before bytecode or similar. Make a bash script, it'll have no header. That's based on pure assumption by the file command based on reading the content. Why do you think in a ruby script you should write "#!/usr/local/bin/ruby -w" at the beginning? It helps your os to know what the file when treated as "executable" should be opened as an argument of. That's the same information windows associates with file formats rather than individual files, and it applies to any file, not just scripts. By the OS point of view (and this is true for linux too) calling an interpreter with a script as argument or calling a picture viewer with a picture as argument is exactly the same. It will run the interpreter/picture viewer binaries with the filepath as argument; that interpreter/picture viewer will determine what to do with that file and its content. > What you're talking about seems to be more equivalent to a database of program installers. - The package manager can still handle getting, updates, and removing. But it'd be nice to have setup options popup when you install a program with meaningful setup options, instead of having a "first run" kind of execution branch as part of the program itself. Imagine something big as visual studio. Installing it without optional content would mean you have to manually start it right after installation to get the "first run options". It makes much more sense to have it work like it does now, where the installer asks you which packages you want installed (if you never used it, it supports many languages, most of which you might no need, so upon installation you tell "hey i want only c++ and python") > There are tons of packages which add their own menu to the installer - i guess i simply never met one then. And do you really think that modifying a script's shebang is that much harder than modifying a file's name extension?
@emilemil1
@emilemil1 5 лет назад
Good video. Terribly uninformative and clickbaity title.
@WolvenSpectre
@WolvenSpectre 5 лет назад
Uninformative to you maybe... you wouldn't believe the number of longtime windows users I have to teach this to. As for the clickbait, they explained that if they don't do goofy thumbnails and clickbait titles they loose lots of viewership, so they are not really going to care if you don't like it... for them it is cost of doing business on RU-vid. EDIT: Its good they changed the title so people looking for help can actually find it. Sorry I mistook your post.
5 лет назад
@@WolvenSpectre Surely he was referring to the uninformative nature of the video title, not the content itself.
@m-w-y7325
@m-w-y7325 5 лет назад
@@WolvenSpectre it happens all the time with me, especially with old people that have used computers for a very long time and are very cringey about learning anything new.
@emilemil1
@emilemil1 5 лет назад
It's the title that is uninformative, not the video. And I'm well aware of the business reasons, but that doesn't mean that I'm not allowed to voice my disapproval of the practice.
@mcf3778
@mcf3778 5 лет назад
Not even close to click bait....
@allluckyseven
@allluckyseven 5 лет назад
I really don't understand why showing file extensions isn't enabled by default.
@cerealpunk5850
@cerealpunk5850 5 лет назад
because hidden looks "cleaner"
@ChaosPod
@ChaosPod 5 лет назад
Because when noobs try to rename a file they might accidentally rename over the file extension part so program1.exe becomes myprogram (no exe).
@m-w-y7325
@m-w-y7325 5 лет назад
cause you might end up rewriting a filename along with its extension, this is especially hard for people with less computer knowledge which is very common. Grandma: "My Word document keeps becoming this empty sheet of paper that doesn't open after I rename it"
@Primeyy
@Primeyy 5 лет назад
Are you really that dumb? Think of the typical Windows user. Not everyone is technical to understand changing the extension
@Sporkinator
@Sporkinator 5 лет назад
"Noobs" probably should not be renaming files in the first place. No excuses, file extensions should be visible by default, but aren't.
@mrembeh1848
@mrembeh1848 5 лет назад
Hiding the extension by default is the single biggest security risk for ordinary people. Microsoft is soooo stupid to do this. Who does this help...
@MAGAMAN
@MAGAMAN 5 лет назад
Some idiot at MS wanted to make the OS more mac like. Why? I don't know, Macs have a terrible OS. All of the worst features in windows come from trying to copy something done on the mac.
@shocknclaw
@shocknclaw 5 лет назад
Video ends at 4:20 one day before 4/20...interesting
@ResortDog
@ResortDog 5 лет назад
Thanks for reminding me. There is a big party and giveaway at the "dispensary" at the reservation tomorrow.
@ploxyzero
@ploxyzero 5 лет назад
0:39 actually on Linux, many files don't have file extensions ¯\_(ツ)_/¯ They have headers within the file that specify what format they are
@bigshrekhorner
@bigshrekhorner 5 лет назад
Especially executables. Although, common files like photos and music, which are kind of universal in all OS's, do have extensions even on Linux
@TonksMoriarty
@TonksMoriarty 5 лет назад
I still find it shocking, SHOCKING, that Windows not only still has an option to hide file type extensions, but it's the default!
@SolarShado
@SolarShado 5 лет назад
All the better to not confuse grandma, I guess...
@ElNeroDiablo
@ElNeroDiablo 5 лет назад
That option has been there since at LEAST NT 5.0 (aka: Win 2000), if not somewhere around NT 3.5 (Win 95) or NT 4.0 (Win 98).
@SolarShado
@SolarShado 5 лет назад
@@ElNeroDiablo I definitely remember using it in both NT 4 and Win2k.
@bober1019
@bober1019 2 года назад
cause when you rename it, you dont understand why the dot jpeg is there and you erase the extention and have an unopenable file after. its an anti moron option. Its like Apple IOS: an OS based for computer illiterates.
@havesomerubicon6097
@havesomerubicon6097 2 года назад
@@bober1019 Love the apple user summary👏👏👏
@111111222223
@111111222223 5 лет назад
No mention of magic bytes?!?
@MAGAMAN
@MAGAMAN 5 лет назад
There's no such thing as Magic.
@richardlighthouse5328
@richardlighthouse5328 5 лет назад
@@MAGAMAN Yes there is in the computer world, for example linux, even in windows .class/.jar files(from java)
@watcheths
@watcheths 5 лет назад
@@aeghohloechu5022 nah, they are file format specific, so they exist -- Windows/explorer just ignore them
@111111222223
@111111222223 5 лет назад
@@aeghohloechu5022 No, it's not. Many programs just outright ignore the file endings and go by the magic bytes when reading them. I'd even go so far to say that a program is badly coded if it goes by the file ending to figure out what file type it's dealing with.
@mirradric
@mirradric 5 лет назад
@@richardlighthouse5328 CAFEBABE?
@jonagrove
@jonagrove 5 лет назад
Turning off the "hide known file extensions" option is one of the very first things that I do on a new Windows build. In fact I also have it turned off in our corporate domain group policy. In reality, I think MSFT should just remove that option completely and always show file extensions, and maybe convert that option to something that simply prevents changing the file extension.
@feha92
@feha92 5 лет назад
0:27 wait, since when are .h and other 1-letter ones no longer considered file-extensions?
@pitust
@pitust 4 года назад
And .m .c .d, .nanorc .script over 4
@fnr1r
@fnr1r 4 года назад
.Xauthority and .ucioljfhnztfhiugfrbvjzggjuzvhu are file extensions too
@Xnoob545
@Xnoob545 4 года назад
.c .mcmeta Lol
@TorutheRedFox
@TorutheRedFox 4 года назад
idk
@arthurdobromir1379
@arthurdobromir1379 5 лет назад
For sure I won't be able to ignore Windows 10 forcing updates in the middle of my presentation at school...
@doufmech4323
@doufmech4323 5 лет назад
Just use Linux.
@matyasletacek4099
@matyasletacek4099 5 лет назад
And BSODes from nothing in the middle of exam. 😍
@Emil215p
@Emil215p 5 лет назад
@@matyasletacek4099 BSODs are 99% of the time a issue caused by you from downloading a bad driver or software or having faulty hardware
@zamundaaa776
@zamundaaa776 5 лет назад
@@Emil215p or Windows downloading a faulty driver, or the latest Windows Update...
@martin0499
@martin0499 5 лет назад
or download w10privacy which changes update installing behavior
@darkychao
@darkychao 5 лет назад
Sometimes I forget that file extensions are hidden by default. I can't think of a single advantage to not having them shown, for normal users having them show up might save them from clicking on an EXE that they think is something else, and for more hardcore users you can change the extension in the few cases you might need to.
@leexgx
@leexgx 5 лет назад
File extensions turned off by default is stupid (I always turn it on when setting up a pc)
@Biker_Gremling
@Biker_Gremling 5 лет назад
It's turned off by default so normies can't inadvertently delete the file extension when attempting to rename a file
@leexgx
@leexgx 5 лет назад
@@Biker_Gremling Windows automatically highlights the filename not the dot extension, I don't think I have ever come across a customer that has ever removed the file extension, if they have someone has probably already told them that we need to keep the file extension on (I been doing this for over 20 years setting file extension to on as I find it's a stupid default to have it off ever)
@kenlayug
@kenlayug 5 лет назад
In Windows 8/8.1/10, you can see the file extension by simply going to Explorer > View tab and checking the box of "File name extensions"
@realcartoongirl
@realcartoongirl 5 лет назад
meow meow hello fellow cartoon girl
@SolarShado
@SolarShado 5 лет назад
Should have known someone would beat me to pointing this out. Was it in 8/8.1? I jumped straight from 7 to 10 and was thinking it wasn't there at first in 10...
@kenlayug
@kenlayug 5 лет назад
@@SolarShado its fine lol, Windows 8 was a shame anyway, so you're forgiven And yes it was there already since 8
@meloronald5338
@meloronald5338 2 года назад
Gotcha
@Argletrough
@Argletrough 5 лет назад
0:27 **Laughs in .AppImage**
@TorutheRedFox
@TorutheRedFox 4 года назад
*laughs in .c and .h*
@Rice7th
@Rice7th 3 года назад
*Laughs in .flatpakref*
@ecu4321
@ecu4321 5 лет назад
Sadly windows by default hides it.
@Gr00t
@Gr00t 5 лет назад
Video length 4:20 & it's 4/20 when its uploaded here in Australia hehe
@HyperionZero
@HyperionZero 5 лет назад
4:19 for me
@user-dh6fx1ve9j
@user-dh6fx1ve9j 5 лет назад
Sir how much you were paid for saying that you are from Australia?
@Sporkinator
@Sporkinator 5 лет назад
The video length is 4 minutes, 19 seconds. Today is 4/19.
@lospanditasmarinel12
@lospanditasmarinel12 5 лет назад
Lit Fam 🍁🔥
@jebstalp
@jebstalp 5 лет назад
4:20 in Germany too
@MAGAMAN
@MAGAMAN 5 лет назад
If file extensions are so important, why does Microsoft hide them by default? "Your operating system doesn't just analyze the internal code of a file" OS9 did something like that. I remember years ago trying to open an HTML help file with that POS OS and it refused to do it. For whatever reason it would not recognize the file as HTML and nothing I tried could get it to open. It opened fine on windows.
@MaddTheSane
@MaddTheSane 5 лет назад
Mac OS 9 had file/creator codes. PC Exchange would assign them based off of a registry of file extensions if they were downloaded from the internet/came from a non-Mac source. Most likely, they weren't set correctly on your file for whatever reason.
@noferblatz
@noferblatz 5 лет назад
Linux DOES check the interior of a file to determine the type of file.
@OtterBops
@OtterBops 5 лет назад
As does Mac OS. In fact this used to be one of the many compatibility issues between Windows and Mac OS back in the 90's as macs didn't bother adding file extensions to files when it created them, and windows programs didn't always bother to set the right file type identifier code in the file header when it saved new files.
@NaNekoRx10
@NaNekoRx10 5 лет назад
The header is in fact an internal extention
@Bogomil76
@Bogomil76 5 лет назад
And Amiga OS
@qwertzuiku3t87hv86f8
@qwertzuiku3t87hv86f8 5 лет назад
@@NaNekoRx10 Yeah, kind of. The difference is that the header is part of the files content (data) and the extension is just metadata
@Engineer9736
@Engineer9736 5 лет назад
I don’t think it’s Linux who does that. It’s probably the Window manager which decides which program to start after clicking an mp3 or jpg.
@calvin6235
@calvin6235 5 лет назад
microsoft: creates VBS windows: THIS FILE IS A THREAT me: but i made it
@lior_haddad
@lior_haddad 5 лет назад
I mean if I make a VBS file to delete everything, does that make it perfectly safe?
@Engineer9736
@Engineer9736 5 лет назад
I use vbs files for many purposes being a software developer. Straight from the harddisk Windows doesn’t ask any security questions. If you download them, Windows gives a “are you sure” question just like any other file you download. That is not vbs specific.
@Minecraft101ToonLink
@Minecraft101ToonLink 5 лет назад
I had that problem too back when I was into VBS in like 2014, back when all I knew about VBS was the Scripts I found on the internet. I mean, seriously? A VBS File that just randomly opens and closes the disc drive is a threat??? Oh no! It’s not like the optical drive is a crucial part of Windows anyway. 🙃 These days, I’m into programming on the Mac. But yeah, fun times with VBS & Batch Files.
@LeBeautiful
@LeBeautiful 5 лет назад
don't let this distract you that windows *doesn't* want you to ignore scheduled updates.
@adamkee97
@adamkee97 5 лет назад
Can we get these videos in dark mode? My eyes are screaming...
@everythingfeline7367
@everythingfeline7367 5 лет назад
@My Name *facepalm*
@adamkee97
@adamkee97 5 лет назад
@My Name I hope this is a troll. 🤣
@zexoabdo1284
@zexoabdo1284 5 лет назад
@@adamkee97 😂😂
@Sparrowash97
@Sparrowash97 5 лет назад
Or just watch it at an appropriate time of day? :P
@adamkee97
@adamkee97 5 лет назад
@@Sparrowash97 Me and the channel is about 12 hours a day... So, as a fan that needs to watch it ASAP, I'll have to watch it at night... 🤣🤣🤣🤣🤣🤣
@NikolajLepka
@NikolajLepka 5 лет назад
"two three or four letters you see after the file name" huh, okay, guess my main.c file doesn't have a file extension then
@Xnoob545
@Xnoob545 4 года назад
Lol
@giornogiovanna8042
@giornogiovanna8042 4 года назад
And my app.xcodeproj file doesn’t have extension too
@Zi7ar21
@Zi7ar21 5 лет назад
"Not to be confused with browser extensions" Who TF would get a File Extension and Browser Extension mixed up? This just feels ridiculous how negligent non-tech-savvy people can be sometimes.
@leonidas14775
@leonidas14775 5 лет назад
Nooo I thought he was going to talk about phone extensions and extension cords, that really needed explaining. derp
@Zi7ar21
@Zi7ar21 5 лет назад
@@leonidas14775 WOW
@makinemecku5424
@makinemecku5424 5 лет назад
Executable bit in unix permissions is such a great thing.
@Engineer9736
@Engineer9736 5 лет назад
The executable bit only tells if a file is executable or not. That is something totally different from Windows file extensions. On the Linux console you cannot do ./image.jpg or ./music.mp3
@HansPeter-qg2vc
@HansPeter-qg2vc 5 лет назад
@@Engineer9736 , you could just change the behavior of trying to execute non-executable files and feed them into something like xdg-open. It's Linux and "You cannot do X!" isn't really a thing over here. ^^
@bradleyp3655
@bradleyp3655 5 лет назад
File extension way back to the MS/PC/IBM DOS (Disk Operating System -a variant of CPM) of the 1980s. Windows 1 through 10 keep this outdated legacy alive. Just like drive letters.
@Dabbill
@Dabbill 5 лет назад
Interesting video, this does not really apply to all OSs. Unix based systems do not rely on file extensions.
@LoFiAxolotl
@LoFiAxolotl 5 лет назад
no love for the 1 letter file extensions FeelsBadMan
@Oreoezi
@Oreoezi 5 лет назад
Actually most files save their encoding and file type inside of them in plain text, that's why a good amount of operating systems know to open images without extensions.
@RaaynML
@RaaynML 5 лет назад
Other OSes also have the option to ignore the extension and just read the header of the file to see what it is, so even a file with no extension is still readable as, for example, a text file or an executable, which I think is pretty cool
@SanderEvers
@SanderEvers 5 лет назад
The icon part is incorrect though, that is determined by the icon embedded in the file (for example all .exe files have different icons) OR the one associated to the extension.
@MarcoTedaldi
@MarcoTedaldi 5 лет назад
If that was the only problem with that video...
@NicolasTsagarides
@NicolasTsagarides 5 лет назад
Yeah, that is a bug, not a feature. Try using MIME types the next time.
@MarcoTedaldi
@MarcoTedaldi 5 лет назад
Or learn about "magic" like it's used on every unix-like system...
@MaddTheSane
@MaddTheSane 5 лет назад
MIME? Pfft, use Uniform Type Identifiers. They're much more flexible.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 5 лет назад
@@MaddTheSane MIME is cross-platform and cross-application.
@bspringer
@bspringer 5 лет назад
This video wasn't edited with kdenlive. Otherwise, they would've known that file extensions can have 8 letters 😂
@Oreoezi
@Oreoezi 5 лет назад
Kdenlive fellow user here
@darrenvox
@darrenvox 5 лет назад
Win 10 and 8 yes you can find the default program extension easier now ....but back on anything past 7 you have to right click on the file>folder options>file types and change them as needed
@chirayathnihal
@chirayathnihal 5 лет назад
While most file extensions are three characters in length, they can be as short as one character or longer than twenty characters , just a small correction ( 0:28 )
@demos113
@demos113 5 лет назад
I can't hear you over the quietness of my Linux system. >___
@Aereto
@Aereto 5 лет назад
In absolute silence, The Sound of Silence plays.
@pikachu-fe7tx
@pikachu-fe7tx 5 лет назад
Imagine needing file extensions to figure out what file you have This post was made by the Linux gang
@AstolfoGayming
@AstolfoGayming 5 лет назад
Adding the explanation to the end of the title really helps. Otherwise it feels too clickbaity, but with the "File Extensions Explained" you know exactly what you're getting in to.
@jgfence123
@jgfence123 5 лет назад
File extentions also change the file innately. When analyzing audio we have to save as a .WAV file as they are less compressed than a normal .MP3 or .MP4 file
@ServiceComputers
@ServiceComputers 5 лет назад
.SCR, .TTF files are both executable as well. That being said, Linux uses that allegedly inefficient means of identifying files by looking at the first few bytes. That way you *KNOW* if someone's trying to slip your computer a micky.
@OrangeC7
@OrangeC7 5 лет назад
It looks like you uploaded this video with the wrong title!
@Minecraft101ToonLink
@Minecraft101ToonLink 5 лет назад
Like, I couldn’t even stinkin’ see enough of the title to know what it was gonna be before opening the video. And the thumbnail isn’t really helping me figure it out either.
@smorrow
@smorrow 5 лет назад
"See, your operating system doesn't just analyse the internal code of a file and try to figure out what it is, that would be an inefficient and inexact process" Most do...
@taureon_
@taureon_ 5 лет назад
good that i made the file extensions show even to known extensions edit: .wtf files actually exist, they are known as *World of Warcraft Text File* and can be opened by world of warcraft or (of course) a text editor
@moraleza5141
@moraleza5141 5 лет назад
Magnificent.
@bananas1055
@bananas1055 5 лет назад
Linux actually does scan the file to figure out how to open it There is a line the programmer can add to tell Linux wich Programm to use to open it
@deltanedas
@deltanedas 5 лет назад
#! is used for executable files that are not binaries, like scripts. This doesn't apply to non executables like images and text files.
@bunnybag
@bunnybag 5 лет назад
Also beware of .BAT extensions too. You don't want a foreign CMD command running on your PC.
@Aereto
@Aereto 5 лет назад
Darn batches.
@taureon_
@taureon_ 5 лет назад
fileinfo.com/browse/ all file extensions that you will need to know
@Engineer9736
@Engineer9736 5 лет назад
There are many more extensions that just have the same “beware” aspects. vbs, ps1, ..
@NinjaMaster-qo6ne
@NinjaMaster-qo6ne 5 лет назад
No beware of .xex I got a virus and it shut down my pc
@NinjaMaster-qo6ne
@NinjaMaster-qo6ne 5 лет назад
jkj jkjkjkjjkjk
@naveenraj2008eee
@naveenraj2008eee 5 лет назад
Nice details... Thanks for the information techquickie..
@billionai4871
@billionai4871 5 лет назад
Windows relies only on files extensions, but other OSes can use something called "magic numbers" (yeah, that's their actual name) to determine the type of file. The first 4 bytes will tell you as much as the file extension, with the benefit that no one changes it, so they're usually more reliable
@inshalkhan5447
@inshalkhan5447 5 лет назад
The video length is 4:20. . . . . . . *Is it a co-incidence?*
@TechOwnage
@TechOwnage 5 лет назад
rename the title to "The Windows Feature You dont notice"
@aliafan7357
@aliafan7357 5 лет назад
i remember the time when some website claiming their browser is the most downloaded on the internet, no wonder they claimed that, it's because when someone see their ads, it automatically download the program
@AmeanAbdelfattah
@AmeanAbdelfattah 5 лет назад
I may know all of this already, but its still important to have a refresh which this video has provided very well.
@zachwaksmonski
@zachwaksmonski 5 лет назад
linux gang tho
@doufmech4323
@doufmech4323 5 лет назад
Yeah
@qwertzuiku3t87hv86f8
@qwertzuiku3t87hv86f8 5 лет назад
file extensions are shown by default and the type isn't determined by the extension but the content (in most cases)
@reflex3843
@reflex3843 5 лет назад
Initial D?
@zachwaksmonski
@zachwaksmonski 5 лет назад
@@reflex3843 im a fan of initial d, y
@reflex3843
@reflex3843 5 лет назад
@@zachwaksmonski So am I. Nice to meet someone like me.
@ConstantijnC
@ConstantijnC 5 лет назад
You got an instant view out of me when I realised that the video length was 4:20
@HenryCheng
@HenryCheng 5 лет назад
Hiding file extension in Windows is one of the recent "features" Microsoft introduce in attempt to make it more n00b friendly but really is annoying. Just like changing "Add/Remove Program" to "Program and Features", instead of at beginning of Control Pannel list, it's somewhere in the middle and takes few more second to hunt for it....
@Xnoob545
@Xnoob545 5 лет назад
If you draw something in paint and chane it to .txt there will be random symbols everywhere
@mecs
@mecs 5 лет назад
Me: changes .mkv to .avi FBI: Open up!
@BigSandyballs
@BigSandyballs 5 лет назад
4/20 video time!!!! lol 1 day before 4/20
@4.0.4
@4.0.4 5 лет назад
I know right, it's such an important birthday!
@BigSandyballs
@BigSandyballs 5 лет назад
@@user-jy6ur8gb1c 😂 probably you do worse things like eat junk food, be fat, never excersise, use a lot of sugar or salt, drink beer, etc. things that will kill you. I wont die from smoking weed 🤷🏻, even better it can cure me some type or cancer. I recommend you to stop being such closed minded and read and research before posting such dumb things, even worse if you dont know me at all
@XzaroX
@XzaroX 5 лет назад
I find it incredibly stupid and annoying that Windows hides them by default. One of the first things I always do on any computer is enable them to be shown.
@seanwilliamodonnell
@seanwilliamodonnell 5 лет назад
Love the video time length, is that a nod to tomorrows holiday? ;)
@VikramSinghVikroatwork
@VikramSinghVikroatwork 5 лет назад
Isn't this knowledge already in a public domain?
@CssHDmonster
@CssHDmonster 5 лет назад
0 everything club here, wassup
@Tomatobird8
@Tomatobird8 5 лет назад
Finally the perfect video length.
@jeanbonnefoy1377
@jeanbonnefoy1377 5 лет назад
to be more comprehensive about that topic, you might have adressed the priority order of system extensions which allows any OS to know in which order it has to search, find and execute files when they appear in a folder or at the root of any memory device (specifically a boot hdd, cd or usb thumb): sys, bat, com, exe, dll, db... most of them inherited from antiquated systems like CP/M or DOS.
@dylangarcia9468
@dylangarcia9468 5 лет назад
Clickbait LTT, but not techquickie.
@minefunrapguy
@minefunrapguy 5 лет назад
Sure its good and all. But my goodness, it isnt a windows exclusive feature. Neither was it made by the windows devs
@guppy360
@guppy360 5 лет назад
Cheb did he say that???
@getabhirup
@getabhirup 5 лет назад
Gosh! I just realized how much I have aged. I do take file extensions for granted. As in: I know which file is what (i must know). I think they were visible till Windows 95 / Windows 98 by default. They were hidden from Windows ME / XP onwards I think. Thanks for this. Was very nostalgic.
@readysetspace3181
@readysetspace3181 5 лет назад
I actually did this while looking at this video. Thank you.
@hikingpete
@hikingpete 5 лет назад
> man 5 magic Where is your God now!
@doufmech4323
@doufmech4323 5 лет назад
But I use Linux...
@Jacob-rt6on
@Jacob-rt6on 5 лет назад
This video wasn't meant for you then, same with me, my setup is just a Nintendo ds
@hikaru-live
@hikaru-live 5 лет назад
Some OS does not make use of file extensions, at least not exclusively or by default. Most Linux GUI uses the program "file" to determine the file type, and that program looks into not only the file extension, but also file signatures, and for text files even its contents.
@Lukas-cm3yd
@Lukas-cm3yd 5 лет назад
4.20min on a video released the 19.4. You were on the verge of greatness!!
@fleefie
@fleefie 5 лет назад
Who uses file extentions for most files anyways ? Comment from the *Nix group !
@TorutheRedFox
@TorutheRedFox 4 года назад
right? This post was made by the Amiga and Mac OS pre-10.0 gang
@cee128d
@cee128d 5 лет назад
Amazing that MicroShaft still hasn't changed the default to Always Show ALL File Extensions. To be quite honest the option to NOT show file extensions shouldn't even be available in the first place.
@chetanaik
@chetanaik 5 лет назад
It's so that the 90% of computer users don't accidentally delete the extension while renaming the file and lose access.
@cee128d
@cee128d 5 лет назад
@@chetanaik That is not an acceptable excuse. Not slamming you, but MS.
@chetanaik
@chetanaik 5 лет назад
@@cee128d How is it Microsoft's fault that people are tech illiterate? As the most common OS, they need to support the lowest common denominator. People like you or me, i.e. tech savvy people would already know about this and have likely set up their PC just so.
@cee128d
@cee128d 5 лет назад
@@chetanaik It has nothing to do with being tech illiterate. Security and Windows Experts have been saying since day one that having Extensions Hidden is one of the worst part of Windows and needs to be changed. I'm just agreeing with them. If a user screws up and deletes an extension because of that so be it. At least they have a better chance to avoid security issues that way. And the issue isn't to dumb down Windows to the lowest common denominator. The issue needs to be to raise the users technical knowledge. You don't see Linux, BSD, Unix, or any other operating system hiding them and they don't have problems because of it.
@chetanaik
@chetanaik 5 лет назад
@@cee128d That's being blind to the realities of the world. Lots of people don't care about computers and are satisfied with the knowledge of how to open a browser and google something. Public wifi hotspots are like ridiculously unsecure and are on the top of the "don'ts list" for any security consultant worth their salt. Doesn't mean it's going to go away. Linux and unix rightfully have a reputation of not being very user friendly; it's not an issue as it's user base is on average are power users and computer literate. Making this option on by default would save the small fraction who actually care about this 5 seconds, whole ruining the user experience for the rest of the user base.
@Razi98
@Razi98 5 лет назад
This one was really good. Way to go man!
@BloodyBay
@BloodyBay 8 месяцев назад
Neverwinter Nights (from Bioware) and The Sims 2 were the games which taught me how important it is to *_not_* let latter versions of Windows hide your file extensions! "Let's see...this directory has *_three_* files named 'NWN'. Which one do I double-click to start the game?" Did Microsoft _ever_ have a good reason to *_hide_* the file extensions? 🤨
@SovaKlr
@SovaKlr 5 лет назад
0:39 Actually, that's kind of exactly how linux does it. Can make up BS file extensions or just not have one, and it still works. Carry on.
@DeliriousMaxi
@DeliriousMaxi 5 лет назад
_checks today's date, looks at time on video_ *Nice*
@Gbeats90
@Gbeats90 4 года назад
In the early 2000's I used to change a .jpg to a .doc when submitting a report at school when I was about to miss the submission deadline. Always worked to fool the teacher into thinking it was a software issue.
@franspai7415
@franspai7415 5 лет назад
Wow I totaly did ignore and definitely didn't get mislead by that title, thanks LMG very cool
@kevinm3751
@kevinm3751 5 лет назад
By default the average Joe is not going to know what the file extension is because it is disabled by default!
@MrZombie999
@MrZombie999 5 лет назад
but but but what about the files that only have an ''a'', ''c'' or a ''z'' after them :P
@derpmarine216
@derpmarine216 5 лет назад
MrZombie A and C are for files related to the C language, as are .h files. no idea what .z is, but it’s probably from the early days of computing and *nix.
@Oreoezi
@Oreoezi 5 лет назад
Windows doesn't use single letter extensions for anything tho, and on UNIX based systems it's just to show its purpose, tho the binary can run without it
@derpmarine216
@derpmarine216 5 лет назад
Blazy The length of the extension doesn’t matter. Windows still recognises .c files as C source files.
@derpmarine216
@derpmarine216 5 лет назад
Blazy The file extenson on linux is to show what type of document/text it is, but binary file extensions don’t need extensions because they have the executable bits and markers at the beginning to tell what to execute them with.
@anamewillcomelater
@anamewillcomelater 5 лет назад
I feel like LinusTechTips would really benefit with having a TechBasics channel. This video would be perfect for people who are wanting to know more about computers but don't know very much, but I don't think it's particularly useful for the kind of person who subscribes to the already existing LMG channels.
@Scalloops
@Scalloops 5 лет назад
QuiteOpinionated you kind of just described this channel
@anamewillcomelater
@anamewillcomelater 5 лет назад
@@Scalloops I think there's a difference though, between knowing what a file extension is and the other videos on this channel, like explaining USB's different naming conventions, explaining WPA3 and talking about the differences between NVME and SATA. Like, I get that this channel is for more casual tech enthusiasts, but I can't imagine someone who's subscribed to this channel not knowing was a file extension is.
@MasterGeekMX
@MasterGeekMX 5 лет назад
In Linux they are semi used. File explorers can use them to show thumbnails and the aforementioned icon type and default program list, but the actual OS will try to open whatever file with whatever program you tell it. The extension is completely ignored.
@leandrometfan
@leandrometfan 5 лет назад
NOTIFICATION SQUAD, WHATS UP
@dee.other.artist8091
@dee.other.artist8091 5 лет назад
Dude, what’s your point? Stopped half way through. Your video is around 25 years late. You should have published when Windows 3.1 was launched 🤣🤣🤣
@wariolandgoldpiramid
@wariolandgoldpiramid 5 лет назад
Not everybody knows about "show extensions for known types". And of course, it's useful for education, and teaching people who are new at computers about this.
@richardlighthouse5328
@richardlighthouse5328 5 лет назад
90% of the comments: Video length is 4:20 which for me shows 4:19 10% of the comments: about the video
@ohnoitschris
@ohnoitschris 5 лет назад
dude weed lmao
@errorlooo8124
@errorlooo8124 5 лет назад
There's also file metadata and file headers and bits like the executable flag in most unix systems which tbh is a much better way of tracking what the data inside the file is so you can't just run it blindly by changing it's name to a .exe but i guess the file extension method also works.
@cac2244
@cac2244 5 лет назад
James, no fault of yours, but this content belongs to a 90's video. Thumbs down.
@less5406
@less5406 5 лет назад
pffftttt...extensions have been important since wayyyyyy before windows. Not exactly a feature...clickbait title...I am so disappointed.
@Valk69
@Valk69 5 лет назад
Well done. Informative instead of a comedy sketch filled with inside jokes. More plz!
@Nik930714
@Nik930714 5 лет назад
1:35 Funny story - I was working on an embedded linux system a while back and we were testing the sound. A colleague of mine was logged in via SSH and made a typo and opened an image file with a music player. it played a very strange sound and for about 5-10 sek. we taught the amplifier was broken.
@QuarioQuario54321
@QuarioQuario54321 5 лет назад
4 views 34 likes 6 comments 0 logic I’m first
@ishanbaichoo7294
@ishanbaichoo7294 5 лет назад
Linux does "analyze the internal code of my files", and works very well!
@wadem4503
@wadem4503 5 лет назад
Should have run through a more comprehensive list of executable file types, COM, BAT etc...
@deltanedas
@deltanedas 5 лет назад
You can just search . to find out.
@guppy360
@guppy360 5 лет назад
I watch LTT just for this dreamboat ❤️
Далее
What Kinds of Files Can Be Viruses?
14:08
Просмотров 239 тыс.
Young People Try Windows 98
21:18
Просмотров 5 млн
MacBook Air Японский Прикол!
00:42
Просмотров 148 тыс.
What Should Be Next? 👀🤯
00:56
Просмотров 3,2 млн
Is Your Internet FAST Enough?
6:30
Просмотров 3,1 млн
The 7 Worst Operating Systems Ever
15:08
Просмотров 1,8 млн
Image File Formats - JPEG, GIF, PNG
6:45
Просмотров 1,9 млн
Was Windows 8 THAT bad?
14:21
Просмотров 2,2 млн
What is a File Format?
12:58
Просмотров 177 тыс.
Is "Safe Mode" Actually SAFE?
5:20
Просмотров 717 тыс.
What Does Formatting Actually Do, Anyway?
16:00
Просмотров 428 тыс.
wireless switch without wires part 6
0:49
Просмотров 3,7 млн
Калькулятор в iPadOS 18 ➕
0:38
Просмотров 146 тыс.