Greetings Friends,
Suppose I wish to invoke some shell level commands inside an awk script how to do that?
say I wish to use : "wc" on a record to count number of characters in a record
Any clues?
Thanks,
Rishi (1 Reply)
New to shell scripting.
I can't get my script to execute multiple commands.
Here's the code. It's a menu script.
#!/bin/ksh
clear
print "SDE MENU"
PS3="SDE MENU, enter choice:"
select clean_menu in "tasdedev instance 5151" "orkindev instance 5155" "tasdetst
instance 5157" "orkinsys... (1 Reply)
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
Hi All,
Please let me know how do I execute some of the shell commands like cat, find ,grep within sftp.
Any help in this regard would be greatly appreciated.
Thanks, (5 Replies)
Hi All,
I need to execute the following "vi" commands in my script. How can I do that??
pls help me....
1. escape (escape mode)
2. gg (goto first line)
3. shift+v (visual mode)
4. shift+g (goto to last line)
5. = (alinment)
Thanks in advance,
Saravana (3 Replies)
Hi,
I am trying to write a shell script which execute certain commands within certain folders in each user's home directories
I started off with a bash script -
#!/bin/csh -f
su -l cvsusr1
cvs -d /home/cvsadm/repository status
But the shell script finishes immediately after... (1 Reply)
I made a configuration file for my shell script in that all the values that the shell scipt needs, are defined, but I don't know how to let the shell script use those defined variables.
Thank you for your help :) (3 Replies)
I frequently use some commands, which I want to save in some file say myregularshell.shthese are the commands I use, I tried saving and executing, but couldn't get the preview of execution, and result is also not coming if I copy same commands and paste it on terminal result is coming
cd go... (2 Replies)
Hi,
The below command is not giving me the count , Can somebody help me in re-writing this pls .
Proc_Exist=`ssh -q -o "BatchMode=yes" -o "PasswordAuthentication=no" $OAUSER@${Primary_Node} ps -ef |
grep -v grep | grep "${ICM_Proc}" |wc -l `
Also the same problem with below... (13 Replies)
friends,
i have application commands to execute in shell script it is something like this. i will login with user data it takes me to $ prompt. Example given below
login: data
ps : xxxx
$ MNSinput --this takes me to greater than prompt >
> ops --this is command i enter this output... (7 Replies)
Discussion started by: udaykrishna
7 Replies
LEARN ABOUT LINUX
snmpa_notification_delivery_info_receiver
snmpa_notification_delivery_info_receiver(3erl) Erlang Module Definition snmpa_notification_delivery_info_receiver(3erl)NAME
snmpa_notification_delivery_info_receiver -
Behaviour module for the SNMP agent notification delivery
information receiver.
DESCRIPTION
This module defines the behaviour of the notification delivery information receiver.
A snmpa_notification_delivery_info_receiver compliant module must export the following functions:
* delivery_targets/3
* delivery_info/4
The semantics of them and their exact signatures are explained below.
DATA TYPES
address() = A 4-tuple
EXPORTS
delivery_targets(Tag, Targets, Extra) -> void()
Types Tag = term()
Targets = [target()]
target() = {Address, Port}
Address = address()
Port = integer()
Extra = term()
Inform about target addresses.
This is the first function called when a notification delivery is in progress. It informs the receiver which targets will get the
notification. The result of the delivery will be provided via successive calls to delivery_info/4 function, see below.
delivery_info(Tag, Target, DeliveryResult, Extra) -> void()
Types Tag = term()
Target = target()
target() = {Address, Port}
Address = address()
Port = integer()
DeliveryResult = delivery_result()
delivery_result() = no_response | got_response
Extra = term()
Inform about delivery result.
This function is called for each target in the Targets argument of the delivery_targets/3 function, see above.
The purpose is to inform the receiver of the result of the delivery (was the notification acknowledged or not) for each target.
Ericsson AB snmp 4.19 snmpa_notification_delivery_info_receiver(3erl)