Month: December 2022

How to List Last Five Modified Files in Linux

1. Overview We use the ls command in Linux to list our files and folders. We can add options to display more or less detail. It also lets us sort our files on the last modified time. A common use case is that we want, let’s say, the five files that were last modified. Unfortunately, ls alone can’t limit […]

Cách tạo file theo dung lượng mong muốn

Trên MACOS Bước 1: Mở terminal Bước 2: Dùng lệnh này để tạo file: mkfile -n size[b|k|m|g] filename Ví dụ: Tạo file 100MB: mkfile -n 100m testingvn.txt Trên Windows Bước 1: Mở CMD (Command DOS) theo một trong các cách sau Start => Run => gõ ‘cmd’ rồi nhấn Enter Windows Key => rồi gõ […]