ubuntu set env permanent

sudo vi ~/.profile Add the command to the bottom of the file export PATH=”/home/name/telo/bin:$PATH”  

download java 6

https://www.oracle.com/technetwork/java/javase/java-archive-downloads-javase6-419409.html

netcat mac

nc -l 8888 testing : echo “ballack testing” | nc 127.0.0.1 8888

Category: mac

tunnel

ssh -L 3318:localhost:3306 user@someipaddress ssh -L 2222:ipVpnEpt:22 user@ipnosrtobackup ssh -L *:3318:localhost:3306 -L *:7070:localhost:8080 user@someipaddress

path java mac

/usr/libexec/java_home /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin

Category: mac

set env mac

Bash : printenv echo $PATH temporary : export PATH=/coba/bin:$PATH permanen : vi ~/.bash_profile export PATH=/coba/bin:$PATH   Zsh : vi ~/.zshenv export PATH=/coba/bin:$PATH  

Category: mac