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.

How to Install an AppImage on Linux

Tutorial August 21, 2024

  • If the AppImage supports integration, it will typically prompt you the first time you run it, asking if you want to integrate the application.
  • If not, you can manually create a desktop entry or use tools like AppImageLauncher to manage AppImages more effectively.

Installing and running an AppImage on Linux is a straightforward process that involves downloading the file, making it executable, and running it. AppImages provide a convenient way to use software on various Linux distributions without worrying about dependencies or package conflicts.

How to view free space on a Linux server

Code August 11, 2024
bash

df -h
  • 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.

Finding the Top 10 Biggest Files on an Ubuntu Server

Tutorial August 11, 2024
bash

sudo find /path/to/directory -type f -exec du -h {} + | sort -rh | head -n 10
  • sudo: Runs the command with superuser privileges, which might be necessary for accessing certain files or directories.
  • find /path/to/directory -type f: Searches for files (-type f) in the specified directory and its subdirectories. Replace /path/to/directory with the target directory, or use / to search the entire file system.
  • -exec du -h {} +: Executes the du (disk usage) command for each file found, with -h providing human-readable sizes (e.g., MB, GB).
  • sort -rh: Sorts the files in reverse order by size, with the largest files listed first.
  • head -n 10: Displays the top 10 files from the sorted list.