Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

View total data received and sent (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 :: kubernetes while true sleep 
Shell :: VCINSTALLDIR not set, not running in VS Command Prompt 
Shell :: case insensitive zgrep 
Shell :: bash copy file 
Shell :: git reset add 
Shell :: git update gitignore remove files 
Shell :: how to install cuda on ubuntu 
Shell :: sudo apt-get install libboost-all-dev 
Shell :: git search all commits for string 
Shell :: install angular ubuntu 
Shell :: home brew for windows 10 
Shell :: repository commands 
Shell :: install vim plug neovim 
Shell :: git change master branch 
Shell :: how to update to latest version of chrome in ubuntu 17.04 
Shell :: pip install requireents 
Shell :: install tar files on linux 
Shell :: git add all files command 
Shell :: portainer install 
Shell :: update metasploit 
Shell :: replace delimiter for new line 
Shell :: github add image to readme 
Shell :: git log show only merge commits 
Shell :: install solana anchor 
Shell :: WslRegisterDistribution failed with error: 0x8000000d 
Shell :: push existing repo 
Shell :: git ignore for dart 
Shell :: LINUX TEST FOLDER EXITS 
Shell :: get first line of output bash 
Shell :: create new repo 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =