@[email protected] to linuxmemes • 23 hours agoTinkering Buglemmy.zipimagemessage-square21fedilinkarrow-up1319arrow-down12file-text
arrow-up1317arrow-down1imageTinkering Buglemmy.zip@[email protected] to linuxmemes • 23 hours agomessage-square21fedilinkfile-text
minus-square@NegativeLookBehindlinkEnglish44•23 hours agoRun random commands until you break some shit Follow me for more Linux tips
minus-square@NegativeLookBehindlinkEnglish21•edit-27 hours 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-square@[email protected]linkfedilink10•21 hours 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!
hi satan
Bonjour
Well that just got added to my interview question bank…heh.
seems reasonable enough