tar x|c|t+v(f)(z)
this is pretty much everything I've ever used.
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
sudo in Windows.Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
What nobody posted the tar XKCD yet?

Title text:
I don't know what's worse--the fact that after 15 years of using tar I still can't keep the flags straight, or that after 15 years of technological advancement I'm still mucking with tar flags that were 15 years old when I started.
By the way, tar -h is not a valid command, the flag is related to symlinks. You will want to use -? or --help.
tar bomba
of course I know it, it's tldr tar
This is output on my setup (I frequently forget that I did this):
$ tarhelp
helper definitions for tarcomp, untar, and tarls / tarlist:
- tar[comp] -czvf archive.tar.gz file1 file2 dir1 file3
- [un]tar -xvf archive.tar.gz
- tar[ls|list] -tvf archive.tar.gz
A clever helper, I think. If I remember to use it.
zxf and zcf for me, I know what they do but not what it means. It's been like 30 years at this point
more ~/.zsh_history | grep tar
highlight
copy
paste
move cursor to change file
am i doing it right
You don't need more, you can just grep tar ~/.zsh_history
If you only want the first ten results pipe to head.
If you want more interactivity use less ~/.zsh_history
Then press / to search. Press n for next match
If you use fzf you can just type "ctrl-r tar"
Press Ctrl-R then type "tar" and if it's not the most recent one you want, then press ctrl-r again until you find the right one.
I can do that since 2005 when I installed gentoo for the first time.
Same but with math: https://en.wikipedia.org/wiki/The_Feeling_of_Power
Read here (PDF): https://archive.org/download/TheFeelingOfPower/The%20Feeling%20of%20Power.pdf
That would work if it was find instead of tar.
rsync over ssh