Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi, can you please help me with question #2. Thanks! Ex. 1 - Customizing your login shell (9 Points) For this question you will need

Hi, can you please help me with question #2. Thanks!
image text in transcribed
Ex. 1 - Customizing your login shell (9 Points) For this question you will need to: Determine which login script your shell uses when you ssh or putty. Modify your login script as specified below. Comment the login script with your changes. Upload the login script as part of your assignment submission. Modify your login script in all the following ways: 1.(1 Point) Display Welcome to ! Here you should replace with the name of the host to which you login (explore the hostname command and see how you can incorporate it's output into this message). 2.2 Points) List the total number of sessions in which you are logged into that particular host (Explore a combination of who, grep and wc commands to accomplish this task). The message should be You have login sessions to this host. Replace with actual number of sessions that you have logged into that system

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

Formal SQL Tuning For Oracle Databases Practical Efficiency Efficient Practice

Authors: Leonid Nossov ,Hanno Ernst ,Victor Chupis

1st Edition

3662570564, 978-3662570562

Students also viewed these Databases questions