Code Example C++

Sunday, December 27, 2015

BASH read from a file and do something with it.

#!/bin/bash
cat $filename |   # Supply input from a file.
while read line   # As long as there is another line to read ...
do

echo $line

done
Posted by Unknown at 12:27 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Noteworthy Links

  • decred

About Me

Unknown
View my complete profile

Blog Archive

  • ►  2016 (15)
    • ►  December (2)
    • ►  November (1)
    • ►  October (2)
    • ►  August (4)
    • ►  January (6)
  • ▼  2015 (19)
    • ▼  December (19)
      • BASH script for creating lookup cards
      • BASH read from a file and do something with it.
      • BASH merging wordlists
      • Dictionary expander written in C (not mine)
      • Comparing strings in C++
      • Unfinished brute force example
      • Open a port on Windows firewall C
      • Photo gallery generator
      • yet another page generator
      • options for hash types
      • turn your wordlist into a webpage.
      • Palindrome wordlist generators C++ ultra simple
      • SHA512 plaintext pairs
      • Automation with system()
      • Creating web directory with ls and some C++
      • Looping through ascii characters in C++
      • Simple hash plaintext pair generator
      • Crude way to use command line arguments
      • Simple example of C++ and OpenSSL brute force crac...
Travel theme. Powered by Blogger.