push and pull command return "push: not found" I can't seem to pull or push files from my phone. The file exists, and I can get into adb shell. But whether I do the command adb pull or adb shell and then pull, it doesn't work.

If I do it via shell, it gives me 'push: not found'. If I do adb pull on windows command line, it just gives me a list of all adb commands (so it doesn't understand push or pull).

What's wrong, and how do I fix it?

I am using the correct syntax.

Within shell: push (or pull) /path/to/file

outside: adb push (or pull) /path/to/file

I am working as root too.

The file I need doesn't seem to be visible to the graphical file manager I have on the phone, even though it has root permissions and is showing hidden files. It's visible via adb, so it's definitely there!
By your words, I suppose that you're running adb within an adb shell and that's wrong. See this answer for more details.

In case I misunderstood your question:
On Android, adbd is by default not running as root, so certain files and directories are not visible to the ADB client. Still, refer to my answer for more details.

There is no such command as push or pull on your Android device. All you can do is adb push from your host PC. Whatever non-existent command makes shell tell you aaabbb: not found so it's not a bug.