299792458ms@lemmy.zip to linuxmemes@lemmy.world · 2 months agoTinkering Buglemmy.zipimagemessage-square25fedilinkarrow-up1376arrow-down12file-text
arrow-up1374arrow-down1imageTinkering Buglemmy.zip299792458ms@lemmy.zip to linuxmemes@lemmy.world · 2 months agomessage-square25fedilinkfile-text
minus-squareNegativeLookBehind@lemmy.worldlinkfedilinkEnglisharrow-up60·2 months agoRun random commands until you break some shit Follow me for more Linux tips
minus-squareNegativeLookBehind@lemmy.worldlinkfedilinkEnglisharrow-up30·edit-22 months agoWrite a script to delete every 5th file under /etc/. EDIT: did it for you #!/bin/bash count=0 for file in $(find /etc/ -type f); do (( count+=1 )) if (( $count % 5 == 0 )); then sudo rm -rf $file fi done And now you have lots of stuff to fix and configure. You’re welcome!
minus-squareMajorHavoc@programming.devlinkfedilinkarrow-up13·2 months agoWell that just got added to my interview question bank…heh.
Run random commands until you break some shit
Follow me for more Linux tips
sudo rm -rf /
Write a script to delete every 5th file under /etc/.
EDIT: did it for you
#!/bin/bash count=0 for file in $(find /etc/ -type f); do (( count+=1 )) if (( $count % 5 == 0 )); then sudo rm -rf $file fi done
And now you have lots of stuff to fix and configure. You’re welcome!
Well that just got added to my interview question bank…heh.
hi satan
Bonjour
seems reasonable enough