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 243 views
1 answer 201 views
1 answer 224 views
2 answers 173 views
1 answer 133 views
1 answer 145 views
2 answers 157 views
157 views asked Jan 13, 2024 by avibootz
...