You're viewing a single thread.
View all comments
98
comments
For example, when someone ask for a command to list files, and another one reply with a command that removes everything.
46 0 ReplyOr
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
21 2 ReplyWhy stop there
curl $windows_iso_url | sudo dd of=/dev/sda bs=4M && sudo sync; sudo reboot
(Do not run this)
24 0 ReplyWhat does sync do?
3 0 ReplyMakes sure all writes are flushed to disk
On reflection probably not needed as I think reboot does that too
13 0 ReplyAh sync from RAM to disk?
3 0 ReplySync the internal drive cache with the disk. IIRC
8 1 Reply
You've viewed 98 comments.
Scroll to top