Was reading this article about automatically logging into a raspberry pi and they say to use this command:
1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1
After going through the manual I see that
-f means no auth and that
pi is the user, but what does
tty1 </dev/tty1 >/dev/tty1 2>&1
I assume tty1 is the terminal to login into or something, but then the following arguments are confusing as well.
Why are there angle braces
</dev/tty1 >? Are they doing some weird redirection?
I would really appreciate if someone could break it down. I'm not a fan of using commands I'm unfamiliar with.