#!/bin/bash # Check if port is used sudo lsof -i:$1