Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
desperatecuban
· 2y ago · 0 comments
You can use \cat to prevent alias expansion.
Comments
[–]
wlonkly
2y ago
Or 'command cat', which is a little less convenient but will also handle the case where "cat" is a function, not an alias.
(In bash at least. Not sure about newfangled shells!)
[–]
drdude
2y ago
Neat! thanks for sharing. Few times I needed that but I had to go hunting down the full path.
[–]
aroch
2y ago
I have ‘ccat’ aliases to the original cat binary
[–]
SushiHippie
2y ago
That's even better, thank you!
[–]
ossusermivami
2y ago
or you can do =cat on zsh