After you execute the command
myenv, you should be able to use
ldir from the command line to get a list of files under the current directory and
ll to get a list of files with attributes displayed. However, the best way to use the new commands in
myenv is to put them into your shell’s login or profile file. For Ubuntu, and nearly all Linux users, the default shell is
bash, so you can make these commands available for everyone on your system by putting them in the
/etc/bashrc file. System-wide aliases for
tcsh are contained in files with the extension .
csh under the
/etc/profile.d directory. The
pdksh shell can use these command aliases, as well.
To use a shell other than
bash after logging in, ...