Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

View network transfer RX / TX (Linux)

# IP address
hostname -I | awk '{print $1}'
ip route get 1 | awk '{print $NF;exit}'
ifconfig | grep -m1 'inet' | awk '{print $2}'

# Public IP
curl ifconfig.me

# View RX & TX
ip -s -h a show eth0 | grep -A3 RX
Comment

PREVIOUS NEXT
Code Example
Shell :: linux remove root access 
Shell :: docker created network and attach a docker container 
Shell :: ruby install 
Shell :: delete elem soup 
Shell :: Install Ubuntu WSL without Windows Store 
Shell :: split and get last 
Shell :: install cuda driver in ubuntu 
Shell :: check .conf file error apache 
Shell :: to clear npx cache 
Shell :: how to disable a wifi card raspberry pi 
Shell :: homebrew for windows 
Shell :: primary git commands 
Shell :: extract tar.gz in linux 
Shell :: ngrok with docker-compose 
Shell :: sudo apt-get ignore warning 
Shell :: install bootstrap via npm 
Shell :: function in shell script 
Shell :: setup git project 
Shell :: INSTALL VMwareTools on terminal ap=get 
Shell :: add date to git reflog 
Shell :: uptime linux 
Shell :: ubuntu start black screen 
Shell :: how to unzip tar.gz file 
Shell :: react hook install 
Shell :: wsl 
Shell :: yum downgrade php 
Shell :: powershell do while loop 
Shell :: git get latest 
Shell :: git current branch 
Shell :: remove folder with content cmd 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =