Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a bash script that will run commands based on the requirements below. Before each section, display the category number. Information about your current login.

Create a bash script that will run commands based on the requirements below. Before each section, display the category number.

  1. Information about your current login.
    • username
    • user ID
    • group ID
    • Name of each group your user is part of
  2. Display information about the current system.
    • The current operating system
    • Hostname
    • Kernel name, release, and version
  3. Use the date to do the following:
    • The date September 5, 2019 in MM/DD/YYYY format
    • Current weekday name, month day, year (For Example: Sunday, January 10, 2020)
    • The current date and time in RFC 3339 format

Submission:

Place your script in a directory named hw1_FirstLast. For Example: hw1_PatrickEarl. The name of the script doesnt matter, but put .bash as the file extension. main.bash would be fine.

Submit using my submit.bash script. Make sure your current directory is the one created earlier with just the script. Run this command, ~earl/bin/submit.bash csc252, to submit your script.

Please help me the prof. said not to use the $. How do I create this? Thanks

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

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 2012 Proceedings Part 2 Lnai 7197

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284892, 978-3642284892

More Books

Students also viewed these Databases questions