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
NeX [460]
3 years ago
5

You want to find all files on your server that have either the SGID or SUID permission set. Which command should you use to obta

in a list of these files?

Engineering
1 answer:
aalyn [17]3 years ago
3 0

Answer:

For SGID you type this

$ find . -perm /4000

For SUID you type this

$ find . -perm /2000

Explanation:

Auxiliary file permissions, that are commonly referred to as “special permissions” in Linux are needed in order to easily find files which have SUID (Setuid) and SGID (Setgid) set.

After typing

$ find directory -perm /permissions

Then type the commands in the attachment below to obtain a list of these files with SGID and SUID.

You might be interested in
Paint can shaker mechanisms are common in paint and hardware stores. While they do a good job of mixing the paint, they are also
Ymorist [56]

Answer:

A good design for a portable device to mix paint minimizing the shaking forces and vibrations while still effectively mixing the paint. Is:

The best design is one with centripetal movement. Instead of vertical or horizontal movement. With a container and system of holding structures made of materials that could absorb the vibration effectively.

Explanation:

First of all centripetal movement would be friendlier to our objective as it would not shake the can or the machine itself with disruptive vibrations. Also, we would have to use materials with a good grade of force absorption to eradicate the transmission of the movement to the rest of the structure. Allowing the reduction of the shaking forces while maintaining it effective in the process of mixing.

6 0
3 years ago
Write a class named FBoard for playing a game, where player x is trying to get her piece to row 7 and player o is trying to make
OverLord2011 [107]

Answer:

12345=V

Explanation:

7 0
3 years ago
Yo can someone find me an e-boy?
Vera_Pavlovna [14]
I got a friend how old are you and are you ok dating a bi guy
4 0
3 years ago
Reference Parameters (returning multiple values): Write a C++ function that converts standard time to military time. Inputs incl
valkas [14]

Answer:

Code is given as below:

Explanation:

#include <iostream>

using namespace std;

//function prototype declaration

void MilitaryTime(int, int, char, int &, int &);

int main()

{

    //declare required variables

    int SHour, SMin, MHour, MMin;

    char AorP;

    //promt and read the hours from the user

    cout<<"Enter hours in standard time : ";

    cin>>SHour;

    //check the hours are valid are not

    while(SHour<0 || SHour>12)

    {

         cout<<"Invalid hours for standard time. "

             <<"Try again..."<<endl;

         cout<<"Enter hours in standard time : ";

         cin>>SHour;

    }

    //promt and read the minutes from the user

    cout<<"Enter minutes in standard time : ";

    cin>>SMin;

    //check the minutes are valid are not

    while(SMin<0 || SMin>59)

    {

         cout<<"Invalid minutes for standard time. "

             <<"Try again..."<<endl;

         cout<<"Enter minutes in standard time : ";

         cin>>SMin;

    }

    //promt and read the am or pm from the user

    cout<<"Enter standard time meridiem (a for AM p for PM): ";

    cin>>AorP;

    //check the meridiem is valid are not

    while(!(AorP=='a' || AorP=='p' || AorP=='A' || AorP=='P'))

    {

         cout<<"Invalid meridiem for standard time. "

             <<"Try again..."<<endl;

         cout<<"Enter standard time meridiem (a for AM p for PM): ";

         cin>>AorP;

    }

    //call function to calculate the military time

    MilitaryTime(SHour, SMin, AorP, MHour, MMin);

    //fill zeros and display standard time

    cout.width(2);

    cout.fill('0');

    cout<<SHour<<":";

    cout.width(2);

    cout.fill('0');

    cout<<SMin;

    if(AorP=='a' || AorP=='A')

         cout<<" am = ";

    else

         cout<<" pm = ";

    //fill zeros and display military time

    cout.width(2);

    cout.fill('0');

    cout<<MHour;

    cout.width(2);

    cout.fill('0');

    cout<<MMin<<endl;

    system("PAUSE");

    return 0;

}

//function to calculate the military time with reference parameters

void MilitaryTime(int SHour, int SMin, char AorP, int &MHour, int &MMin)

{

    //check the meredium is am or pm

    //and calculate hours

    if(AorP=='a' || AorP=='A')

    {

         if(SHour==12)

             MHour = 0;

         else

             MHour = SHour;

    }

    else

         MHour = SHour+12;

    MMin = SMin;

5 0
3 years ago
) A brick of clay is being dried in a batch dryer using constant drying conditions. You have been asked to determine the amount
dimaraw [331]

Answer:

The drying time is calculated as shown

Explanation:

Data:

Let the moisture content be = 0.6

the free moisture content be = 0.08

total moisture of the clay  = 0.64

total drying time for the period = 8 hrs

then if the final dry and wet masses are calculated, it follows that

t = (X0+ Xc)/Rc) + (Xc/Rc)* ln (Xc/X)

 = 31.3 min.

4 0
3 years ago
Other questions:
  • Give two methods on how powder is produced in powder metallurgy.
    5·2 answers
  • The four strokes in a four stroke cycle engine in proper order.
    7·1 answer
  • Am i eating ramon nooddles rn
    10·2 answers
  • How does emotion affect a persons driving
    15·1 answer
  • When you learned about the Highway Transportation system you learned about 6 different types of people as
    10·1 answer
  • How large a force is required to accelerate a 1300 kg car from rest to a speed of 20 m/s in a distance of 80 m?
    15·2 answers
  • Which organisms are consumers in this food chain? List all that apply. *
    5·1 answer
  • New ventures that are based on strategic value, such as valuable technology, are attractive while those with low or no strategic
    12·2 answers
  • Using the tables for water, determine the specified property data at the indicated states. In each case, locate the state on ske
    10·1 answer
  • John has an exhaust leak in his Acura Integra GS-R, What steps would he take to fix the leak in time for his inspection?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!