-l Left-align -c Center -r Right-align
Let’s say you want to align the text center then ,
[root@rhel1 ~]# figlet 'Hello UxTechno' -f slant -c
__ __ ____ __ __ ______ __
/ / / /__ / / /___ / / / / _/_ __/__ _____/ /_ ____ ____
/ /_/ / _ \/ / / __ \ / / / / |/_// / / _ \/ ___/ __ \/ __ \/ __ \
/ __ / __/ / / /_/ / / /_/ /> < / / / __/ /__/ / / / / / / /_/ /
/_/ /_/\___/_/_/\____/ \____/_/|_|/_/ \___/\___/_/ /_/_/ /_/\____/
[root@rhel1 ~]#
Here we have given option -c at the end for center alignment.
For Left alignment
[root@rhel1 ~]# figlet 'Hello UxTechno' -f slant -l
__ __ ____ __ __ ______ __
/ / / /__ / / /___ / / / / _/_ __/__ _____/ /_ ____ ____
/ /_/ / _ \/ / / __ \ / / / / |/_// / / _ \/ ___/ __ \/ __ \/ __ \
/ __ / __/ / / /_/ / / /_/ /> < / / / __/ /__/ / / / / / / /_/ /
/_/ /_/\___/_/_/\____/ \____/_/|_|/_/ \___/\___/_/ /_/_/ /_/\____/
For right alignment
[root@rhel1 ~]# figlet 'Hello UxTechno' -f slant -r
__ __ ____ __ __ ______ __
/ / / /__ / / /___ / / / / _/_ __/__ _____/ /_ ____ ____
/ /_/ / _ \/ / / __ \ / / / / |/_// / / _ \/ ___/ __ \/ __ \/ __ \
/ __ / __/ / / /_/ / / /_/ /> < / / / __/ /__/ / / / / / / /_/ /
/_/ /_/\___/_/_/\____/ \____/_/|_|/_/ \___/\___/_/ /_/_/ /_/\____/
Leave a Reply