Pointswhat is the shell command (and option) to turn off a linux computer immediately?

Answers

Answer 1
Depending on the OS:

init 0

shutdown -p now  # may be mapped to systemctl

systemctl poweroff
Answer 2

Answer:

Hello, how are you, you may not answer since this question was posted in 2017...

Explanation:


Related Questions

Write a copy assignment operator for carcounter that assigns objtocopy.carcount to the new objects's carcount, then returns *this. sample output for the given program:cars counted: 12

Answers

Answer: int main() { CarCounter frontParkingLot; CarCounter backParkingLot; frontParkingLot.SetCarCount(12); backParkingLot = frontParkingLot; cout << "Cars counted: " << backParkingLot.GetCarCount(); return 0; }

While in slide show mode, if you are not careful you can close the application by clicking the x on the menu bar

True or false

Answers

this is def false because it will ask you if you would like to save it first!

Answer:

False!

Explanation:

You have a unique id number, which is represented by the variable id, containing a string of numbers. write a program that continuously takes strings to standard input. if the string is not your id number, print "this is not your id number." if it is, print "this is your id number: " followed by the number, and terminate the loop.

Answers

idNumber = "123456"
idNo = input("Enter the unique ID number: ")
while idNumber != idNo:
print("This is not your ID number.")
idNo = input("Enter the unique ID number: ")
print("This is your ID number: ", idNo)

Output:

sh-4.3$ python3 main.py                                                                                                                                                                                                                                                

Enter the unique ID number: 2345                                                                                                                                                                                                                                       

This is not your ID number.                                                                                                                                                                                                                                            

Enter the unique ID number: 4563                                                                                                                                                                                                                                       

This is not your ID number.                                                                                                                                                                                                                                            

Enter the unique ID number: 12345                                                                                                                                                                                                                                      

This is not your ID number.                                                                                                                                                                                                                                            

Enter the unique ID number: 123456                                                                                                                                                                                                                                     

This is your ID number:  123456

To print a unique ID number which is represented by a variable and it contains string of numbers . For this, first declare the unique ID then create a variable that take inputs from the keyboard. After this, create a loop that will match with your unique number (ID). Lastly, display a message if ID is matched then print ‘This is your ID number’ and if it is not matched then print ‘This is not your ID number’.

Further Explanation:

Code:

The complete code in python language for the given problem is shown below:

# Your unique ID number

id = "12345"

# Enter the ID  number

number = input ("Enter an ID: ")

# Loop to match the ID number with input

while id !=number:

# Print the message

print ("This is not your ID number")

number = input ("Enter an ID: ")

print("This is your ID number:", number)

Output:

Run the commands in python, the output will be looking as below:

Enter the unique ID number: 24345

This is not your ID number

Enter the unique ID number: 1345                                                    

This is not your ID number

Enter the unique ID number: 12345  

This is your ID number

Enter the unique ID number: 35645                                                

This is not your ID number

Learn more:

1. A company that allows you to license software monthly to use online is an example of ? brainly.com/question/10410011  

2. Prediction accuracy of a neural network depends on _______________ and ______________. brainly.com/question/10599832  

Answer details:

Grade: College Engineering

Subject: Computer Science and Engineering

Chapter: Python Programming

Keyword:

Python, input, output, programming, statements, if-else, loops, print, scan. while, body, main body, char, int, variables, unique, ID number, match

Tim is trying to explain to his aunt how her computer works, but she does not understand what a CPU does. Which description will most likely help Tim’s aunt understand the CPU’s role?
-The CPU guides the function of the hardware.
-The CPU stores data for the transfer of information.
-The CPU processes commands from software.
-The CPU translates operating system data

Answers

The CPU processes commands from software

Answer: The CPU processes commands from software.

Explanation:  CPU(Central processing unit) is the main unit for processing the commands that are obtained from program of computer. It contains the processing and control unit for performing tasks like arithmetic operations , I/O operations etc.

Thus, Tim should explain about CPU by stating it as the main processor for carrying out commands that are gained from software programs.

