User Tools

Site Tools


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

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki