11-05-2015
Hi RudiC,
AM trying to supress -rf argument for rm command.
Regard's
Venkat
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear Friends,
I need a help regarding User defined function in shell script.
My problem is as follows:
my_func.sh
my_funcI(){
grep 'mystring' I.dat
}
my_funcQ(){
grep 'mystring' Q.dat
}
myfuncI
myfuncQ
But As both the function has same function only the... (11 Replies)
Discussion started by: user_prady
11 Replies
2. Shell Programming and Scripting
Hello,
I need to call a function which reside in some package moudle (.pm)
as another user by using su -.
Are anyone know how can I do it?
Thanks (1 Reply)
Discussion started by: Alalush
1 Replies
3. Shell Programming and Scripting
To find all the files in your home directory that have been edited in some way since the last tar file, use this command:
find . -newer backup.tar.gz
Is anyone familiar with an older solution?
looking to identify files older then 15mins across several directories.
thanks,
manny (2 Replies)
Discussion started by: mr_manny
2 Replies
4. Shell Programming and Scripting
Hello all,
I have created a script that will remove the first two lines of one text file (body.txt) and then add the text from a different text file (header.txt) directly to the beginning of the freshly modified body.txt file. It is as follows:
#!/bin/bash
## This script will add a header... (2 Replies)
Discussion started by: marcozd
2 Replies
5. Shell Programming and Scripting
Hi,
I have a script that copies a file from one directory to another and compiles it.
What I have now is a menu that calls functions and each function compiles the file.
I want to have a function that compiles the file at the end of the script if the user selects options 1-3 in the menu, but... (0 Replies)
Discussion started by: amitlib
0 Replies
6. Shell Programming and Scripting
Here's a snippit from a script I'm working on
srvctl config database | \
awk -F\" '{print "srvctl config database -d " $1 " -a" \
RS "echo =================================================="}' \
> /tmp/x$$.sh
chmod 777 /tmp/x$$.sh
/tmp/x$$.sh
As you can see, I'm piping the... (12 Replies)
Discussion started by: edstevens
12 Replies
7. Solaris
Hello all,
Solaris 11.
Branch: 0.175.3.35.0.6.0
Asking for some assistance in trying to understand how Apache24 works with svcadm.
I used:
svccfg -s network/http:apache24
listprop
setprop start/user=<rabbit>
setprop start/group=<pod>
This is also set in... (1 Reply)
Discussion started by: smiloo
1 Replies
LEARN ABOUT BSD
sttkintro
sttk_intro(3) ShapeTools Toolkit Library sttk_intro(3)
NAME
sttk_intro - introduction to the ShapeTools Toolkit Library
SYNOPSIS
#include <config.h>
#include <sttk.h>
char* stVersion (void);
DESCRIPTION
The ShapeTools Toolkit library (sttk) is a set of functions to be used in various parts of the ShapeTools configuration management toolkit.
Inclusion of config.h may be omitted when atfs.h is included.
stVersion returns a version identification string for the ShapeTools Toolkit library.
LIST OF FUNCTIONS AND VARIABLES
Name Appears on PageDescription
stAbortThis sttransaction.3abort transaction
stAskConfirm stuserio.3 ask user for confirmation
stCallCmd stcall.3 call command
stCallCmdErrno stcall.3error code returned by command (variable)
stCallEditor stcall.3 call editor with default contents
stCatchSigs stsignal.3 catch signals
stCleanup stsignal.3 do cleanup (remove temporary files etc.)
stConvertPattern ststring.3convert sh(1) pattern to regex pattern
stExit stsignal.3 stop program execution
stFindProgram stcall.3 check if file exists and is executable
stGetFromStdin stuserio.3read text from standard input
stGetTermWidth stuserio.3get current terminal width in columns
stInterruptAction stsignal.3address of signal handler for SIGINT (variable)
stLog stuserio.3 print message
stMessage stuserio.3 buffer for constructing messages (variable)
stMktime sttime.3 parse time string
stParseArgs stparseargs.3 parse command line arguments
stProgramName stuserio.3 name how program was called
stQuietFlag stuserio.3 suppress normal messages (no error messages) (variable)
stQuitAction stsignal.3 address of signal handler for SIGQUIT (variable)
stRegisterFile sttmpfiles.3register file
stRmRegisteredFiles sttmpfiles.3remove all registered files
stShortUsage stparseargs.3 print usage string
stShutupFlag stuserio.3 supress all messages (variable)
stStrEnter ststring.3 enter string to string table
stStrtok ststring.3 tokenize string
stSubstituteString ststring.3replace parts of a string by new string
stTermAction stsignal.3 address of signal handler for SIGTERM (variable)
stThisTransaction sttransaction.3current transaction (variable)
stTmpFile sttmpfiles.3 return unique name for temporary file
stUnRegisterFile sttmpfiles.3unregister file
stVersion sttkintro.3 print version identification string
stWriteTime sttime.3 generate time string
SEE ALSO
Andreas Lampen and Axel Mahler (Eds.)
ShapeTools, Technical Report No. 92-14, Technische Universitat Berlin, May 1992
sttk-1.7 Thu Jun 24 17:43:28 1993 sttk_intro(3)