#!/bin/bash if [[ "$@" == "" ]]; then exit fi sudo -u lucas -i -- "$@" >> /home/lucas/lucas_cmd_log.txt