#!/bin/bash for i in {1..5} do Name=`printf %0.3d $i` echo $Name done ================================= After executing the executable file, the screen will display 001 002 003 004 005
沒有留言:
張貼留言