#!/usr/bin/fish # Update the system and print logs in jovian home ## Should be executed as super admin function printStep echo '- - - - -' echo "Step $argv" echo '- - - - -' end printStep 'Start' date printStep '1 : update' apt update printStep '2 : upgrade' apt upgrade -y printStep 'End' date echo 'Script has ended'