Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Default gateway -linux

sk@sk:~$ ip route show
default via 192.168.1.1 dev eth1  proto static 
192.168.1.0/24 dev eth1  proto kernel  scope link  src 192.168.1.100  metric 1
Comment

see default gateway linux

ip route
# first line is your default gateway, next lines are your other routes
Comment

linux change default gateway

ip route add default gw {IP-ADDRESS} {INTERFACE-NAME}
Comment

PREVIOUS NEXT
Code Example
Shell :: ERROR: database "backend" is being accessed by other users DETAIL: There are 3 other sessions using the database. 
Shell :: linux kustomize install 
Shell :: ubuntu find running cron jobs 
Shell :: speedtest linux cli 
Shell :: vim frozen 
Shell :: how to install ddos on ubuntu 
Shell :: generate 6 digit random number ruby 
Shell :: golang hot reload 
Shell :: set root password kali 
Shell :: ubuntu kill port 
Shell :: ubuntu see ram usage 
Shell :: kill tensorboard process 
Shell :: amazon linux install ssm agent 
Shell :: how to debug wirless android 
Shell :: instal kubectl ubutu 
Shell :: adobe connect in ubuntu 
Shell :: The terminal process failed to launch: Path to shell executable "/bin/zsh" does not exist. 
Shell :: start chrome linux 
Shell :: linux remove all files same extension in directory 
Shell :: how to abort a rebase 
Shell :: choco upgrade 
Shell :: npm install from github branch 
Shell :: tailwind nodejs 
Shell :: mac check command line tools version 
Shell :: cannot find module json-loader 
Shell :: undo git add before commit 
Shell :: docker make container auto start 
Shell :: reverse string in shell script 
Shell :: get all branches from remote 
Shell :: how to install desktop application in flutter 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =