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
sertanlavr [38]
3 years ago
7

Which of the following is not a command for determining if MySQL is running on Linux (Ubuntu)?

Computers and Technology
1 answer:
laila [671]3 years ago
6 0

Answer:

(c) sudo check status mysql

Explanation:

The commands service<em>, </em>ps<em> </em>and<em> </em>systemctl<em>, </em>are different ways to find out <em>if MySQL is running on Linux (Ubuntu), </em>but there is not such a command called <em>check</em> to do so in Linux.

Different programs in Linux operating system are organized in <em>processes</em>, and they are all created for a specific purpose: running an application, starting a web browser, and so on.

Some other programs like the <em>init program</em> start and stop essential service processes and there are currently two major implementations in Linux distributions:

  • <em>System V init</em> (traditional implementation)
  • <em>systemd</em> (emerging standard for <em>init</em>).

The commands service and systemctl are related to <em>System V init</em> and <em>systemd</em>, respectively, and can list the status of a program.

Thus, the command service can list if MySQL is running on Linux using the piece of code in the question: <em>sudo service mysql status</em>.

Likewise, the command systemctl can activate and deactivate services, and, among many other functionalities, list the status of a program (like the one in the question: <em>systemctl status mysql</em>).

The command ps (process status) "displays information about a selection of the active processes" [<em>ps</em> man page]. The command has many options, and some are -e (select all processes) and -f (full-format listing). In this case, the command output is <em>piped </em>to grep (global regular expression print) command to find those processes mainly related to 'mysql'.

It is important to remember that command <em>sudo</em> (superuser do) permits a user to "execute a command as the superuser or another user" [<em>sudo</em> man page], since commands <em>service</em> and <em>systemctl</em> require privileges to be run, for security reasons.

You might be interested in
Under the Home tab, where can a user find options to change the bullet style of an outline?
fomenos
Created a new multilevel list style to add to the gallery
5 0
3 years ago
What is it called when a programmer includes a step in an algorithm that lets
Oksanka [162]

Selection is the step in algorithm that let's the computer decide which group of steps to perform.

<h3>What is Algorithm?</h3>

This can be defined as set of instructions which are used for solving a problem or accomplishing a task.

Selection happens when there are one or more options are available in which the computer decide which group of steps to perform.

Read more about Algorithm here brainly.com/question/11302120

3 0
1 year ago
1. Create a function called count_to_three() , remember the colon.
Len [333]

Answer:

This program is written using Python programming language

The program doesn't make use of comments

See attachment for proper format of the program

def count_to_three():

print("One")

print("Two")

print("Three")

count_to_three()

Explanation:

The first line of the program defines the function count_to_three() with no parameters, passed to it

Line 2 to 4 of the program is indent and each line make use of print() function

Line 2 prints "One", Line 3 prints "Two" and Line 4 prints "Three" without quotes

The last line of the program calls the defined function

4 0
3 years ago
Match the following technologies with their applications.
kap26 [50]

Answer:

3d printing

Explanation:

7 0
3 years ago
ASAP!!!! HELP, DON'T GUESS!!! Which options can be adjusted in the Print settings? (1) the font formatting, the sizes of images,
andrew-mc [135]

4. Everything else has to be adjusted before you enter print settings.

8 0
3 years ago
Read 2 more answers
Other questions:
  • One way to describe the note-taking tool eNotes is to call it an<br> Someone help ._.
    9·2 answers
  • An element in an array is 4 bytes long and there are 10 elements in the array. How big is the array?
    6·2 answers
  • If the speakers are not working on a laptop, what could be the problem besides the speakers?
    5·1 answer
  • All of the following changes have created an urgent need for centralization except: Select one: a. The Internet boom inspired bu
    7·1 answer
  • Which shape is used for input or output?
    15·1 answer
  • What feature should be used before a document is printed
    8·1 answer
  • What are your considerations in making a derivative ict content ti effectively communicate or present data or information?
    11·1 answer
  • Which phrase is the best definition of sparklines in Excel 2016?
    8·2 answers
  • The web lab consists of which elements. Select all that apply. Group of answer choices Files Inspector Tool Preview Hints Work S
    9·1 answer
  • What relationship do MP3s and MP3 players have with video files?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!