Other options are not appropriate as functioning of hardware is done by user as well through external commands, translation of data and data storage is done by other processing unit such as memory(e.g.-RAM).

What feature could you use to automatically shade cells containing a negative value in red? A. Fill Color B. Orientation C. Conditional Formatting D. Sort & Filter

Answers

You could  use Conditional Formatting to automatically shade cells containing a negative value in red. Correct answer: C

This tool in excel is used for additional formatting options and colors, for exploring and analyzing data, detecting critical issues, and identifying patterns and trends.

In cell h5 enter a formula that will calculate the percentage of attendees tjat went ro altmonte speings job gair in 2018

Answers

Let the number of attendees who went to the job fain in 2018 be x.
Let the total number of attendees be y.

To find the percentage of attendees in 2018, we will divide the number of attendees in 2018 by the total number of attendees and then multiply the quotient by 100 to get the percentage.

Based on this, the formula would be as follows:
(x/y) * 100

If a thread is not finished running, perhaps because it had to wait or it was preempted, it is typically restarted on the same processor that previously ran it. what is this known as? cooperative multitasking multitasking processor affinity preemptive multitasking

Answers

If a thread is not finished running, perhaps because it had to wait or it was preempted, it is typically restarted on the same processor that previously ran it.  This is this known as processor affinity. 

Final answer:

Processor affinity refers to the policy of restarting a thread on the same processor it previously ran on. This is different from cooperative multitasking and preemptive multitasking, which are methods for managing multiple tasks.

Explanation:

When a thread is restarted on the same processor that it ran on previously, this concept is known as processor affinity. Processor affinity, also sometimes called core affinity or CPU pinning, is a scheduling policy where a process or a thread is bound to a specific central processing unit (CPU) or a range of CPUs. This can optimize the performance of a process by maintaining data within the CPU cache, reducing performance penalties due to cache reloading.

It is important to distinguish processor affinity from other types of multitasking. Cooperative multitasking is a method where processes voluntarily yield control periodically or when idle to enable multiple applications to be run simultaneously. On the other hand, preemptive multitasking allows the operating system to control the execution of tasks, deciding which task should be executed next and preempting tasks to ensure fair usage of CPU time.

What is most commonly used for the goal of nonrepudiation in cryptography?

a. pki

b. block cipher

c. secret key

d. digital signature?

Answers

i not sure but i think the is b. block cipher

A coaxial cable consists of alternating coaxial cylinders of conducting and insulating material. coaxial cabling is the primary type of cabling used by the cable television industry and is also widely used for computer networks such as ethernet, on a

Answers

The complete definition from where the question left it will be:

…On account of its better capability to convey huge quantity of electrical signal with least distortion. Like every other form of cables, however, coaxial cables also have some self-inductance that has unwanted effects, for example generating some distortion and heating etc.

HELP! Answer to question 2?

Answers

One advantage of Binary Search Algorithm
Compared to Linear search it is much faster because linear search starts its searching right from the first value but binary searches for something by splitting the array in two again and again and again. 

One disadvantage of Binary Search Algorithm:
Have to be sorted, unlike linear search that doesn't have to be. 

Using Powerpoint or Impress guarantees that your presentation will do the following

A) Stay on schedule and end on time

B) Be clear and understood

C) Keep your audience engaged and excited

D) None of these

Answers

The key word in this question is "guarantees". I can speak from experience that using a PowerPoint does not guarantee that the audience will understand everything included or end on schedule. Anyone who has sat through a PowerPoint-driven lecture can tell you that being engaged and excited depends a lot more on content and delivery than the fact that a PowerPoint was used.

While a PowerPoint may help the presentation stay on schedule, be clear and understood, and keep the audience engaged, the mere fact that a PowerPoint was used guarantees none of these. 
Answer is D

Answer:

D) None of these

Explanation:

