Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Homework Assignment # 3 Complete and Post exercises from Lecture 1 4 : Please complete exercises we started in class on Thursday 5 / 4
Homework Assignment #
Complete and Post exercises from Lecture :
Please complete exercises we started in class on Thursday
We are using JSLinux for theses exercises.
Make sure you have created or updated your profile" in your home directory.
Add:
# Add my directories to search from programs
export PATH$PATH:$HOMEbin:$HOMEscripts
export HOSTNAMEETLinux
# Source the bashrc file if it exists to set up aliases and functions and other variables
if f ~bashrc ; then
~bashrc
fi
NOTE: I have added command to set HOSTNAME to profile as well
If you have not logged out and back in after modifying profile
either logout and log back in
or
set path with command: export PATH$PATH:$HOMEbin:$HOMEscripts; export HOSTNAMEETLinux
Put copies of all requested information in text or word document. NO screenshots.
Create Scripts directory
mkdir $HOMEscripts
In submitted homework:
cat $HOMEprofile
ll d $HOMEscripts
Please show each exerciseexample listed below.
Show script file and follow by its execution.
Remember you must chomd script to allow execution as a command.
Create sysinfopage script for example
#binbash
# sysinfopage A script to produce an HTML file
echo
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started