Added arpresolve for resolving an IP Address to a mac address via arping
This commit is contained in:
		
							parent
							
								
									28061e1e7c
								
							
						
					
					
						commit
						1a2a0e83f9
					
				
							
								
								
									
										3
									
								
								.bashrc.d/arpresolve.bash
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.bashrc.d/arpresolve.bash
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					arpresolve() {
 | 
				
			||||||
 | 
						sudo arping -f "$1" | sed -e '/.*\[\(.*\)\].*/!d' -e 's/.*\[\(.*\)\].*/\1/'
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user