scy, (edited ) to linux
@scy@chaos.social avatar

TIL: You can ask GNU tar(1) to change the file names while extracting. (And you can limit tar to only extract specific files, but I knew that already.)

For example, I'm using this command to extract the static binary "resticprofile" from the release tarball, but give it a versioned file name (e.g. "resticprofile-0.26.0"):

VERSION=0.26.0
tar -xf resticprofile_$VERSION_linux_amd64.tar.gz --no-same-owner --transform "s,$,-$VERSION," resticprofile

linuxiac, to linux
@linuxiac@mastodon.social avatar

This guide shows you how to change your Linux shell, making the switch from(to) Bash, Fish, Zsh, or any other shell a breeze.
https://linuxiac.com/how-to-change-shell-in-linux/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • cisconetworking
  • GTA5RPClips
  • osvaldo12
  • khanakhh
  • DreamBathrooms
  • magazineikmin
  • Youngstown
  • everett
  • mdbf
  • slotface
  • InstantRegret
  • rosin
  • JUstTest
  • cubers
  • modclub
  • normalnudes
  • Durango
  • thenastyranch
  • ethstaker
  • tacticalgear
  • ngwrru68w68
  • Leos
  • anitta
  • provamag3
  • tester
  • lostlight
  • All magazines