Category: MacOS

How to use df command in Linux / Unix {with examples}

We use the df command to find total disk space and available space on a Linux / Unix file system. Let us see how to use the df command to view the amount of free space left on your Linux, macOS, *BSD and Unix file system. We will also explain how to automate disk space monitoring and send an email alert or push notification to your mobile device.

Source: How to use df command in Linux / Unix {with examples} – nixCraft

OpenSSH Tip: Check Syntax Errors before Restarting SSHD Server

This page explains how to check the OpenSSH sshd server configuration file for syntax errors under Linux/Unix using the command-line option.

Source: OpenSSH Tip: Check Syntax Errors before Restarting SSHD Server – nixCraft

Nmap Commands for Beginners: Simple Scanning Tips

Discover 20 essential Nmap command examples for basic scans, port scans, and more. Perfect for beginners looking to get started with Nmap.

Source: Nmap Commands for Beginners: Simple Scanning Tips – LinuxCapable

Quickly resize and shrink Raspberry Pi SD card image on MacOS

From time to time you may want to quickly copy a raspberry pi image from one system to another….but only have a smaller SD card. Or you started your project as a tryout on a crazy 64GB sd card, and realize later that 8GB would be way enough. So what you want to do, is resize the source image to the smallest size possible, flash it to the new smaller SD card, and expand it again to its new maximum on the new SD card. And so far that process can be very long and painful….but luckily there is a very handy script for that, called PiShrink. I am using the mac version, but there is also a linux version.

Source: Quickly resize and shrink Raspberry Pi SD card image on MacOS – Florian Müller
Similar article that expands on the one linked above: Flash larger SD card image onto smaller card on Mac for your Raspberry Pi – Medium/Practical coding

Recent Posts

Recent Comments

Archives

Categories

Meta

GiottoPress by Enrique Chavez