Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/15

Click to flip

15 Cards in this Set

  • Front
  • Back
What command would be used to create a directory called "statistics" for file sharing between a group called "accounting", a group called "finances", a group called "management", and a group called "topmgmt"?
mkdir statistics
chgrp statistics topmgmt -(FINISH LATER!)
Create a directory for sharing files between "girls" and "boys" - Make it so that neither group can delete each other's files.
-(FINISH LATER!)
Add a printer called lpr42. Give full access to lpr42 to groups "mgmt" and "accounting". Give restricted access to the group called "sales".
-(FINISH LATER!)
Create hard disk quotas for the following groups:
"mgmt" - 20 MB
"accounting" - 10 MB
"finances" - 15 MB
-(FINISH LATER!)
Create hard disk quotas for the following users:
"JKnight" - 20 MB
"PIrving" - 10 MB
"SRand" - 15 MB
-(FINISH LATER!)
Create a hard disk quota of 20 MB for each user "JKnight", "PIrving", and "SRand" - all of whom belong to the group "mgmt".
-(FINISH LATER!)
Create a directory called "sunbeams" - Set ownership and permissions on this directory so that "rainbows" can read and write files in this directory, "tulips" can do anything within the directory, "marigolds" can only view files in the directory, and "raindrops" can read the directory and execute files in the directory. All the flower names belong to the group "flowers". "rainbows" and "raindrops" belong to the group "weather".
-(FINISH LATER!)
Create the users "flowergirl" with the user ID of 615, "flowerchilde" with the home directory of /home/flowercity, "hippyfreak" with the user ID of 617, and "tinytim" with the group membership of "freaks".
useradd -u 615 flowergirl
useradd -d /home/flowercity flowerchilde
useradd -u 617 hippyfreak
useradd -g freaks tinytim
Create the user groups of "snow", "sunshine", "stormy" and "drizzle"
groupadd snow
groupadd sunshine
groupadd stormy
groupadd drizzle
Create the user groups of "snow" with the group ID of 462, "sunshine" with the group ID of 463, "stormy" with the group ID of 464 and "drizzle" with the group ID of 465
groupadd -g 462 snow
groupadd -g 463 sunshine
groupadd -g 464 stormy
groupadd -g 465 drizzle
View the list of groups that you are a member of.
groups
View the group IDs for the groups you are a member of.
id
Add the user MaryJ to the group "gardeners".
usermod -G gardeners MaryJ
Assign the user ID 692 from JohnM to the new user SallyR.
useradd -u 692 SallyR
Change the ownership of all the files in the directory "peachsales" from MaryB to SallyR
chown -R SallyR peachsales