First page Back Continue Last page Overview Graphics

Hello, World

  • Note blank line after shebang.

  • Give permission mode +x, such as 755, to be run from command line (man chmod for explanation of modes)

  • Recommend personal scripts be stored in ~/bin, system-wide in /usr/local/bin

  • Edit PATH setting in ~/.bashrc if needed

  • Shell scripts cannot be setuid in Linux. Use sudo.


    Notes: