10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
hi everyone
i have posted this query but i dont where it has gone
i am posting again . my issue is that i have many backup files in a backup nfs share and i need to calculate it size just by adding their individual file sizes which is repetitive jobs. so is there any command or variation of du... (1 Reply)
Discussion started by: janakors
1 Replies
2. UNIX for Beginners Questions & Answers
hi everyone
i have a backup share mounted with me on solaris 10 which have daily backups. everyday i need to calculate all individual sizes of files and need to report somewhere. e.g i have .rman 7backup files daily . what i need that is there any commnd or variation of du command which can add... (1 Reply)
Discussion started by: janakors
1 Replies
3. Shell Programming and Scripting
Hi All,
I have the following time stamp data in 2 columns
Date TimeStamp(also with milliseconds)
05/23/2012 08:30:11.250
05/23/2012 08:30:15.500
05/23/2012 08:31.15.500
.
.
etc
From this data I need the following output.
0.00( row1-row1 in seconds)
04.25( row2-row1 in... (5 Replies)
Discussion started by: ks_reddy
5 Replies
4. Shell Programming and Scripting
Hey guys.....
I have many files (lets say 100 or more) of same size, and I want to create a new output file and calculate the average of first row fifth column in all files and print it in first row of output file, then 2nd row fifth col in all 100 files and print it in 2nd row of output... (1 Reply)
Discussion started by: CAch
1 Replies
5. AIX
Hi
This is the lspv output of my server :
cbspsdb01 #lspv
hdisk0 00c7518d2d512fd4 cdgvg active
hdisk1 00c7518d2dcbc9d6 cdgvg active
hdisk2 00c7518dcda9199a appvg active
hdisk3... (1 Reply)
Discussion started by: samsungsamsung
1 Replies
6. Linux
Hi,
How do i find Linux kernel page size using command ?
Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies
7. Shell Programming and Scripting
Hi All,
I am very new to shell scripting. I have a text file which is the output of another utility. This text file has a list of SAF files which is basically a list of orphan attachments in the attachments directory. Now I want to read each file name from the file, get its size and repeat this... (6 Replies)
Discussion started by: RajeshReddy
6 Replies
8. Shell Programming and Scripting
Hi ,
I am trying to get page size of a url(e.g.,www.example.com) using wget command.Any thoughts what are the parameters i need to send with wget to get the size alone?
Regards,
Raj (1 Reply)
Discussion started by: rajbal
1 Replies
9. Programming
Hi,
Is there any way to calculate the size of a built in data type without using 'sizeof' operator? I also don't have the option to read it from std .h file.
regards
Apoorva Kumar (10 Replies)
Discussion started by: apoorvasharma80
10 Replies
10. Shell Programming and Scripting
I would like to create a script for calculating size and remaining space of a directory automatically every 24 hours, then send an email to report to the admin.
* POSIX and PERL are preferred.
Can anyone help, please? (1 Reply)
Discussion started by: leonall
1 Replies
DEBCONF-SET-SELECTIONS(1) Debconf DEBCONF-SET-SELECTIONS(1)
NAME
debconf-set-selections - insert new default values into the debconf database
SYNOPSIS
debconf-set-selections file
debconf-get-selections | ssh newhost debconf-set-selections
DESCRIPTION
debconf-set-selections can be used to pre-seed the debconf database with answers, or to change answers in the database. Each question will
be marked as seen to prevent debconf from asking the question interactively.
Reads from a file if a filename is given, otherwise from stdin.
WARNING
Only use this command to seed debconf values for packages that will be or are installed. Otherwise you can end up with values in the
database for uninstalled packages that will not go away, or with worse problems involving shared values. It is recommended that this only
be used to seed the database if the originating machine has an identical install.
DATA FORMAT
The data is a series of lines. Lines beginning with a # character are comments. Blank lines are ignored. All other lines set the value of
one question, and should contain four values, each separated by one character of whitespace. The first value is the name of the package
that owns the question. The second is the name of the question, the third value is the type of this question, and the fourth value (through
the end of the line) is the value to use for the answer of the question.
Alternatively, the third value can be "seen"; then the preseed line only controls whether the question is marked as seen in debconf's
database. Note that preseeding a question's value defaults to marking that question as seen, so to override the default value without
marking a question seen, you need two lines.
Lines can be continued to the next line by ending them with a "" character.
EXAMPLES
# Force debconf priority to critical.
debconf debconf/priority select critical
# Override default frontend to readline, but allow user to select.
debconf debconf/frontend select readline
debconf debconf/frontend seen false
OPTIONS
--verbose, -v
verbose output
--checkonly, -c
only check the input file format, do not save changes to database
SEE ALSO
debconf-get-selections(1) (available in the debconf-utils package)
AUTHOR
Petter Reinholdtsen <pere@hungry.com>
2012-09-10 DEBCONF-SET-SELECTIONS(1)