3 ms·
These are pretty neat, but weirdly uninformed on some things . If you're using GNU tar the alias should just be "tar -xvf" since it can autodetect compression
by nieve 8y ago
These are pretty neat, but weirdly uninformed on some things
.
If you're using GNU tar the alias should just be "tar -xvf" since it can autodetect compression (though I'm not sure if that's suffix-based or file type). This also means you can append your own -j or whatever for different compression types if you need to do so manually.
Specifying "wget -c" does not mean you'll be able to resume if something goes wrong, it forces resumption from a partial file you already have on a subsequent invocation. The reason to specify it on the first invocation is just so that you can be lazy and reuse that command line.
The shasum command is from Perl on most (all?) platforms, sha256sum from GNU coreutils or equivalent may be needed if it's missing and may have higher performance.
Probably most importantly, ipconfig is OS and distro-specific. It was missing on the first linux systems I checked (Ubuntu and openSUSE). It's useful, but it's a bit like listing a launchctl alias without specifying it's largely macOS-specific.