How to burn/write Xubuntu ISO image to USB drive

To write an ISO image to a USB drive on Linux, you can use the ‘dd’ command.

Download the latest preferred Xubuntu version from official store https://xubuntu.org/download/

Below the steps to follow:

– Insert the USB drive into your computer’s USB port.

Read the rest

How to create a file of specific size using Linux command line

Reduce size using truncate command

Run for a second:

yes "some text" > testfile.txt

Reduce size using truncate:

truncate -s 50M testfile.txt

Create 50M file using fallocate command

fallocate -l 52428800 testfile.txt

To be more exact using inline arithmetic:

fallocate -l $((50*1024*1024)) testfile.txt
Read the rest