175
Thanks dad (sh.itjust.works)
submitted 1 month ago by rastro@sh.itjust.works to c/memes@lemmy.ml
top 28 comments
sorted by: hot top controversial new old
[-] unmagical@lemmy.ml 115 points 1 month ago* (last edited 1 month ago)

NEVER run a command you don't know the purpose of. That being said, "sfc" stands for "System File Checker." It is a utility that can help restore corrupted windows files. sfc /scannow checks your protected files and restores corrupted files from a local cache. The process can take some time and you MUST let it finish it's entirely.

In conclusion, this command is generally safe to run.

[-] Prunebutt@slrpnk.net 50 points 1 month ago* (last edited 1 month ago)

NEVER run a command you don't know the purpose of

lol. Someone never followed along in a linux tutorial. /j

[-] DmMacniel@feddit.org 17 points 1 month ago

did someone say

yay -Syyu

?

[-] unmagical@lemmy.ml 9 points 1 month ago

Well, I try to understand why something is included. I've run arch for years (BTW), though my current computers are running Fedora and Debian. I won't say I know everything about Linux or even installing it or booting it, but I do know more than I would if I just followed step by step.

[-] Prunebutt@slrpnk.net 2 points 1 month ago

It's the same for me but I didn't always know that much about linux.

[-] Aquila@sh.itjust.works 36 points 1 month ago

Rm stands for remove

-fr stands for the French language

/ stands for your entire system

Don’t trust random internet strangers either

[-] Galapagon@sh.itjust.works 15 points 1 month ago

So it's removing French from your system. Sounds like a useful tool on Linux if you don't speak French! Be sure to run as sudo though

[-] WeirdAlex03@lemmy.zip 21 points 1 month ago

Don't forget the --no-preserve-root either. If you leave the roots intact, the French will just grow right back

[-] Barzaria@lemmy.dbzer0.com 7 points 1 month ago

I prefer the 'ole $sudo dd -i /dev/random -o /dev/sda

[-] Ephera@lemmy.ml 25 points 1 month ago

Does it also remove the French language pack?

[-] unmagical@lemmy.ml 2 points 1 month ago
[-] 30p87@feddit.org 91 points 1 month ago
(0) 30p87@30p87:[~]$ sfc /scannow
-bash: sfc: command not found
(0) 30p87@30p87:[~]:127$
[-] funkajunk@lemm.ee 62 points 1 month ago

You knew what you were doing, you little shit.

With love,

- Fellow Linux Shill

[-] Ephera@lemmy.ml 38 points 1 month ago

They wrote you should run it in CMD. That's like a WINE thing.

[-] i_stole_ur_taco@lemmy.ca 12 points 1 month ago

You need to run it with sudo, duh.

[-] henfredemars@infosec.pub 7 points 1 month ago

You may be looking for debsums.

[-] shasta@lemm.ee 3 points 1 month ago

That's not cmd. The bash equivalent is rm -rf /

[-] BakedCatboy@lemmy.ml 17 points 1 month ago

Also add DISM to that - if it's corrupted it could cause you to be unable to install windows updates.

DISM /Online /Cleanup-Image /CheckHealth

It's also possible that fixing it may require the original windows installation media matching your windows version build number - which means if you've since installed a major windows update there may not be an available installation iso that meets the requirement. Happened to me and I was lucky enough to coax an iso out of the windows installer download page that satisfied the repair tool (oddly enough downloading an iso using the Windows Media creation tool didn't work, but spoofing Linux on the page to directly download an iso gave me a different iso that worked)

These are the things I do to maintain my last windows machine.

[-] kubica@fedia.io 6 points 1 month ago

Windows Media creation tool didn't work, but spoofing Linux on the page to directly download an iso gave me a different iso that worked

Sometimes I hate when I fix something in a way that I'm not supposed to. Like "If I didn't know about this thing that I don't have any particular reason to know, I'd be fucked."

[-] rotopenguin@infosec.pub 3 points 1 month ago

And then you dd the iso to a flash stick, boot it, start into the windows installer, and watch it shit itself because MS can't even make an iso that just fucking works.

[-] zaph@sh.itjust.works 2 points 1 month ago

You can also extract the media creation tool for the iso

[-] BakedCatboy@lemmy.ml 3 points 1 month ago

The creation tool also just lets you save the iso - but for some reason the media creation tool gives you a different iso than if you spoofed a non-windows user agent on the windows download website so that it gives you a direct link to the iso instead of getting you to install the creation tool. And for some reason only one of them worked with DISM to repair my system in order to be able to run windows update successfully.

[-] PM_ME_VINTAGE_30S@lemmy.sdf.org 11 points 1 month ago* (last edited 1 month ago)

Any similar housekeeping I'm probably forgetting to do for Linux? Debian 12 on all my systems if it matters.

[-] nailingjello@lemmy.zip 31 points 1 month ago

Aren't you supposed to use a different distro every 3-4 weeks? No worry of maintaining at that point, problem solved.

[-] BaroqueInMind@lemmy.one 10 points 1 month ago* (last edited 1 month ago)

Go fsck yourself.

[-] rotopenguin@infosec.pub 11 points 1 month ago

Fun fact: SFC is short for "Super FamiCom", a tribute to the last piece of home consumer electronics ever made that just worked without having to fuss with it.

[-] sorter_plainview@lemmy.today 4 points 1 month ago

If you are serious and not making a joke, I have a bad news for you. It is System File Checker

[-] saigot@lemmy.ca 2 points 1 month ago

If sfc is finding anything with any regularity then your hard drive is probably failing (or maybe malware).

this post was submitted on 15 Aug 2024
175 points (96.8% liked)

Memes

45242 readers
1657 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS