bash script question
by lleb from LinuxQuestions.org on (#5FRKQ)
Code:#!/bin/bash
/usr/bin/alias d='ls -laFG'
/usr/bin/alias Rs='rsync -aviS --progress'
/usr/bin/cd /mnt/Exports/downloadsSo my goal is to be able to run the above script and have the commands issue. None seem to run. Sadly this is NOT on a Linux system, but on FreeNAS. This means I cannot make the alias's permanent as each time you log in/out of an ssh season, all commands are lost for security reasons.
Thanks in advance for my crazy little head forgetting howto issue commands via a script.


/usr/bin/alias d='ls -laFG'
/usr/bin/alias Rs='rsync -aviS --progress'
/usr/bin/cd /mnt/Exports/downloadsSo my goal is to be able to run the above script and have the commands issue. None seem to run. Sadly this is NOT on a Linux system, but on FreeNAS. This means I cannot make the alias's permanent as each time you log in/out of an ssh season, all commands are lost for security reasons.
Thanks in advance for my crazy little head forgetting howto issue commands via a script.