Programming on server

  1. Master [[ vi ]]

  2. Open files in readonly mode with view {filename}

  3. Run long running commands in nohup with a custom script to send an email at the end with success/failure or the logs. If the log is anticipated to be big upload the log file to s3 and send the link.


#!/bin/bash

run-some-long-command.ksh > vxc69.log

tail vxc69.log | mail schneidz@hyper -s "run-some-long-command.ksh finished"


📌 Tagged As