kill laravel server code example Example: kill laravel server sudo kill $(sudo lsof -t -i:port_number)