Skip to content

Commit

Permalink
Use a more common way to echo a newline
Browse files Browse the repository at this point in the history
Co-authored-by: Shane Frasier <jeremy.frasier@trio.dhs.gov>
  • Loading branch information
dav3r and jsf9k committed Apr 18, 2023
1 parent b1c4989 commit f69b8fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extras/ioc_scan_by_host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ echo Instances are: "${instances[*]}"

# Loop through all instance IDs
for instance_id in "${instances[@]}"; do
# "echo -e" allows us to use \n for newlines.
echo -e "\nSearching $instance_id:"
echo
echo Searching "$instance_id":

# Use grep to search for IOC strings in log files. We use the --invert-match
# grep flag to exclude files that contain our grep command (e.g. sudo.log) and
Expand Down

0 comments on commit f69b8fa

Please sign in to comment.