Please forgive me, but I am not a Unix expert. I'm supporting SAP r/3 and we are trying to run an external command from SAP to read a file at the unix level. When we perform the more command on the following two files, we are succesful in reading the bws file, but unsucessful in reading the bws1... (13 Replies)
I have an executable that had permissions set to 700. I changed this to 770 and added a user to the group in an attempt to allow that userds to run the file. Obviously this didnt work or I wouldnt be here.
Do I need to cause the group file to be re-read and if so how, or am I misunderstanding... (6 Replies)
hello
I search a script (ksh for Aix 5.3) to save all permissions, groups and owner for all files. Because we work much to change it, and a mystake ......!
So i want execute this script to save/ execute permissions for all files.
If you have this script, thank you for your help ;)
best... (2 Replies)
I have a file with permisson 711; but when an other user run the program, it can't open. This is the message:
/sbin/sh: ./myprogram: cannot open
Can any1 tell me why please?
Thanks! (6 Replies)
I need to find all the files that have group Read or Write permission or files that have user write permission.
This is what I have so far:
find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}'
It shows me all files where group read = true, group write = true... (5 Replies)
All:
I'm having a problem with sudo on Solaris 5.10 that is giving me fits (and BTW, I'm a Linux admin by trade...).
The issue is that I have a number of users (myself included) that cannot sudo to root to complete user admin tasks. Assuming the user is jdoe, and the group with the elevated... (3 Replies)
Hi,
please let me know the commands to create new group/delete existing group in unix and assigning users to newly created group.
Thank you in advance. (2 Replies)
why is the group id in capital S and not lowercase s ?
I have a directory with the following permissions:
drwxrws--x
when I remove the group id and add it again with g+s or chmod 2765 , it
displays the group ID in capital "S" instead of lowercase "s"
tried to find this out on Google, but... (2 Replies)
hi,
I want to create a volume group of 200 GB and then create different file systems on that.
please help me out. Its becomes confusing when the PP calculating PP.
I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies
LEARN ABOUT OSF1
quota
quota(1) General Commands Manual quota(1)NAME
quota - displays disk usage and limits
SYNOPSIS
quota [-agGuUqv]
quota [-a] [-g] [groupname] [-qv]
quota [-a] [-G] [groupID] [-qv]
quota [-a] [-u] [username] [-qv]
quota [-a] [-U] [userID] [-qv]
OPTIONS
Displays quota information for all mounted file systems: those in the /etc/fstab file and those mounted manually or with automount. The -q
option takes precedence over the -a option. When specified without the groupname argument, displays group quotas for groups of which you
are a member. Displays group quotas for the group when you specify groupname. When specified without the groupID argument, displays group
quotas for groups of which you are a member. Displays group quotas for the group when you specify groupID. Displays only your user quotas
(the default) when specified without the username argument. Displays user quotas for the user when you specify username. Displays only
your user quotas (the default) when specified without the userID argument. Displays user quotas for the user when you specify userID.
Displays information only for file systems that have disk quotas and where usage is over quota. Takes precedence over the -v and -a
options. Displays quota information for all mounted file systems that are specified in the /etc/fstab file. Quota information is dis-
played for each file system whether or not quotas are enabled for it. The -q option takes precedence over the -v option.
DESCRIPTION
The quota command displays disk space usage and limits. Disk quotas are displayed as 1 kilobyte blocks.
By default, only your user quotas are displayed. If you use the -g or the -G option without an argument, the quota command displays group
quotas for groups of which you are a member.
Unless you use the -v option, the quota command reports only on file systems listed in /etc/fstab that have disk quotas and under which you
have files. If quota exits with a status of 1, one or more file systems are over quota. If quota exits with a status of 2, there are sys-
tem errors.
NOTES
The term file system represents either a UFS file system or an AdvFS fileset.
Do not use both a user and a group option in the same command.
RESTRICTIONS
You must be the root user to use the optional username or userID argument to view information about another user, or to use the optional
groupname or groupID argument to view information about a group to which you do not belong.
FILES
Contains user quotas for each file system. Contains group quotas for each file system. Contains file system names and locations.
SEE ALSO edquota(8), quot(8), quotacheck(8), quotaon(8), quotaoff(8), repquota(8), quotactl(2), fstab(4)quota(1)