Hello, I am somewhat new to linux. I just installed Red Hat 7.2 and when I try to load gnome or KDE in colors above 8bit it will kind of lock up and display some wierd scrambled cable look. I have an ATI Radeon 7000. I check out my monitor settings they are fine. Is it the graphics card? I set my... (1 Reply)
I have a log file with posts looking like this:
--
Messages can be delivered by different systems at different times. The id number is used to sort out duplicate messages. What I need is to strip the arrival time from each post, sort posts by id number, and reattach arrival time to respective... (2 Replies)
Hi everyone.
I want to create a text file using different colors, but i dont know how to do that.
I just can set the color for the -screen- output, using. for example:
printf "\033[32m"
printf "%-20s\n" "Orange colour"
printf "\033[mo"
but if i redirect the second line output to a text file,... (1 Reply)
I want to remove lines containing a tag from a log file.
cat file.log | awk '!/ ${pattern} /'
I want to pass a pattern as an argument to a csh script, that will then apply the removal of those lines.
For example passing the pattern (DIAG) should remove all lines having (DIAG). (3 Replies)
Dear Friends,
I want to remove the 10 days old log files from paticular directory. I want to use some other command for removing the old log files other than find command. Because in our system find command is taking too much of time to remove the old files.
Kindly give me the solution... (3 Replies)
Hi folks,
I have a log file in the below format and trying to get the output of the unique ones based on mnemonic IN PERL.
Could any one please let me know with the code and the logic ?
Severity Mnemonic Log Message
7 CLI_SCHEDULER Logfile for scheduled CLI... (3 Replies)
Hi,
I have a log file that gets updated every second. Currently the size has grown to 20+ GB. I need to have a command/script, that will try to get the actual size of the file and will remove 50% of the data that are in the log file. I don't mind removing the data as the size has grown to huge... (8 Replies)
HI
i am running a shell script in cron and storing the output of that script in a file say test.then i am copying the content of test to test1 and i will send the output of test to some email ids using mutt. Next time when the script executes i am comparing the contents of test and test1 and... (3 Replies)
Discussion started by: venkitesh
3 Replies
LEARN ABOUT LINUX
debconf-set-selections
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>
2011-06-22 DEBCONF-SET-SELECTIONS(1)