---------- Post updated at 10:59 AM ---------- Previous update was at 10:54 AM ----------
Thanks for your quick reply but I am still getting 3 files.
Suppose I have AA, BB and CC files.
Now AA files is created in 01-Sep-2017
And BB files is created in 01-Mar-2017
And CC files is created in 01-Oct-2017
So If I pass the parameter as 01-Aug-2017 so it should print only 2 files i.e.AA(created in 01-Sep-2017) and CC( created in 01-Oct-2017)
Hi
I need to pass a date argument with my shell script. Can any one send me code for the same.
eg For 15th Aug 2006. Iwant to pass parameter like this
./startenv.sh 08/15/2006.
Everyday date argument must change. Will the below code work ?
./startenv.sh date '+%m/%d/%y'
THanks... (1 Reply)
Hi All,
I have a crontab entry for every 5 min running.
5 * * * * /tmp/scripts/ksh/CsVues_H.sh `date +%Y%m%d_%H` >> /tmp/scripts/ksh/Cronresult.log
and I am passing the date parameter. ( `date +%Y%m%d_%H` )
But the parameter values which i am expecting inside the script is... (6 Replies)
Hi All
I have a shell script which calls all the Teradata Utiltyes . There is a sudden change in the requirment .
What i'm asked to do is
pass on the DATE to the shell script which should take the date automatically and run the utilityes.
i.e. the date should not be passed on... (5 Replies)
Hello Everyone,
I have been trying to complete a shell script where, I need to increment the date depending on the file (depending on the date) availability on the remote server.
i.e.
Basically, I will be passing a counter (like parameter 1 or 2 or 3 or 4).
First I will check for the... (1 Reply)
I need to execute a .ksh from command line. The ksh calls a control file and has 3 parameters. First parameter is a csv file, second the target table in oracle and third parameter is a date parameter.
I am attempting the below from the ksh command line
{code} => testfile.ksh filname.csv... (1 Reply)
I have a file with timestamp in the file name
FILE=DETAIL_20120419141952_CODE.txt
I am using the below expression to derive the file name
FILE=DETAIL_$(date +'%Y%m%d')*_CODE.txt
echo gives me correct filename
but when I call it as a paramter to another script its being taken as.
... (3 Replies)
Hi,
I have a trigger file which looks like this abcdefgh_YYYYMMDD.trg The YYYYMMDD is the year, month and the date. So for example today the trigger file would be abcdefgh_20130703.trg similarly tomorrow it would be abcdefgh_20130704.trg
I need to write a script to check if the trigger file... (2 Replies)
Hi All,
How do i get the last date of a month in Unix based on a parameter value.
My requirement is if i pass 03/05/2014 as parameter, then i shud get the output/return value as 2/28/2014
If i pass 03/31/2014 as parameter, the output/return value should be 03/31/2014 itself.
Also,... (2 Replies)
Hi,
I have a requirement where I have to pass Date to a script and get the day from it.
Ex If parameter is 2015-09-29
The output should be Tuesday.
Can you please tell me how to get that? (6 Replies)
Hello All,
we what we call a parameter file (.txt) where my application read dynamic values when the job is triggered, one of such values are below:
abc.txt
------------------
line1
line2
line3
$$EDWS_DATE_INSERT=08-27-2019
line4
$$EDWS_PREV_DATE_INSERT=08-26-2019
I am trying to... (1 Reply)
Discussion started by: pradeepp
1 Replies
LEARN ABOUT DEBIAN
uml_switch
UML_SWITCH(1) General Commands Manual UML_SWITCH(1)NAME
uml_switch -- switch daemon for user-mode Linux
SYNOPSIS
uml_switch [-unix control_socket data_socket] [-hub] [-tap tun device] [-compat-v0] [-daemon]
DESCRIPTION
This manual page documents briefly the uml_switch program.
This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.
uml_switch is a daemon for managing a virtual network between user-mode Linux systems, with no connection to the host system's network.
It will listen for connections on a pair of UNIX domain sockets, and forward packets between clients which connect to them.
OPTIONS -unix control_socket data_socket
Listen on the specified pair of sockets, instead of the defaults.
-hub Act like a hub. This means that packets received will be broadcast over all virtual links. The default is to act as a switch,
where packets are only sent to the link matching the destination MAC address of the packet.
-tap tap device
Connect the switch to a dynamically created tap device on the host
-compat-v0
Specify control protocol version 0 compatibility.
-daemon Run in the background as a daemon.
SEE ALSO linux(1)
The UserModeLinux-HOWTO (link to URL http://user-mode-linux.sourceforge.net/UserModeLinux-HOWTO.html)
AUTHOR
uml_switch was written by Jeff Dike and others.
This manual page was written by Matt Zimmerman mdz@debian.org for the Debian GNU/Linux system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later
version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
UML_SWITCH(1)