Remember that this is a question where you have to think in your experiences, powerpoint can help you make more dynamic a presentation or have a more engaging presentation, but you that doesn´t actually help you or guarantees that your presentation will be engaging and be clear, that all depends solely on you or the presentator that is doing the presentation.

What every software engineer should know about software architecture?

Answers

Every software engineer should be aware of not only what a system does but the quality of work that it delivers and if it fits the situations and the expectations. It concerns itself with designing the solutions that address quality attributes or what is nonfunctional requirements.

Answer:

OOP

Explanation:

Which is the correct formula to add the values in cells A1 and B1? A. SUM(A1+B1) B. =SUM(A1+B1) C. =SUMA1+B1 D. A1+B1

Answers

The answer to this question

is B

Out of the choices provided above, it can be concluded to state that the correct formula in Excel for adding the values in cells A1 and B1 is ''=SUM(A1+B1)''. Therefore, the option B holds true.

What is the significance of Excel formulae?

Excel formulae can be referred to or considered as the ones which can be entered into cells on the Excel-Sheets in order to perform different functions and commands. These formulae contain mathematical capacities, and are able to do complex calculations with ease.

Summation is a simple function in Excel, which can be performed using the SUM function. In order to perform this function, the user has to enter the =SUM(A1+B1) in the cell where he wants to derive the value of the summation of the both the cells A1 and B1.

Therefore, the option B holds true and states regarding the significance of Excel formulae.

Learn more about Excel formula here:

https://brainly.com/question/20497277

#SPJ6

Most licensing agencies offer an orientation meeting for applicants who want to obtain licensing for a child care facility or a family day care home. This meeting is designed to help the applicant to A. determine where to open his or her program. B. understand the fundamentals of the ages and states of child development. C. understand all the regulations and requirements for operating the facility. D. locate financial backers for his or her program.

Answers

The correct option is C.
Licensing agencies organised orientation meetings for those newly seeking day care facility license in order to educate  and familiarize them with the requirements that must be met and the laws and regulations that govern operating a day care facility. This orientation meeting usually equipped the participants with the information they need to succeed in the business.
C. Understand all the regulations and requirements for operating the facility.

What is the function of a programming language?
A) It makes it possible for users to easily customize game play to suit their interests
B) It tells computers what to do and allows communication through the Internet
C) It allows programmers from different countries to communicate on the job
D) It creates a standardized way for people in all stages of creation to discuss the game

Answers

Answer: its b

programming language

the language used to build the game that tells computers what to display and allows communication through the Internet

Explanation:

Final answer:

A programming language is a tool that allows programmers to give instructions to computers and enables communication through the Internet. It is used to write software programs and control the behavior of computer systems.

Explanation:

A programming language is a tool that allows programmers to give instructions to computers and enables communication through the Internet. It is used to write software programs and control the behavior of computer systems. For example, programming languages like Python, Java, and C++ are used to create applications, websites, and video games.

When working in an office program, one of the first things that you need to do is create and save a _____.

Answers

...copy. This ensures that the project is, first and foremost, named, and also makes it easier to save later on (all you would need to do is press Ctrl-S).

A(n) ____ backup only archives the files that have been modified since the last backup.

Answers

The answer is incremental backup as this is the one responsible of having to provide a backup with files that are modified since the last backup it has received, it is considered to be a backup in which is a type of security copy.

What type of operating system allows two or more programs or apps to reside in memory at the same time?
a. multiprocessing
b. multiuser
c. preemptive multitasking
d. multitasking?

Answers

What type of operating system allows two or more programs or apps to reside in memory at the same time? Multitasking D: is the correct Answer

"write a program that reads two floating point numbers and prints their sum difference and product."

Answers

int main() { float a; float b; float sum; float difference; float product; printf("enter 2 numbers"); scanf("%f%f",&a,&b); sum= a + b; difference = a - b product =a*b; printf("\nsum: %f" , sum); printf("\ndifference: %f, difference); printf("\nproduct : %f, product ); }

You should code width and height dimensions for images because:

Answers

Images are 2 dimensional and need a width and a height to determine the size and resolution of such image

PowerPoint presentations make use of pages known as 

Answers

it is well known as slides

the correct answer is slides

A(n) _______________ loop usually occurs when the programmer forgets to write code inside the loop that makes the test condition false.

Answers

infinite





,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

Final answer:

An infinite loop occurs when a loop's test condition is never made false due to the omission of changing the iteration variable within the loop's body. Effective loop design incorporates iteration variable changes or a break statement to prevent infinite loops.

Explanation:

A infinite loop usually occurs when the programmer forgets to write code inside the loop that makes the test condition false. In programming, particularly when using while-loops, the loop's body should modify the value of the iteration variable so that the looping condition eventually becomes false, allowing the loop to terminate. Without this modification to the iteration variable, such as in a simple loop where the condition is set to True, the loop will execute endlessly, resulting in what is known as an infinite loop.

For effective loop design, it's important to include a means of modifying the iteration variable within the loop's body or to use a break statement to exit from the loop when a certain condition is met. This ensures that the loop doesn't run indefinitely, avoiding potential program hang-ups or crashes. Infinite loops are sometimes deliberately used for situations where the duration of looping is not predetermined, but they require careful handling to ensure they can be exited appropriately.

Which two jobs have high demand need for practitioners( have a skill shortage)

Answers

Skill shortages exist in a company when there are not enough people with the needed skills to meet the demand of jobs. They are caused by many factors like there are not enough workers to do the work, some do not have the required skills, etc. 

Other than software engineers and developers, the other jobs in the world in need of practitioners are electronics engineers, mechanical engineers and nurses. They are the top 4 most-in demand jobs around the world. 

Udp is the only connectionless transport protocol true

Answers

False = SPX is also connectionless and so are many (older protocols) others.

which of the following instances best incorporates the use of software on your computer

Answers

The instances that best incorporate the use of software on your computer are using Microsoft Word to create a poster. The correct option is C.

Input, processing, storage, output, and communication devices are the five main hardware components of a computer system. These components include the keyboard, mouse, printer, CPU, and so forth.

A computer case, also known as a computer chassis, is the casing that houses the majority of a personal computer's hardware. A device's component. It assists in bringing information to the computer by allowing the user to use keys like a keyboard to enter data and move through the system.

Which of the following instances best incopporates the use of software on your computer?

A. using your scanner to input information into your computer

B. Using your keyboard to type a letter

C. Using Microsoft Word to create a poster

D. Using a monitor to research famous artists

The optimum number of members in a small group is _____.

Answers

Answer: five to seven

Explanation: on odyssey the excerpt is: “Usually, the optimum number of members is between five and seven.”

Write the html to create a fragment identifier at the beginning of a web page designated by "top".

Answers

<p name="top"> This could be at the top of the page</p>

This is link could be at the bottom of the page and when clicked on it will take the user to the top of the page.
<a href="#top"> Go to top</a>

To create a fragment identifier at the beginning of a web page designated as "top," you can use an anchor tag with the id attribute set to "top." Here's the HTML code -

<a id="top"></a>

How to use this code

You can place this code at the desired location within the <body> section of your web page.

This creates an anchor point that can be used as a reference for linking or scrolling to the top of the web page using the fragment identifier "#top".

Learn more about html  at:

https://brainly.com/question/4056554

#SPJ2

________ software is used in a linux environment to mount and write data only to ntfs partitions.​

Answers

Before a user can access a file on a Unix-like machine( or linux), the file system that contains it needs to be mounted with the mount command.mounting NTFS partitions is a bit complicated. This involves installation of addition software such as fuse and ntfs-3g. In both cases you probably need to use package management tool such as yum, apt-get, synaptic etc. and install it from standard distribution repository.

Write a loop that asks the user "do you want to repeat the program or quit? (r/q)" . the loop should repeat until the user has entered an r or q (either uppercase or lowercase).

Answers

Here is the loop:for (int i = 0; i < S.length(); i++) {    if (S.charAt(i) == 'R' || S.charAt(i) == 'r' || S.charAt(i) == 'Q' || S.charAt(i) == 'q') ;    System.out.println(""do you want to repeat the program or quit? (r/q)"");}
If the user enter any of the characters in the if statement the user will be asked by the question.

When using words order of operations subtraction is performed before division true or false

Answers

When using words order of operations subtraction is performed before division = False
PEMDAS still applies also in computer languages with the exception of Excel.
Other Questions
A train leaves chicago and travels east at 60 mph. another train at the same depot leaves at the same time and travels west at 72 mph. how long before the two trains are 330 miles apart? Simplify. 4^3 x 4^4/ 4^9A. 4^16B. 4^2C. 1/4^2D 1/4 Which was a direct result of the Agriculture Revolution?A. Increased warfare due to better weaponryB. Closer extended family networks due to communal livingC. Specialization of labor due to abundance of food supplyD. More opportunities for women since they are not the primary gatherers Luis has 3 pounds of ground turkey to make burgers. He uses 3/8 pound per burger to make 6 burgers. How many 1/4 pound burgers can Luis make with the remaining turkey? A random variable x takes four possible values, 0, 2, a, and b, where a and b are unknown numbers. if pr[x = 0] = 0.2, pr[x=2] = 0.4, pr[x = a] = 0.3, e[x] = 2.8 and it is the case that a + b = 6, what is the missing value of a ?a.-1.0b.5.0c.7.0d.cannot be determined without more informatione.none of the above How many times larger is 2 x 10-6 than 2 x 10-11? Some boys and girls seem to be ____ to eating disorders. How did the agricultural revolution assist in the development of the industrial revolution? Its easier to determine the elecron configurations for the p-block elements in periods 1,2,3 than to determine the electrons configurations for the rest of the p-block elements in the periodic table beacause Which of these BEST describes the impact of the Silk Roads on Han China? A) Mongol invaders were able to enter the country more easily. B) Goods from the Levant made their way into China. C) Han warriors were able to conquer areas beyond the Gobi Desert. D) New trade routes were established with India. 1.56 divided by 19.2 Melissa buys 2 1/2 pounds of salmon and 1 1/4 pounds of swordfish. She pays a total of $31.25, and the swordfish costs $0.20 per pound less than the salmon. What would be the combined cost of 1 pound of salmon and 1 pound of swordfish? A.$15.60 B.$15.80 C.$16.60 D.$16.80 What is the word that describes a perfect place? Question 15 options:utopiacornucopiaethical environmentdynamic community In "Hamadi" by Naomi Shihab Nye, what is the effect of the author's choice to use the third-person limited point of view, providing readers with only Susan's perspective? It prevents the reader from knowing Susan's true inner thoughts and feelings. It allows the reader to share Susan's shock over how the story ends. It allows the reader to learn what other characters think of Susan. It restricts what the reader knows about the inner thoughts and feelings of other characters. You deposit $1,000 in a savings account that earns 0.5% each month. Assuming you do not deposit or withdraw any money from the account, how much will you have in the account after 3 years? If p(a) = 0.25 and p(b) = 0.65, assuming independence of events, then p(a andb.is: I WILL MARK BRAINLIEST! AND MORE POINTS! PLEASE HELP ME I NEED HELP!Wilson cycled a total of 3.57 kilometers by making 2 trips to work. How many trips will Wilson have to make to cycle a total of 10.71 kilometers? Solve using unit rates. The discovery of x-rays and radiation was very important to the diagnosis and treatment of disease. What technologies came from this discovery? A. surgical technologyB. radiation therapyC. diagnostic x-raysD. both radiation therapy and diagnostic x-rays A package delivery company has determined that they can meet their schedules if they have 4 drivers for every 30 square miles of area they cover. If they want to offer service to a county of 75 square miles, how many drivers must they have?A. 9 driversB. 10 driversC. 15 driversD. 12 driversPlease explain your answer! : ) Why can't you where underwear for lithotripsy surgery? Steam Workshop Downloader