seq command | How to use effectively in shell Scripting | Tech Arkit

preview_player
Показать описание
seq - print a sequence of numbers

Synopsis
seq [OPTION]... LAST
seq [OPTION]... FIRST LAST
seq [OPTION]... FIRST INCREMENT LAST

Description
Print numbers from FIRST to LAST, in steps of INCREMENT.
-f, --format=FORMAT
use printf style floating-point FORMAT
-s, --separator=STRING
use STRING to separate numbers (default: \n)
-w, --equal-width
equalize width by padding with leading zeroes
--help
display this help and exit
--version
output version information and exit

Follow Us on Social Media

Post your topic, we will make videos for you

#Techarkit #shell #scripting
Рекомендации по теме
Комментарии
Автор

Ravi as a subscriber I have a request, can you please make a video on Redhat open shift, how to setup and use it .. complete end to end ... As I am really looking for it.. it would be great if you can make a complete full fledged video. Thanks in advance

thallamudisrikanth
Автор

fyi
-n is the reason it printed on one line
echo -en "$a\n" would work or simply echo "$a"

Mark-kwtg