Tag: number
Add Line Numbers
July 7, 2009
Use this command to add line numbers to a text file… sed = filename.txt | sed ‘N;s/\n/\t/’ > filename_number.txt
Fetch a URL With a Number Series
July 3, 2008
Use this command to download numbered content… for ((i=1; i
Zero Padding In Linux Commands
July 2, 2008
This is how you zero pad a numerical variable in bash. for ((x=1;x<=31;x+=1)); do echo `printf “%02d” $x`; done Original…
Recent Comments