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

what is the difference between fork and thread ? and parent and child process in fork system call?

3 Answers   Satyam,


How to apply patch for multiple servers .

1 Answers   IBM,


why you are using nis server

2 Answers  


Through ssh whole directory structure from / is shared regardless the user we have connected with ....... how do i prevent sharing ??

4 Answers   Tech Mahindra,


tell me some of the Linux HotKeys do you know?

3 Answers  






How do display error messages instantly when command fails?

4 Answers  


How To Hide the FTP Version?

3 Answers   Wipro,


what is meant by mysql clustering

2 Answers  


How to sort a file of size 2N bytes, if I have N bytes of memory?

2 Answers   Yahoo,


How can i recover the linux system after it was crashed by step by step process..

3 Answers   IBM,


what are the steps for Password-less ssh

5 Answers   IBM, Mind Tree,


What are main anti-spam features available in sendmail?

1 Answers   CSC,


Categories