Answered step by step
Verified Expert Solution
Link Copied!

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 # 3
Complete and Post exercises from Lecture 14:
Please complete exercises we started in class on Thursday 5/4.
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:$HOME/bin:$HOME/scripts
export HOSTNAME=ET506Linux
# 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:$HOME/bin:$HOME/scripts; export HOSTNAME=ET506Linux
Put copies of all requested information in text or word document. NO screenshots.
Create Scripts directory
mkdir $HOME/scripts
In submitted homework:
cat $HOME/.profile
ll -d $HOME/scripts
Please show each exercise/example listed below.
Show script file and follow by its execution.
Remember you must chomd script to allow execution as a command.
Create sysinfo_page_1 script for example 1
#!/bin/bash
# sysinfo_page_1- A script to produce an HTML file
echo "

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Organizing Your Speech Points

Answered: 1 week ago