Search Results

Search: Posts Made By: jremio
6,793
Posted By jremio
zero padding problem (bash)
Hi there,

I need to loop some values,

for i in $(seq $first $last)
do
does something here
donefor $first and $last, i need it to be of fixed length 5. so if the input is 1, i need to add...
7,342
Posted By jremio
What i actually want to accomplish is for eg loop...
What i actually want to accomplish is for eg loop values 0000-9999, hashing each value with md5 and stop when say the hash value (in hex) starts with 0 and tells me which value from 0000-9999 did...
7,342
Posted By jremio
Thanks for the tip... thats exactly what I am...
Thanks for the tip... thats exactly what I am using, it takes very long tho. u only see 0000 - 9999 here because its just for the proof of concept. Really wonder if theres anyway to make it faster by...
Forum: Ubuntu 01-08-2012
35,259
Posted By jremio
Installing md5 package into ubuntu
Hi i want to install md5 package into ubuntu. any idea how?

Apparently applying md5sum and md5 on a string (not a file) gives a different value! The one that I need to use is the md5 command, but...
7,342
Posted By jremio
Thanks will try it as soon as i get to a linux...
Thanks will try it as soon as i get to a linux terminal... thanks a lot for the assistance!

---------- Post updated at 06:50 PM ---------- Previous update was at 06:34 PM ----------

Hi i tried...
7,342
Posted By jremio
Thanks it worked!!! awesome!!! for i in $( seq...
Thanks it worked!!! awesome!!!
for i in $( seq -w 0000 9999)
do
echo $i | md5sum >> /home/ubuntu/Documents/log
done

I got one problem though, when the echo logs into the log file, is there...
7,342
Posted By jremio
Thanks for the reply bro, i did try that......
Thanks for the reply bro,

i did try that... but its not what im looking for. using that, the values are from 0, 1, 2, 3 to 9999 what i need is 0000, 0001, 0002, 0003, to 9999... prefix 0 must be...
7,342
Posted By jremio
After reading some tutorials on shell scripting I...
After reading some tutorials on shell scripting I got a rough idea...

What I am trying to do is to do a loop on concatStr such that it goes from 0000 to 0001 and 0002 and so forth, each time...
7,342
Posted By jremio
Help with looping in shell scripting
Hi there im totally new to shell scripting and i find it very interesting. I come from java programming background.

Basically what i need is to loop a string of say all possible permutations of...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 08:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy