Article 5FRKQ bash script question

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.latest?d=yIl2AUoC8zA latest?i=n_XKUelXNVE:bb0bOKMlhA8:F7zBnMy latest?i=n_XKUelXNVE:bb0bOKMlhA8:V_sGLiP latest?d=qj6IDK7rITs latest?i=n_XKUelXNVE:bb0bOKMlhA8:gIN9vFwn_XKUelXNVE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments