1 karma · joined Jun 6, 2012 (14y ago) · 12 submissions
comment 14y ago · link · parent
printf linkedintrouble |sha1sum |sed 's/ .*//' |grep -f - combo_not.txt
cut -c4-70 combo_not.txt|...
1. cat file
2. cat < file
3. echo abc|cat
4. echo abc|cat - file
cat can take input from the left, the right, or both
same goes for cut
same result as with xargs
grep petard /usr/share/dict/words
not sure what you are trying to demonstrate here
useless use of xargs?
cut -c7-40 combo_not.txt|sort|dups|wc -l
what the heck is dups?
cut -c7-40 combo_not.txt|sort|uniq -d|wc -l
- not portable
- useless use of backticks
printf password|openssl sha1|cut -c6-40|grep -f - hacked.txt