Sponsored Content
Full Discussion: action command
Top Forums Shell Programming and Scripting action command Post 79330 by esham on Wednesday 27th of July 2005 04:34:50 AM
Old 07-27-2005
action command

Hi..

When i refered the script /etc/rc.sysinit...

i found the "action commands" like
Quote:
action $"Mounting proc filesystem: " mount -n -t proc /proc /proc
But this is not working in my shells..

the following error is coming...

Quote:
-bash: action: command not found
Please anybody help

Thanks in advance
esham
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

PHP and Javascript in action

Hi all, I'm not sure in which category should I post in but I'll try in this one. Here is my problem, I'm trying to combine 2 scripts that I found useful to me. First one is this , what I'm trying to accomplish is dynamic user look up from my database. The other script is this one , this script... (0 Replies)
Discussion started by: c0mrade
0 Replies

2. UNIX for Dummies Questions & Answers

Use pipes but miss a action

please delete and see other post. Hi, Im using awk to go through every line, but i have to use it twice as the first awk finds all the lines with a number in one field and the pipes it to wc, and the second does the same as the first but it has a extra pipe into sort and uniq that finds all... (2 Replies)
Discussion started by: fredted40x
2 Replies

3. Shell Programming and Scripting

same action in then as in else: explanation?

in /etc/init.d/networking of an ubuntu computer, I found this code: if ifdown -a --exclude=lo; then log_action_end_msg $? else log_action_end_msg $? fi Shouldn't it be replace by ifdown -a --exclude=lo ... (0 Replies)
Discussion started by: raphinou
0 Replies

4. Shell Programming and Scripting

Need help with find its action

I am writing a shell script that takes at least 2 arguments. The first is an octal representation of file permissions, the second is a command that is executed on all the files found with that permission. #!/bin/sh find . -perm $1 -exec $2 $3 $4 {} \; invoked: ./script.sh 543 ls -la what... (3 Replies)
Discussion started by: computethis
3 Replies

5. Shell Programming and Scripting

Script to monitor for new file with ext .err and size > 0 bytes and perform a action or command

Hi All, I need to create a script to monitor a dir for new files with ext .err and also it should b a non empty files. and perform a action or command . We have a new ETL application that runs on a linux server, every times a etl fails it creates a .err file or updates the existing .err... (4 Replies)
Discussion started by: MAKHAN
4 Replies

6. Shell Programming and Scripting

multiple action!

lets explain it easy by showing the initial file and desired file: I've a file such this that contains: initial_file: 31/12/2011 23:46:08 38.6762 43.689 14.16 Ml 3.1 ... (1 Reply)
Discussion started by: oreka18
1 Replies
XtSetEventDispatcher(3X)					   XT FUNCTIONS 					  XtSetEventDispatcher(3X)

NAME
XtSetEventDispatcher - extension event handling SYNTAX
XtEventDispatchProc XtSetEventDispatcher(display, event_type, proc) Display *display; int event_type; XtEventDispatchProc proc; ARGUMENTS
display Specifies the display. event_type Specifies the event type. proc Specifies the proc. DESCRIPTION
The XtSetEventDispatcher function registers the event dispatcher procedure specified by proc for events with the type event_type. The pre- viously registered dispatcher (or the default dispatcher if there was no previously registered dispatcher) is returned. If proc is NULL, the default procedure is restored for the specified type. In the future, when XtDispatchEvent is called with an event of event_type, the specified proc (or the default dispatcher) will be invoked to determine a widget to which to dispatch the event. SEE ALSO
XtEventDispatchProc(3X) XtGetKeyboardFocusWidget(3X) XtInsertEventTypeHandler(3X), XtRemoveEventTypeHandler(3X), XtRegisterExtensionSelec- tor(3X), XtDispatchEventToWidget(3X) X Version 11 Release 6 XtSetEventDispatcher(3X)
All times are GMT -4. The time now is 10:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy