Tag Archives: SIGINT

Case signal

By Ramesh M

Task 1:

#!/bin/ksh

if [ $# -lt 2 ]
then
echo “Usage : $0 Signalnumber PID”
exit
fi

case “$1” in

1) echo “Sending SIGHUP signal”
kill –SIGHUP $2
;;
2) echo “Sending SIGINT signal”
kill –SIGINT $2
;;
3) echo “Sending SIGQUIT signal”
kill –SIGQUIT $2
;;
9) echo “Sending SIGKILL signal”
kill –SIGKILL $2
;;
*) echo “Signal number $1 is not processed”
;;
esac

./file 9 89876

Output :./file[21]: bad option(s)
I cant kill the process, getting the above error :confused:

Task 2:

When Im tring script called char that checks a single character on the
command line, c. If the character is a digit, digit is displayed. If the
character is an upper or lowercase alphabetic character, letter is
displayed. Otherwise, other is displayed. Have the script print an
error message if the argument c is more than one character in length.

Gimme some idea to reform(correct structure) this below code for the above task

#!/bin/ksh

c=$1
if [[ c -le 9 ]]
then
echo “Proceed “
elif [[ c -eq a-z ]]
then
echo “alphabet”
else
echo “More than one char in length”
fi

case $1 in

1-9) echo “The value is a number”
;;
a-z) echo “the value is a alphabet”
;;
*) echo “Other”
;;
esac

…read more
Source: FULL ARTICLE at The UNIX and Linux Forums

Northrop Wins $93 Million in Pentagon Contracts

By Rich Smith, The Motley Fool

Filed under:

Over the past two in-sequester days, the Pentagon has awarded a total of 42 separate contracts to various contractors, worth well over $4 billion in aggregate.

Among many beneficiaries, Northrop Grumman won a total of four contracts in two days:

  • The largest of the four awards, for $49.3 million, came in the form of a contract for “guardrail modernization system spare parts.”Contrary to what the name might suggest, this contract has nothing to do with roadside safety, rather referring to the U.S. Army’s upgrade of its RC-12X “Guardrail” signals intelligence (SIGINT) aircraft, which is built upon a Beechcraft King Air turboprop chassis. The contract has a March 5, 2018 completion date.
  • Northrop Grumman won a $22.2 million contract modification award on its contract to upgrade the cryptography on remote key/code changes in the nation’s ICBM fleet. This contract runs through Aug. 3, 2013.
  • The company’s Electronic Systems Sector, Land and Self Protection Systems Division, won an $11.7 million modification to a previously awarded contract “for software and the integration of that software into the hardware design of the AN/APR-39D(V)2processor and appropriate antennas and receiver resources in support of various naval aviation platforms.” This award refers to upgrades on radar “threat” receivers, which alert a pilot to the fact that he is being tracked by enemy weapons-targeting radar. Work on this one should be completed by March 2014.
  • Finally, Northrop’s Information Systems division won a $9.8 million contract exercising an option on a previous contract for systems sustainment in support of a biometrics database. Completion date: Feb. 28, 2014.

link

The article Northrop Wins $93 Million in Pentagon Contracts originally appeared on Fool.com.

Fool contributor Rich Smith has no position in any stocks mentioned. The Motley Fool owns shares of Northrop Grumman. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.

Copyright © 1995 – 2013 The Motley Fool, LLC. All rights reserved. The Motley Fool has a disclosure policy.

(function(c,a){window.mixpanel=a;var b,d,h,e;b=c.createElement(“script”);
b.type=”text/javascript”;b.async=!0;b.src=(“https:”===c.location.protocol?”https:”:”http:”)+
‘//cdn.mxpnl.com/libs/mixpanel-2.2.min.js’;d=c.getElementsByTagName(“script”)[0];
d.parentNode.insertBefore(b,d);a._i=[];a.init=function(b,c,f){function d(a,b){
var c=b.split(“.”);2==c.length&&(a=a[c[0]],b=c[1]);a[b]=function(){a.push([b].concat(
Array.prototype.slice.call(arguments,0)))}}var g=a;”undefined”!==typeof f?g=a[f]=[]:
f=”mixpanel”;g.people=g.people||[];h=[‘disable’,’track’,’track_pageview’,’track_links’,
‘track_forms’,’register’,’register_once’,’unregister’,’identify’,’alias’,’name_tag’,
‘set_config’,’people.set’,’people.increment’];for(e=0;e<h.length;e++)d(g,h[e]);
a._i.push([b,c,f])};a.__SV=1.2;})(document,window.mixpanel||[]);
mixpanel.init("9659875b92ba8fa639ba476aedbb73b9");

function addEvent(obj, evType, fn, useCapture){
if (obj.addEventListener){
obj.addEventListener(evType, fn, useCapture);
return true;
} else if (obj.attachEvent){
var r …read more
Source: FULL ARTICLE at DailyFinance