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