1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Dvinal [7]
3 years ago
13

Write a shell script called SpellOutDate that prints the detail of the current date in separate lines. For example if the curren

t date on the system is Thu Jan 30 10:57:20 CST 2020 Then when you run your script as: $ SpellOutDate Then the output should be: Time: 10:57:20 Today is: Thursday Day of the month: 30 Month: January Year: 2020
Computers and Technology
1 answer:
AlladinOne [14]3 years ago
6 0

Answer:

Hi there! We can use the "date" function and formats available to us along with the "echo"command to print the date in the format required in the question. Please see below for the details.  

Explanation:

SpellOutDate.sh

#!/bin/bash

echo "Time: $(date +'%T')"

echo "Today is: $(date +'%A')"

echo "Day of Month: $(date +'%u')"

echo "Month: $(date +'%B')"

echo "Year: $(date +'%G')"

running from the command line, the code will produce the results as:

./SpellOutDate.sh

Time: 11:12:53

Today is: Monday

Day of Month: 1

Month: March

Year: 2020

You might be interested in
Which file extension does GIMP save a file in (before saving it in a file format that can be used by other programs)?
andreev551 [17]
Portable document format
8 0
3 years ago
The trackpad/touchpad on my laptop is acting unusual. When I click on something or move to an area, it jumps or moves to another
dimulka [17.4K]

Answer:

My best answer would be, "b. Remove all possible contact points, and test again while ensuring only a single contact point"

This is because usually when the cursor jumps around without reason, it's caused by the user accidentally hitting the mouse touchpad on his or her laptop while typing. ... Similarly, know that just because you have an external mouse attached to your laptop, the built-in mousepad is not automatically disabled.

Brainliest?

4 0
2 years ago
Select the correct answer.
Galina-37 [17]
Close call between researcher and project manager, but I say project manager
8 0
3 years ago
Read 2 more answers
To Get Text to Move
Kamila [148]
Today is your lucky day.. i do JavaScript, and i love coding! Happy to help. (I make games n things on Khan academy)

// make variable for x.
var startX = 0;

// start loop
draw = function() {

// if you needed to stop the text from smudging, you can add this: background(255, 255, 255);

// choose text size
textSize(30);

// make the Color red
fill(255, 0, 0);

// draw text at startX pos for X.
text(“wheee moving text!”, startX, 200);

// make text move
startX = startX + 1;

// end the loop
};

Hope this helped! I really love JavaScript, coding, and helping others so just let me know if you need help!

If you want to contact me directly, you can find me on Khan academy:

(Link im comments)

To send me a message, just click on one of my projects and leave a comment >> just remind me who you are. Happy to help!
5 0
2 years ago
Read 2 more answers
What is the difference between packaged and tailored software ​
Charra [1.4K]

Answer:

Hope it helps you .............

5 0
2 years ago
Other questions:
  • Describe the three functions of all programming languages and list at least two specific examples of each. The examples can be f
    15·2 answers
  • The Internet of Things (IoT) is a concept with emphasis on machine-to-machine communications to describe a more complex system t
    10·1 answer
  • In this part, you have to implement a linked list that maintains a list of integers in sorted order. Thus, if the list contains
    13·1 answer
  • Write a Java program that prompts the user to enter integer values for the sides of a triangle and then displays the values and
    7·1 answer
  • When light does not pass through or bounce off an object, it is said to be
    13·2 answers
  • For the sake of maximizing hardware utilization in a multicore system with a many to many threading model, the relationship of t
    12·1 answer
  • What is abbreviation of the computer​
    15·2 answers
  • 1a. Ust Seven (7) Components of a Computer?
    13·1 answer
  • Channel logging tokens can be set to all but:________. a. Relaxed b. Strict c. Both versions d. None
    10·1 answer
  • I have no idea which one please help!
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!