1
bash betiği içindeki dosyaların sahipliğini değiştirme
Kullanıcının sahip olduğu ilk iki dosyayı ve kök olarak sahip olduğu sonraki üç dosyayı çıkaran bu bash betiğine sahibim: ################################################## # Variables NUM="6" #number of backup files to keep LOGFILE="/home/boudiccas/cron/obnam-ls.txt" #################################################### # Change into new directory cd /home/boudiccas/cron/obnam/ # Generate new file and save it sudo -u boudiccas obnam ls>"obnamhome-ls-$(date …