Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

Create, edit change ownership

Quiz yourself by thinking what should be in each of the black spaces below before clicking on it to display the answer.
        Help!  

Question
Answer
Types of limits that an administrator can set limits on the number of files and directories users can create   Hard and Soft limit  
🗑
Edit quota options in:   /etc/fstab  
🗑
Implements quotas for users (/etc/fstab)   userquota  
🗑
implements quotas for group   grpquota  
🗑
Create quota files (in directory where the partition is mounted)   aguota.user aguota.group  
🗑
Command to create the aguota.user and aquopta.group files (after placing entries in /etc/fstab)   quotacheck -mavug  
🗑
quotacheck Options:Updates the quota database even if other processes are running on the filesystem   -m  
🗑
quotacheck Options: Updates the quota database   -a  
🗑
quotacheck Options: Verbose mode   -v  
🗑
quotacheck Options: Run the database for users and groups   -u and -g  
🗑
Enables quotas for the mounted filesystem   quotaon  
🗑
Enables all mounted filesystems in /etc/mtab   quotaon -a  
🗑
Disable quotas for the mounted filesystem   quotaoff  
🗑
Display a summary of disc usage and quotas for the specified filesystem – number of files - used space by user   repquota  
🗑
repquota Options: Print all quotas even if there is no usage   repquota -v  
🗑
repquota Options: Does not resolve user and group names to speed printing   repquota -n  
🗑
repquota Options: Reports for user and group   repquota -u -g  
🗑
repquota Options: Gives info for all filesystems listed in /etc/mtab   repquota -a  
🗑
Open and edit a user’s quota, a group quota or change a grace period   edquota  
🗑
edquota Options: Change the users quota   edquota -u  
🗑
edquota Options: change the groups quota   edquota -g  
🗑
edquota Options: change the grace period   edquota -t  
🗑
Display the current user’s quota   quota  
🗑
quota Options: Show current usage, the hard and soft quota for blocks and inodes   quota -v  
🗑
quota Options: Show the quota for a user   quota -u  
🗑
quota Options: Show the quota for a group   quota -g  
🗑
Change ownership of a file or directory   chown  
🗑
Change ownership recursively   chown -R  
🗑
Change file ownership only   chown user  
🗑
Change user and group ownership   chown user:group  
🗑
Change the group ownership only   chown :group  
🗑
To change the group ownership for the /hr/personnel file to mgmt – use any of the following to change group ownership of the file to mgmt1   chgrp mgmt1 /hr/personnel chown .mgmt1 /hr/personnel chown :mgmt1 /hr/personnel  
🗑
Assign user ownership to bcassini and group ownership to the hr group of the /hr directory and all its sub-directories and files   chown –R bcassini:hr /hr  
🗑
To change the owner and group of a file or directory with one command using chown   chown jonadream.users /tmp/schedule.txt  
🗑


   

Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
 
To hide a column, click on the column name.
 
To hide the entire table, click on the "Hide All" button.
 
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
 
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.

 
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how
Created by: johnadream
Popular Computers sets