Center Text on the Terminal
Print a line padded with spaces so the text sits in the middle of the current terminal width, using tput for the column count.
This page is in English. Your browser can translate it.
Print a line padded with spaces so the text sits in the middle of the current terminal width, using tput for the column count.