- URL (starts with 'http')
- File name (anywhere in the system)
- String
Execute the word_counte.rb file and enter any of the input types by either entering them as console line arguments, or when prompted if no command line arguments were entered. The database will be created upon first use in the db directory.
Execute the word_instances.rb file and enter a word to search for in the database by either entering it as a console line argument, or when prompted if no command line argument was entered.
Run with `rspec name_of_program/spec
the mlocate database used by the locate command is outdated, run sudo updatedb
to update it then try again.