hello everyone!
Very basic question for the guru's in here but anyways, I am trying to type a command that is longer than the line. What character do I use to continue my command on the next line?
Thanks in advance....
Todd (1 Reply)
Hello All,
I am trying to write a script when executed, asks you for the password, and confirm password; it should save to a file and also entered password should not be in clear text on the console - should be as ****
Can somebody give me direction in writing this in shell?
Thanks
Chiru (4 Replies)
Hello All,
i have a script to get input from the user like bellow,
read -p "Do you want to continue (y/n) : " status
i want to identify the pressing of Enter Key with out giving any value for the above statement and i want get the status if we press Enter key during run time.
How to... (0 Replies)
Hi,
I had problem
I have a script after each run, which creates a new folder under "testrun",
I used to find recent createfolder by using ls -ltr in testrun folder.
Is there any script which facilitates, going directly to recent createfolder under "testrun":confused:
Plz help.. (7 Replies)
First of all thank you for your replies to my earlier difficulties.
Now I am facing another difficulty.
I have written following for loop.
For var in `find . -name 2008_reports*`
Do
Gpg -symmetric ${var}
Done
When I use this loop it asks to enter pass phrase every time.
Is there any... (7 Replies)
Hi
I am new to linux, when I typed "vi FILE1" I was able to open VI editor. I added some data and I want to save the file and I tried :w but it threw me an error.
"file1" E212: Can't open file for writing
Press ENTER or type command to continue
why I am not able to save it?
I read it... (16 Replies)
Hi All,
I want to enter into C shell from Ksh remotely.
I have written code like,
remsh $rHost -l $rUser -n "source $RM_HOME/run_time/.set_env.csh;
jar -xvf $package.$extension"
But it says;
ksh: source : not found
ksh: jar : not found
Can anyone help me?
Thanks. (1 Reply)
Hi All,
I am not able to get the command prompt after entering the login password on solaris server
Only access is through console.
Server type : sun4u sparc SUNW,Netra-T12
bsnl-north-in > ssh 10.147.17.207 jtoin
Connecting to 10.147.17.207 as user jtoin
Password:
Last login: Wed Mar 5... (1 Reply)
I want to create a header with awk like this:
gawk 'BEGIN {print "List of Events"}
Desired output:
List of Events
Tennis
Baseball
But I am at a loss on how to do this. I can make a list like this:
List of Events
Tennis
Baseball
But I can't get a space to appear. I have... (4 Replies)
Hi all,
I would like some help with a sendmail problem:
We have a new system comprising of 4 T7-1 servers, each hosting 5 LDOMs, all domains running Solaris 11.3
All emails sent from every one of these domains (including the control domains) sit in the queue for 3 mins 11 secs (sometime 3m 12s,... (11 Replies)
Discussion started by: Mysturji
11 Replies
LEARN ABOUT FREEBSD
quota
QUOTA(1) BSD General Commands Manual QUOTA(1)NAME
quota -- display disk usage and limits
SYNOPSIS
quota [-ghlu] [-f path] [-v | -q | -r]
quota [-hlu] [-f path] [-v | -q | -r] user ...
quota -g [-hl] [-f path] [-v | -q | -r] group ...
DESCRIPTION
The quota utility displays users' disk usage and limits. By default only the user quotas are printed. Disk block usage and limits are shown
in 1024-byte blocks.
The following options are available:
-f path
Only display quota information for the file system that contains the specified path. This can be any file within a mounted file sys-
tem.
-g Print group quotas for the group of which the user is a member.
-h "Human-readable" output. Use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte.
-l Do not report quotas on NFS file systems.
-q Print a more terse message, containing only information on file systems where usage is over quota. The -q flag takes precedence over
the -v flag.
-r Display the raw quota information as it appears in the quota structure. Non-zero time values will also be displayed in ctime(3) for-
mat. This option implies -v and will override the -q flag.
-u Print the user quotas. This is the default unless -g is specified.
-v Display quotas on file systems where no storage is allocated.
Specifying both -g and -u displays both the user quotas and the group quotas (for the user).
Only the super-user may use the -u flag and the optional user argument to view the limits of other users. Non-super-users can use the -g
flag and optional group argument to view only the limits of groups of which they are members.
The quota utility tries to report the quotas of all mounted file systems. If the file system is mounted via NFS, it will attempt to contact
the rpc.rquotad(8) daemon on the NFS server. For UFS file systems, quotas must be turned on in /etc/fstab. If quota exits with a non-zero
status, one or more file systems are over quota or the path specified with the -f option does not exist.
If the -l flag is specified, quota will not check NFS file systems.
FILES
quota.user located at the file system root with user quotas
quota.group located at the file system root with group quotas
/etc/fstab to find file system names and locations
SEE ALSO quotactl(2), ctime(3), fstab(5), edquota(8), quotacheck(8), quotaon(8), repquota(8), rpc.rquotad(8)HISTORY
The quota command appeared in 4.2BSD.
BSD February 3, 2007 BSD