DeveloperBreeze

Tutorials Programming Tutorials, Guides & Best Practices

Explore 148+ expertly crafted tutorials tutorials, components, and code examples. Stay productive and build faster with proven implementation strategies and design patterns from DeveloperBreeze.

Managing Disk Space: Understanding and Using LVM on Linux

Tutorial August 19, 2024
bash

     sudo e2fsck -f /dev/my_volume_group/my_logical_volume
     sudo resize2fs /dev/my_volume_group/my_logical_volume 15G
  • Reduce the Logical Volume Size:

Using `rsync` for Efficient Backups and File Synchronization

Tutorial August 19, 2024
bash

  • -z enables compression during the transfer.
  • -e ssh specifies that rsync should use SSH for the connection.

To delete files at the destination that no longer exist at the source: