Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

get remote IP of wsl ubuntu

# reference: https://stackoverflow.com/questions/56824788/how-to-connect-to-windows-postgres-database-from-wsl
grep nameserver /etc/resolv.conf | awk '{print $2}'

# from cmd
wsl hostname -I
Comment

PREVIOUS NEXT
Code Example
Shell :: make fish as default shell 
Shell :: how to check services running on port 8080 in linux 
Shell :: ammend last commit 
Shell :: you must sign up for private packages 
Shell :: kill a process on a port ubuntu 
Shell :: bash get date format 
Shell :: open firewall port ubuntu 16.04 
Shell :: .run files in ubuntu 
Shell :: ssh use other key file 
Shell :: install certbot ubuntu 20.04 nginx 
Shell :: git stash history 
Shell :: sed remove empty lines 
Shell :: how to install git lfs on mac 
Shell :: remotelog muirey03 github 
Shell :: ubuntu install tree 
Shell :: docker ls in dockerfile 
Shell :: upgrade shell tty 
Shell :: configure your git username/email 
Shell :: unable to install deno in ubuntu 
Shell :: check open port linux 
Shell :: vim hangs 
Shell :: live server nvim 
Shell :: install netflix on ubuntu 
Shell :: laravel add to path ubuntu 
Shell :: activate git case sensitive windows 
Shell :: How do I show the changes which have been staged 
Shell :: add dns in ubuntu permanently 
Shell :: mui textfield disable autocomplete 
Shell :: kali linux virtualbox password 
Shell :: ffmpeg increase volume 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =