Possibly linux@lemmy.zip to Linux@lemmy.mlEnglish · 4 months agoQuestion: What is Linux misinformation?message-squaremessage-square100fedilinkarrow-up178arrow-down19file-text
arrow-up169arrow-down1message-squareQuestion: What is Linux misinformation?Possibly linux@lemmy.zip to Linux@lemmy.mlEnglish · 4 months agomessage-square100fedilinkfile-text
minus-squarejlsalvador@lemmy.mllinkfedilinkEnglisharrow-up46·edit-24 months agoFor example, when someone ask for a command to list files, and another one reply with a command that removes everything.
minus-squareLucy :3@feddit.orglinkfedilinkarrow-up22arrow-down2·4 months agoOr curl -O https://software.download.prss.microsoft.com/dbazure/Win11_23H2_English_x64v2.iso?t=20e395a3-e609-4696-99fe-f6edcc14f54a&P1=1723809112&P2=601&P3=2&P4=YoihsrepRARlh%2faBo1mABEe7A0aL0yWPYOcR3dNAmlaFPDavFokSpv0oFQybmpuDhG%2f677UBlN%2fRIxY9B3EFVC5TFca%2bXI%2bA%2bQAxqraW1SGCgmpteLlZYntp2E21cpv4RIJ8aifL9z0ecBwNtgwBAY526haPg2RgKhb225RwnAER0EDGWMrDLookFFCm8th8akKETDwKQYQnVKZ%2bJUCTvlt06D42oCJ10fXcVv2D6du6Kuudtc8NgV3DSXPuB4ADK1l951o37bvijDkqAKn70aHyidA5HgdpO5O8K3PPvsre%2bNSVWLbgh7UkEeU1BNMO0INPFiGVqEIaeGorhYxS0w%3d%3d
minus-square9point6@lemmy.worldlinkfedilinkarrow-up26·edit-24 months agoWhy stop there curl $windows_iso_url | sudo dd of=/dev/sda bs=4M && sudo sync; sudo reboot (Do not run this)
minus-square9point6@lemmy.worldlinkfedilinkarrow-up13·4 months agoMakes sure all writes are flushed to disk On reflection probably not needed as I think reboot does that too
minus-squarewholookshere@lemmy.blahaj.zonelinkfedilinkarrow-up8arrow-down1·edit-24 months agoSync the drive cache with the disk.
For example, when someone ask for a command to list files, and another one reply with a command that removes everything.
Or
curl -O https://software.download.prss.microsoft.com/dbazure/Win11_23H2_English_x64v2.iso?t=20e395a3-e609-4696-99fe-f6edcc14f54a&P1=1723809112&P2=601&P3=2&P4=YoihsrepRARlh%2faBo1mABEe7A0aL0yWPYOcR3dNAmlaFPDavFokSpv0oFQybmpuDhG%2f677UBlN%2fRIxY9B3EFVC5TFca%2bXI%2bA%2bQAxqraW1SGCgmpteLlZYntp2E21cpv4RIJ8aifL9z0ecBwNtgwBAY526haPg2RgKhb225RwnAER0EDGWMrDLookFFCm8th8akKETDwKQYQnVKZ%2bJUCTvlt06D42oCJ10fXcVv2D6du6Kuudtc8NgV3DSXPuB4ADK1l951o37bvijDkqAKn70aHyidA5HgdpO5O8K3PPvsre%2bNSVWLbgh7UkEeU1BNMO0INPFiGVqEIaeGorhYxS0w%3d%3d
Why stop there
curl $windows_iso_url | sudo dd of=/dev/sda bs=4M && sudo sync; sudo reboot
(Do not run this)
What does sync do?
Makes sure all writes are flushed to disk
On reflection probably not needed as I think reboot does that too
Ah sync from RAM to disk?
Sync the drive cache with the disk.