/usr/local/bin/
is where a bunch of command apps end up, and a good place to put things you yourself have created.
Homebrew is a package manager for OSX and lets you easily install, remove and get information about what it has installed.
have fun!
The "Mac"-ish way to do this would be to use VirtualBox. That lets you run VMs with a nice friendly GUI (and you can run them without if you don't want to).
Set up networking in the VMs as "bridged", and you'll be able to ssh to your Linux VM just as if it was another machine on your network.
You need to install ImageMagick. Install it with brew install imagemagick
. If you don't have homebrew, follow this instruction: https://brew.sh.
ImageMagick is a collection of command line tools containing magick identify
to get information like size of an image.
Nah, you're fine. You just installed homebrew (or you tried to, anyhow). Brew is an extremely popular package manager that thousands and thousands of people use. You can find out more here
https://brew.sh/ has installation instructions and general info about homebrew.
homebrew serves a similar package manager type function as apt on linux. There are many gnu programs available through homebrew as well, so if you're looking for something specific, try searching via the brew.sh site. I usually have pretty good luck finding what I need.
You can use your Terminal.app to execute a shell command for this. For images, I would use ImageMagick. After installation you can execute something like this in your terminal:
convert ~/Desktop/original.png -resize 100x100 new_location/new.png
It is also possible to copy all your files into new directory first and resize them afterward and in-place:
mogrify -resize 100x100! *.png