I would like to extract the following fields from the text file attached. I copied the contents from a pdf file and pasted them into the text file so I can use awk to extract them. The layout is as listed below.
name1,name2,name3,name4,Title,designation,nationality,dob,
national ... (1 Reply)
Hi,
How can I debug an awk script?
I know that set -x can be used to debug a script. But this will not suite for awk scripts.
Can anyone help me?
Thanks in advance,
Chella (2 Replies)
Hi all,
i have two simple questions here...
1. i want to know that how to debug the UNIX shell script?
2. is there any way to handling the exception in UNIX shell script like oracle exception handling?
Please provide me those details it would be great help/
Thanks and Regards,
MPS... (3 Replies)
Hi All,
I have a script which is based on calculating current time
The script looks like this:
whenever i try to run the script it gives me error:Please advice wherther i have made mistake with if condition or with for loop??
The code :
set -x
#!/usr/bin/ksh
set -x... (7 Replies)
Hi,
When i run the script ./script.sh sun, this give me no output, it should give me the list of file.
If i run the script without the argument it should send me echo inside usage().
What is the problem?
please help
-Adsi
#!/bin/sh
ROOT_PATH=/net/icebox/vol/local_images/spins... (2 Replies)
Hi,
I have this script, searches and sets variables, then searches and sets more variables from multiple files.
I'd need to debug it a bit.
#!/bin/bash
egrep $1 `find | grep MAGT` >/tmp/resRA-$$
thread=`sed -n '/{0x/ {s/^.*{0x\(*\).*/\1/p;q}' /tmp/resRA-$$`
tag=`sed -n '/Tag=/... (5 Replies)
Hi I am relatively new in shell scripting Below is the code which i developed but for some reason, it keeps giving me error:
/apps/bss/BatchProg/at1/batch/scripts/ksh/TBATLC02.ksh: syntax error at line 41 : `then' unmatched
#!/usr/bin/ksh... (4 Replies)
Hello,
is it possible to debug a script that is already running "on-demand"?
Somehow a command like "set -x" but once you've executed the script. And another one to disable debugging?
Thank you (0 Replies)
Hi,
I am trying to get squid up and running using a redirector process, and every time I try to load a web page, squid fails miserably.
Can some one with perl and squid knowledge take a look at these codes and tell if something is wrong here.
#!/usr/bin/perl
#
$| = 1;
@endings = qw/... (0 Replies)
Discussion started by: jamie_123
0 Replies
LEARN ABOUT LINUX
unattended-upgrade
unattended-upgrade(8) System Manager's Manual unattended-upgrade(8)NAME
unattended-upgrade - automatic installation of security (and other) upgrades
SYNOPSIS
unattended-upgrade [options]
DESCRIPTION
This program can download and install security upgrades automatically and unattended, taking care to only install packages from the config-
ured APT source, and checking for dpkg prompts about configuration file changes. All output is logged to /var/log/unattended-ugprades.log.
This script is the backend for the APT::Periodic::Unattended-Upgrade option and designed to be run from cron (e.g. via
/etc/cron.daily/apt).
OPTIONS
unattended-upgrade accepts the following options
-h, --help
help output
-d, --debug
extra debug output into /var/log/unattended-upgrades.log
--dry-run
Just simulate installing updates, do not actually do it
CONFIGURATION
The configuration is done via the apt configuration mechanism, the default configuration file can be found at /etc/apt/apt.conf.d/50unat-
tended-upgrades
AUTHORS
unattended-upgrade is written by Michael Vogt <mvo@ubuntu.com>
This manual page was originally written by Michael Vogt <mvo@ubuntu.com>
COPYRIGHT
Copyright (C) 2005-2009 Canonical
There is NO warranty. You may redistribute this software under the terms of the GNU General Public License. For more information about
these matters, see the files named COPYING.
May 4, 2009 unattended-upgrade(8)