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

The /home/gshant/smp directory contains several files. The directory and files need to be removed. The current working directory

is /home/gshant. What would you enter at the command prompt to remove the smp directory and all the files it contains?
Computers and Technology
1 answer:
kherson [118]3 years ago
3 0

Explanation:

Whenever a user types in a command at the command line that is not built into the shell or that does not include its absolute path and then presses the Enter key, the shell searches through those directories, which constitute the user's search path, until it finds an executable file with that name.

You might be interested in
For a list of numbers entered by the user and terminated by 0. Write a program to find the sum of the positive numbers and the s
Mumz [18]

Answer:

Following are the program in the Python Programming Language

#set variables to 0

positive_sum=0

negative_sum=0

#print message

print("Enter 0 to terminate")

#set the while loop

while(True):

 #get input from the user

 num=float(input("Enter positive or negative numbers: "))

 #set if statement to check condition

 if(num==0):

   break

 elif(num>0):

   positive_sum+=num

 else:

   negative_sum+=num

#print output with message

print()

print("sum of positive numbers: ", positive_sum)

print("sum of negative numbers: ", negative_sum)

<u>Output:</u>

Enter 0 to terminate

Enter positive or negative numbers: 1

Enter positive or negative numbers: 3

Enter positive or negative numbers: 5

Enter positive or negative numbers: -7

Enter positive or negative numbers: -2Enter positive or negative numbers: 0

sum of positive numbers:  9.0

sum of negative numbers:  -9.0

Explanation:

Here, we set two integer data type variables "positive_sum", "negative_sum" and initialize to 0.

Then, we set the while infinite loop inside the loop.

  • Set a variable "num" and get input from the user in it.
  • Set the if conditional statement and check condition the variable "num" is equal to 0 then, loop will terminate.
  • Set the elif statement and check condition the variable "num" is greater than 0 then, add that input and store in the variable "positive_sum"
  • Otherwise, add that input and store in the variable "negative_sum".

Finally, we print the output with the message.

6 0
4 years ago
What are some of the barriers to good communication
joja [24]

Answer:

language, cultural diversity, gender differences, status differences, and physical education.

Explanation:

those are specific items that can distort or prevent communication within an organization.

5 0
3 years ago
During the process of encapsulation, how does the pc determine if the packet is destined for a host on a remote network?
Mamont248 [21]

The PC determine if the packet is destined for a host on a remote network by performing the AND operation on the destination IP address and its own subnet mask.

3 0
3 years ago
Which of these files is most likely to be a helper file for an application?
Ludmilka [50]

Answer:

library.mov

Explanation:

hardware management

3 0
4 years ago
Read 2 more answers
Write the name of test for the given scenario. Justify your answer.
Snowcat [4.5K]

Answer:

Cevap b okey xx

Explanation:

Sinyorrr

8 0
3 years ago
Other questions:
  • Traffic shaping reduces traffic by ________. preventing certain undesirable traffic from entering the network limiting the amoun
    12·1 answer
  • Write a program that accepts a phrase of unspecified length on the command line. For example: prompt% letter print Operating Sys
    7·1 answer
  • Can someone explain a cylinder
    7·1 answer
  • Say our confusion matrix is as follows, calculate precision, recall, and accuracy. Interpret the results for the positive class.
    10·1 answer
  • How do you make someone brainlest
    14·2 answers
  • Which ammunition security category includes fragmentation grenades mines and explosives?
    5·1 answer
  • Which factor helps drive globalization?
    9·1 answer
  • Clickable text or image that takes you to a different site
    15·1 answer
  • Discuss how a lack of infrastructure in poor communities could contribute to ill-health such as the Unrest looting.​
    9·1 answer
  • WAP to input the rating of a movie, and print as per the given criteria:
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!