Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ip extraction from the log files bash script kali

while read line; do
  ip="$(grep -oE '[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}' <<< "$line")"
  echo "$ip"
done < "abd"
Comment

PREVIOUS NEXT
Code Example
Shell :: watchan windows latest release 
Shell :: WSL distro startup fail 
Shell :: mnrm run watch compiles successfully but not working 
Shell :: turbo top for linux 
Shell :: npm install hangs on lodash 
Shell :: batch rename folders & trim spaces & add prefix / suffix 
Shell :: grep end of line csh 
Shell :: How to grep for value in a key-value 
Shell :: format terminal mac 
Shell :: ubuntu sysmon 
Shell :: replace the sound of mp4 video linux 
Shell :: learn how to use bash (variables) 
Shell :: Fix SSH Error in Terminal & Linux: client_loop: send disconnect: Broken pipe 
Shell :: qemu convert qcow2 to vhd 
Shell :: gentoo enable all fonts 
Shell :: how to revert force push git 
Shell :: ssh remote capture wireshark 
Shell :: untar in specific folder 
Shell :: hadoop hive get time from timestamp 
Shell :: making password sensitive/hide in terraform 
Shell :: sexy bash 
Shell :: caddy default tls folder 
Shell :: ping command output to null in linux 
Shell :: beanstalk no log in cloudwatch 
Shell :: install node in linux from tar 
Shell :: linux search last commands 
Shell :: start cinnamon from command line redhat 7 
Shell :: fslmeants fslstats time series 
Shell :: npm install smoothscroll-polyfill 
Shell :: which display manager is active/running 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =