linux:bash:mencari-file-terbaru-terupdate
Bash : Menampilkan / Mencari File Terbaru diupdate
Bagaimana cara mencari file terbaru di ubah atau diupdate di linux
ls -1ht /home/user/domains/domain.com/public_html/* | head -5
hasilnya
/home/user/domains/domain.com/public_html/wp-config.php /home/user/domains/domain.com/public_html/wp-config-sample.php /home/user/domains/domain.com/public_html/wp-settings.php
atau bisa juga
ls -lht /home/user/domains/domain.com/public_html/* | head -5
hasilnya
-rw-r--r-- 1 karyamu3 karyamu3 3.2K Jan 23 16:49 /home/user/domains/domain.com/public_html/wp-config.php -rw-r--r-- 1 karyamu3 karyamu3 3.0K Nov 16 06:17 /home/user/domains/domain.com/public_html/wp-config-sample.php -rw-r--r-- 1 karyamu3 karyamu3 26K Oct 11 02:35 /home/user/domains/domain.com/public_html/wp-settings.php
Selamat mencoba
Layanan
Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |linux/bash/mencari-file-terbaru-terupdate.txt · Last modified: 2024/01/24 07:54 by kbadmin