Dates: 3/5/2014 |
|
|
Complete the exercises below on run01 VM In a user home directory on Ubuntu 12.04, there should be scripts .profile and .bashrc. Create a new user account, for example jerry:
Create files .bash_login and .bash_profile with the only entries echo BASH_LOGIN and echo BASH_PROFILE, accordingly. Logout and login as user jerry and notice BASH_PROFILE in the login prompt. Start a new shell,
Remove file .bash_profile, logout and login as user jerry again. Notice BASH_LOGIN in the new login prompt. Remove file .bash_login, logout and login as user jerry again. Notice PROFILE in the login prompt. |