Linux notes

This post is a collection of useful notes for myself. I will update it with quick commands that I can't keep in memory but occasionally use.

Create ISO rom CD or DVD on Linux

# dd if=/dev/{cdrom|sr0|whatever} of=file.iso

Set partition or drive label

View current label

# blkid -f


# blkid /dev/sda1

Change label

  • ext4: e2label /dev/sda1 my_label
  • fat: fatlabel /dev/sda1 my_label
  • ntfs: ntfslabel /dev/sda1 my_label
  • any fs: tune2fs -L "my_lable" /dev/sda1
  • any fs with gparted (the partition must be unmounted)Linux Gparted Change Drive Label

Combine multiple images into one with ImageMagick

montage *.jpg -tile 5x3 -geometry +0+0 out.png

5 - columns

3 - rows

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!


Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

2 thoughts on “Linux notes”

  1. I like Linux! Hope you start writing a little bit about it. I know that the site is mostly about Windows, but a little Linux can slip in I think! ;)

Leave a Reply

Your email address will not be published.

Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.