I like to live dangerously!
One of my carry-overs from my first DOS 6.22 & Win 3.10 days, tweaking my exec.bat
files, is having a few aliases using what was then the dir
command, with options and increasing levels of detail for more 'd's in the alias name. So, d
for ls -F
, dd
for ls -FlhA
, d
for ls -Flhani --full-time
. (I don't remember just what the options are in DOS-land, and these days, it's actually using ls-F
, because tcsh.) This would seem to be absolutely terrifying given how often I'm using a system not my own and that might not have my aliases set up on login, and I could just dd
a directory at any time. But, given the unusual syntax of /usr/bin/dd
, with everything aside from what, --help
and --version
requiring being declared with an equal sign in it, anything I've ever done a directory listing of would result in a syntax error when run with /usr/bin/dd
anyway, so not long after I switched over to Linux and noticed the collision, I realised it wasn't really the problem it seemed, and got over it. (When I need the actual /usr/bin/dd
, then I just spell it out with the full path, and the alias is ignored.)
ETA: As with the commenter before me, I'm not familiar with OP's -if
& -of
syntax. I know the one where it's all equal signs, as implied previously.