Hi,
I want to find the total size of some directory trees in my solaris 9 machine.
Is there a command or utility I can use to do it. Please let me know if there is
any way.
Thanks
Akheel (1 Reply)
Hi,
I'm newbie to Unix. I'd like to count the total size of those files in my directory by date. For example, files on this period 05/01/08 - 05/31/08. If possible can we count by byte instead of kb.
if I use $ du - ks , it will add up all files in the dir.
thanks,
Helen (5 Replies)
Friends,
I have an 80 GB HDD, but I wish to know if there is a direct command in Solaris 10 to find out the size of my hard disk (similar to fdisk -l in Linux).
Thank you
saagar (3 Replies)
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Please advice how can we search for a string say (abc) in multiple files and to get total occurrence of that searched string. (Need number of records that exits in period of time).
File look like this (read as filename.yyyymmdd)
a.20100101
b.20100108
c.20100115
d.20100122
e.20100129... (2 Replies)
Hi ,
Below is my sample data,I have this 8 column(A,B,C,D,E,F,G,H) in csv file.
A , B ,C ,D ,E ,F,G ,H
4141,127337,24,15,20,69,72.0,-3
4141,128864,24,15,20,65,66.0,-1
4141,910053,24,15,4,4,5.0,-1
4141,910383,24,15,22,3,4.0,-1
4141,496969,24,15,14,6,-24.0,-18... (7 Replies)
I need a Shell script which take two inputs which are
1) main directory where it has to search and
2) pattern to search within main directory all files (.c and .h files)
It has to print number of pattern found in main directory & each sub directory.
main dir --> Total pattern found = 5
|... (3 Replies)
If I have a number of files in a directory, for example,
test.1
test.2
test.3
abc.1
abc.2
abc.3
and I need to find the total file size of all of the test.* files, I can use du -bc test.* in Linux.
However, in Solaris, du does not have the -c option. What can I do in Solaris to get... (11 Replies)
Discussion started by: learnix
11 Replies
LEARN ABOUT MINIX
tget
TGET(1) General Commands Manual TGET(1)NAME
tget - get termcap values
SYNOPSIS
tget [-flag id] [-num id] [-str id] [-goto col line] [[-echo] string]
DESCRIPTION
Tget allows shell scripts access to the termcap(3) functions. Flags, numbers and strings can be queried from the termcap database under
the entry denoted by the environment variable $TERM.
OPTIONS -flag id
Set the exit status to zero if the flag id is set. All other options except -echo set the exit status to id being available or not.
The last option sets the final exit code.
-num id
Print the value of the numeric variable id.
-str id
Print the value of the string variable id.
-goto col line
Generates instructions to go to the given column and line if the cm capability exists.
-echo string
Prints string. Any other argument that does not start with a dash is also printed.
EXAMPLE
Try this: tget -str so 'Reverse Video' -str se
ENVIRONMENT
TERM Terminal type.
TERMCAP Path to the termcap database, by default /etc/termcap:/usr/etc/termcap.
SEE ALSO termcap(3).
DIAGNOSTICS
Tget will fail immediately with a descriptive message if the termcap entry can't be found.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
TGET(1)