Tag: install different version of java

11 April 2023

If condition and function with parameters in Bash

You can write own functions in terminal. I show you an example in zshrc in MacOs. You can use if you you use bashrc or zshrc in any os. Function sample: Now if you write `myFunction umut` in terminal it’s print “umut”. If you want to one more parameter you can space and write new parameter and you can show that with $2 If condition […]