Give a Linux shell command to find all files in a directory which contain ip addresses.



Give a Linux shell command to find all files in a directory which contain ip addresses...

Answer / vinayg954

grep -roE '[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}' .

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux AllOther Interview Questions

Which directory is closer to the top of the file system tree, parent directory or current directory?

3 Answers  


How to recover a deleted file in linux ?

5 Answers  


What is the difference between home directory and working directory?

10 Answers   Accenture, Flexi,


what is difference between  TFTP abd FTP?

0 Answers  


User unable to login in server then how can u troubleshooting it? Example: server at Bangalore. in that server two users try to login in server. 1st user able to login. but second user unable to login so how can troubleshoot it ?

5 Answers   Oracle,


How to load the old kernel without rebooting server

1 Answers  


Why is it suggested to disable journalism in ext4 filesystem?

0 Answers   IBM, TCS,


How do display error messages instantly when command fails?

4 Answers  


I have accidently deleted my fstab... how do i recover/ regenerate the file?????? in rescue mode i cannot create a new file since the filesystem is readonly and could not mount in readwrite mode ?????????

6 Answers   IBM,


What is the minimum number of partitions you need to install Linux?

30 Answers  


Who owns the data dictionary?

2 Answers  


What is the difference between ext3 and ext4?

0 Answers   IBM,


Categories