Allow scroll through top iTerm mac

If you print or log bunch of data in Terminal (Iterm) normally, you can’t scroll back to your latest command. Here is how to do it

Go to iTerm > Preferences > Profile Tab > Teriminal Check the “Unlimited scrollback” option

Now, you can get to the top of your terminal with this

terminal mac