Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Identify which initialization file(s) you have Create (or modify) the login file

ID: 3665178 • Letter: I

Question

Identify which initialization file(s) you have

Create (or modify) the login file ~/.bash_login with the following commands:

Command to include CST383 directory in your PATH

Command to set the environment variable HISTSIZE to 20

Command to create an environment variable ISON that contains the list (usernames) of people who were logged in at the time you logged in.

Command to display the message “Welcome ” <your username>

Command to display the message “Today is ” <date>

Add the following segment code so that the shell can run your environment file

if [ -f $HOME/.bashrc ]

   then source $HOME/.bashrc

   fi

Now create the environment file ~/.bashrc with the following commands:

Command to set the noclobber option to protect from accidentally deleting a file

Command to set the ignoreeof option to force the use of exit or logout to log off

Command to abbreviate the command alias as a

Command to make permanent the aliases h and re defined in activity 26

Command to define the alias dir as ls –F

Explanation / Answer

Content of .bash_login

export HISTSIZE=20
PATH=$PATH:/CST383/
export PATH
echo WHO : '/usr/bin/who'
echo "Welcome $(whoami)"
echo "Today is $(date)"

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote