I realize I did not provide very complete info earlier, so what I’ve been trying to do is to become able to type,
find / -name XXX $NULL
find / -name XXX 2>/dev/null
, as I did quickly notice my wanting to redirect away all errors for virtually every search I did. However, by including the redirection as part of the variable $NULL, I receive the following error:
find: paths must precede expression: ‘2>/dev/null’
I’d assume there’s some basic error I am making here, involving how the ‘2’ and ‘>’ are being interpreted when they’re part of the variable as opposed to being explicitly stated, so for the moment I’m simply continuing to learn more about the fundamentals until the matter becomes clear.
I did try escaping this and that, adding a space after ‘>’, adding the variable to /etc/environment and as temporary declarations, dividing up the declaration into two “” parts, but clearly it all got too messy as I’m clearly guessing about too many things.