Thread: Variable help
i creating 4 character variable with:
how can put colon in middle command?od -an -n2 -x /dev/random
e.g have 7a6f , want be: 7a:6f. how can achieve this?
the first character output of od command space on debian (ie output " 1234") if ubuntu different (ie output "1234") usecode:od -an -n2 -x /dev/random|sed s/\ ../\&:/
code:od -an -n2 -x /dev/random|sed s/../\&:/
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [all variants] Variable help
Ubuntu
Comments
Post a Comment