CSchantz Wiki

Bashrc stuff

Bashrc

Bashrc will add global variables when users login

Bashrc location:

nano /etc/bashrc

Adding a global command to bashrc

nano /etc/bashrc

At the bottom modify and place this entry

alias makeupacommand='location of script or program'

Example:

  1. Save file and exit.
  2. Relogin the user
  3. Test command