DeveloperBreeze

Tutorials Programming Tutorials, Guides & Best Practices

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

Getting Started with FFmpeg

Tutorial August 21, 2024

ffmpeg -i input.mp4 -vf "subtitles=subtitles.srt" output.mp4
  • -vf "subtitles=subtitles.srt": Adds the subtitles from the .srt file to the video.

How to view free space on a Linux server

Code August 11, 2024
bash

  • df: This command stands for "disk free" and reports the amount of disk space used and available on Linux filesystems.
  • -h: This option stands for "human-readable" format, which makes the output easier to read by showing sizes in KB, MB, GB, etc.

When you run the df -h command, you might see output similar to the following:

Finding the Top 10 Biggest Files on an Ubuntu Server

Tutorial August 11, 2024
bash

Use the following command to find the top 10 largest files:

sudo find /path/to/directory -type f -exec du -h {} + | sort -rh | head -n 10