Possibly linux@lemmy.zip to LinuxEnglish · 26 days agoQuestion: What is Linux misinformation?message-squaremessage-square100fedilinkarrow-up178arrow-down19file-text
arrow-up169arrow-down1message-squareQuestion: What is Linux misinformation?Possibly linux@lemmy.zip to LinuxEnglish · 26 days agomessage-square100fedilinkfile-text
minus-squarejlsalvadorlinkfedilinkEnglisharrow-up46·edit-226 days 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-up21arrow-down2·26 days 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-up25·edit-226 days 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·26 days 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-226 days agoSync the internal drive cache with the disk. IIRC
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 internal drive cache with the disk. IIRC