Sponsored Content
Full Discussion: Command Functionality
Top Forums UNIX for Dummies Questions & Answers Command Functionality Post 302697777 by vbe on Friday 7th of September 2012 11:07:36 AM
Old 09-07-2012
Is your post not missing something? (the command line perhaps... Smilie )
This User Gave Thanks to vbe For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Date functionality

Hi, Could someone help me to get yesterday's date in MMDDYY format. echo `date '+%m%d%y'` is giving me today's date in the above format. Thanks in advance for your help.. Suresh. (1 Reply)
Discussion started by: svannala1
1 Replies

2. Shell Programming and Scripting

Sed functionality

I have a few xml files and I want to input say 5 parameters within each file. is it possible to do so with sed? <parameter>A</parameter> <parameter>B</parameter> .... .... And so on. These parameters are meant to go in just inside: <?xml... (2 Replies)
Discussion started by: collern2
2 Replies

3. Shell Programming and Scripting

Restartibility Functionality....

Hello, I am trying to write a script that has a option of restarting the script from where it failed. I have to write a script called Batch.sh. This script has to run quite a few sql files as shown below: logcmd.sh -f test1.sql logcmd.sh -f test2.sql logcmd.sh -f test3.sql logcmd.sh -f... (4 Replies)
Discussion started by: rkumar28
4 Replies

4. UNIX for Dummies Questions & Answers

using functionality in another ksh

i have a function defined in one ksh i want to use the same functionality in another ksh i am using . ../<ksh name> but it is not picking that functionality what i have to do for the same (2 Replies)
Discussion started by: trichyselva
2 Replies

5. Shell Programming and Scripting

Pipe Functionality

Hi, I am trying to emulate the '|' functionality through pipe function call. I am passing the o/p of exec in parent as input to the exec in child. The buf is readin the o/p but the exec in child is not working. Can somebody checkout the code and point where am i going wrong or missing something.... (3 Replies)
Discussion started by: amejoish
3 Replies

6. UNIX for Dummies Questions & Answers

Help with the functionality of the last (&/or who) command.

I'm a Bash Newbie, hope you guys can help. n.n Ok, So I need to make a script that will get a list of the Users that are/have logged in (recently). I've been wondering how to get it with either the last or the who command. This Poses a problem, as with who, it ONLY shows the Users... (3 Replies)
Discussion started by: lsteamer
3 Replies

7. Shell Programming and Scripting

Trigger functionality in Unix

Hi, I want a script , which searches the log for the term/phrase "JFSnapshotService::systemSnapshot: Starting data capture. This may take awhile depending upon system workload." and if there is some logging like this, it has to mail me that this data capture process is happening., Below is... (2 Replies)
Discussion started by: cratercrabs
2 Replies

8. Shell Programming and Scripting

Wait functionality in Solaris

hi all , If pid is not an active process ID, the wait utility will return immediately and the return code will be 0. i just came across this which means that wait will returm 0 even though the script has failed :( so can anyone tell me what is the exact way to get the return status from wait... (3 Replies)
Discussion started by: Rahul619
3 Replies

9. UNIX for Dummies Questions & Answers

Zip -r Functionality

Hi , I've written the following code to zip the big file $dir_temp ="/home/etc/hst zip -r $dir_temp/file_nm.zip $dir_temp/file_nm The zip file has been created . When I try to UNZIP the file with the following command unzip file_nm.zip The file got unzipped but created in the... (3 Replies)
Discussion started by: smile689
3 Replies

10. UNIX for Beginners Questions & Answers

Grep command functionality - discussed

what is the following bash command does grep `date +%Y-%m-%d --date='1 day ago'` /path/to/file/FILE_PREFIX_\`date +%Y%m%d --date='1 day ago'`.dsv | grep -v 'ERROR' | cut -d "|" -f 2 | sed 's/^0/27/' (1 Reply)
Discussion started by: tera
1 Replies
cdk_params(3)						     Library Functions Manual						     cdk_params(3)

NAME
cdk_params - Cdk command-line parsing SYNOPSIS
cc [ flag ... ] file ... -lcdk [ library ... ] #include <cdk.h> int CDKparamNumber ( CDK_PARAMS *params, int option); int CDKparamNumber2 ( CDK_PARAMS *params, int option, int missing); char * CDKparamString ( CDK_PARAMS *params, int option); char * CDKparamString2 ( CDK_PARAMS *params, int option, char *missing); void CDKparseParams ( int argc, char **argv, CDK_PARAMS *params, char *options); int CDKparsePosition ( char *string); int CDKparamValue ( CDK_PARAMS * params, int option, int missing); DESCRIPTION
These are a set of functions used to implement the command-line utilities and demonstration programs for Cdk. Rather than set the pro- grams' options at initialization, they construct a simple database which holds the common parameters using CDKparseParams(). AVAILABLE FUNCTIONS
CDKparamNumber Retrieves an integer (or boolean) option value from the parsed command-line. CDKparamNumber2 Retrieves an optional integer (or boolean) value from the parsed command-line. If the command line option is not present, the missing value is used. CDKparamString Retrieves a string option value from the parsed command-line. CDKparamString2 Retrieve an optional string option value from the parsed command-line. CDKparamValue Retrieve an integer (or boolean) option value from the parsed command-line. CDKparseParams Parse the given argc/argv command-line, with the options passed to getopt()'s 3rd parameter. CDKparsePosition Parse the string as one of CDK's positioning keywords, or an actual position. SEE ALSO
cdk_position (3), getopt (3) cdk_params(3)
All times are GMT -4. The time now is 10:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy