@299792458ms@lemmy.zip to linuxmemes@lemmy.world • 3 months agoTinkering Buglemmy.zipimagemessage-square25fedilinkarrow-up1371
arrow-up1371imageTinkering Buglemmy.zip@299792458ms@lemmy.zip to linuxmemes@lemmy.world • 3 months agomessage-square25fedilink
minus-square@NegativeLookBehind@lemmy.worldlinkfedilinkEnglish28•edit-23 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-square@MajorHavoc@programming.devlinkfedilink13•3 months agoWell that just got added to my interview question bank…heh.
Write a script to delete every 5th file under /etc/.
EDIT: did it for you
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