mirror of
				https://github.com/ItsDrike/dotfiles.git
				synced 2025-11-04 01:16:35 +00:00 
			
		
		
		
	Update ip-show alias
This commit is contained in:
		
							parent
							
								
									b0848fb41a
								
							
						
					
					
						commit
						8a094ddd03
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -109,7 +109,6 @@ alias grep_mac='grep -E `reg_mac`'
 | 
			
		|||
alias massgrep='grep -RHIni'
 | 
			
		||||
 | 
			
		||||
# Network
 | 
			
		||||
alias ip-show='curl https://ipinfo.io/ip' # Show public IP address
 | 
			
		||||
alias ip-info='curl https://ipinfo.io/json' # Show public IP info (IP,region,country,timezone,...)
 | 
			
		||||
alias ips="ifconfig -a | grep -oE \"inet6? (addr:)?s?\`reg_ip\`\" | awk '{ sub(/inet6? (addr:)? ?/, \"\"); print }'"
 | 
			
		||||
alias lan-device-scan='nmap -T5 -sP 192.168.0.0-255'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue