How to print indent text in Bash

1 Answer

0 votes
printf '%7s%s\n%7s%s\n' '-' 'Bash' '-' 'Shell'
 
 
# run:
#
#      -Bash
#      -Shell
#

 



answered Aug 9, 2024 by avibootz

Related questions

1 answer 259 views
1 answer 215 views
1 answer 240 views
2 answers 189 views
1 answer 147 views
1 answer 159 views
2 answers 179 views
179 views asked Jan 13, 2024 by avibootz
...