Rotate screen

I want to display my miners’ data on my monitor in ‘Portrait’ mode. Which command should I execute to rotate the screen image from landscape to portrait?

Thanks

search… Linux… utumbu screen rotate…

Yes. Thanks. I found this and it works:
echo 1 | sudo tee /sys/class/graphics/fbcon/rotate