climagic,
@climagic@mastodon.social avatar

What is your LEAST favorite command?

lanodan,
@lanodan@queer.hacktivis.me avatar

@climagic info

gsuberland,
@gsuberland@chaos.social avatar

@climagic find

short of verbatim names I can never remember the switches I need and it's basically impossible to tell if a particular regex is working fine and the files aren't there or the regex isn't working due to some feature or another not being supported due to dialects or escape characters or w/e. endlessly frustrating.

icpmoles,
@icpmoles@mastodon.social avatar

@climagic tar -fsdvbfvbjjifsrhjj archive.tar.gz

niconiconi,

@icpmoles @climagic Modern tar are the easiest-to-use Unix programs, automatic format detection has been a supported feature since 10 years ago by GNU tar, and even libarchive's BSD tar supports it. tar -xf is almost the only command I use. Those obsolete tar tutorials are a tremendous waste of time.

icpmoles,
@icpmoles@mastodon.social avatar

@niconiconi @climagic I have to admit that I'm too spoiled by the unzip syntax and that always going with the first google result™ doesn't help with the memorization :blobsweats:

niconiconi,

@icpmoles @climagic Fun fact: the tar -xf trick is even more powerful using bsdtar since bsdtar is a frontend of libarchive, so it even works for zip, 7z, ISO, cpio, and RAR (with limitation, e.g. custom filter not supported due to missing RAR virtual machine implementation). bsdtar -xf does almost everything. Unfortunately "modern" tech like that will never appear in those Unix 101 tutorials...

lanodan,
@lanodan@queer.hacktivis.me avatar

@niconiconi @climagic @icpmoles Even heirloom tar has format detection for bzip2 and gzip (checkzip function).
And copyright notices indicates last modification in 2003, so most of the people reading about how to use tar were likely born after tar got auto-detection.

simon,
@simon@fosstodon.org avatar

@climagic yes
y
y
y
y
y
y
y
y
y
y
y
y

mxk,
@mxk@hachyderm.io avatar

@climagic taskset/chrt due to their terrible cmdline interface.

kwf,
@kwf@social.afront.org avatar

@climagic bash. It's the beginning of the end.

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