Drop localhost
							parent
							
								
									3280f9f89b
								
							
						
					
					
						commit
						77065ebe39
					
				| 
						 | 
				
			
			@ -1,2 +1,5 @@
 | 
			
		|||
#!/usr/bin/env bash
 | 
			
		||||
ip addr show $@ | awk '/inet / {gsub(/\/.*/,"",$2); print $2}'
 | 
			
		||||
 | 
			
		||||
# Get local IP
 | 
			
		||||
 | 
			
		||||
ip addr show $@ | awk '/inet / {gsub(/\/.*/,"",$2); print $2}' | tail -n 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue