Echo Snippet

Kick 'n'Dirty



CSS 8 DNS 1 SQL 1 ajax 1 apache 3 bash 11 convert 3 crontab 2 css 1 error 1 fail2ban 2 gogs 1 grav 1 htaccess 3 html 13 ip 8 iptables 2 js 6 mail 2 nano 2 netatmo 1 php 42 php4 1 php5 2 php7 1 plex 1 powershell 1 regex 1 rss 3 secu 1 shell 25 ssl 2 stylus 3 tls 1 windows 1 youtube 2

.

[SHELL] Show ip debîan

[SHELL] Show ip debîan

#!/bin/sh
#
# Show ip debîan (9/10)   for  2 interfaces (eth0, eth1)


# ipv4
hostname --ip-address | awk '{ print $2 }'

#  ipv6
hostname --ip-address | awk '{ print $1 }' 


# OR
ip=`hostname --ip-address`
echo $ip


bash ip shell

echosystem.fr

<iframe width="100%" height="488" src="https://snippet.echosystem.fr?embed=5980ef59459ab" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 09/11/2021

Flux RSS de cette page


Echo Snippet 1.84 par Bronco - Page générée en 0.003 s