05-12-2017
Does the find command on your system (the details of which you fail to mention) offer the -daystart option?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have writtena script that will recursivly go into subdirecotries and report out what files there are in there that have not been accessed over various date ranges.
I do this using a number of find commands:
find . -path './.snapshot' -prune -o -type f -atime -8
find... (4 Replies)
Discussion started by: littleIdiot
4 Replies
2. Shell Programming and Scripting
Hi people,
I have 2 files, one with a list of non consecutive ranges (File1.txt), where each range begins with the value in column 1
and finishes with the value in column 2 in the same line, as can be seen above.
215312581156279 215312581166279
215312582342558 215312582357758... (4 Replies)
Discussion started by: cgkmal
4 Replies
3. Shell Programming and Scripting
Hi,
Please anyone help to achive this using perl or unix scripting .
This is date in my table 20090224,based on the date need to check the files,If file exist for that date then increment by 1 for that date and check till max date 'i.e.20090301 and push those files .
files1_20090224... (2 Replies)
Discussion started by: akil
2 Replies
4. Shell Programming and Scripting
Hi All,
The developers want me to search and capture the weblogic log, you know this big logs of htmls.
They want to me to have ranges on the date and time. Like
from "2010-01-20 14:04:46,186" to "2010-01-20 15:00:12,490"
I can only do this,
cat /usr/local/bea/logs_prod1/debug.log |... (1 Reply)
Discussion started by: itik
1 Replies
5. Linux
Hi All,
The developers want me to search and capture the weblogic log, you know this big logs of htmls.
They want to me to have ranges on the date and time. Like
from "2010-01-20 14:04:46,186" to "2010-01-20 15:00:12,490"
I can only do this,
cat /usr/local/bea/logs_prod1/debug.log... (1 Reply)
Discussion started by: itik
1 Replies
6. Shell Programming and Scripting
hi !
how can i get files in a directory between certain date ranges ?
say all files created/modified between Jan24 - Jan31
thanks (10 Replies)
Discussion started by: aliyesami
10 Replies
7. Shell Programming and Scripting
I have been struggling with a script to automate some security related activities. I have it pretty much working, all except the search. I have an input file formatted as such:
216.234.246.158 216.234.246.158 ``
24.249.221.22 24.249.221.200 ``
24.249.226.0 ... (4 Replies)
Discussion started by: tsunami4u
4 Replies
8. Shell Programming and Scripting
Hi,
i want to make script. In a directory everyday( exclude sat and sun) in between 10 pm to 1 am there are 2 files comes and when file comes it will mail us. Format for files is mentioned below.
please help me on making this, and also have year end consider and if files come after 12 am it... (6 Replies)
Discussion started by: pallvi_mahajan
6 Replies
9. Programming
Hi Guys,
I am having below tables used in oracle
bal
ID BALANCE BAL_DATE
1 -11.71 01-JAN-05 00.00.00
1 -405.71 02-JAN-05 00.00.00
1 -760.71 03-JAN-05 00.00.00
ref_table
PRODUCT EFF_FROM_DATE EFF_TO_DATE TYPE MIN_AMT MAX_AMT CHARGE
12 01-JAN-05 00.00.00 01-JAN-06... (6 Replies)
Discussion started by: rohit_shinez
6 Replies
10. Shell Programming and Scripting
Hi There, Good Day !!
I have txt file containing data in the below format. There are many lines, here i have mentioned for example.
cat remo.txt
2/3/2017 file1
3/4/2016 file2
6/6/2015 file5
1/1/2018 file3
4/3/2014 file4
-
-
-
I need to grep the file names for given date rage... (11 Replies)
Discussion started by: kumar85shiv
11 Replies
MAKEDEV(8) System Manager's Manual MAKEDEV(8)
NAME
MAKEDEV - makes system special files
SYNOPSIS
/dev/MAKEDEV [argument] [device-name?...]
DESCRIPTION
The MAKEDEV shell script is normally used to install special files. It resides in the /dev directory, the normal location of special files.
Arguments to MAKEDEV are usually of the form device-name? where device-name is one of the supported devices listed in Section 7 of the
Reference Pages and ? is a logical unit number. The argument operand is one of the following special arguments that create assorted col-
lections of devices: Creates all standard device files for all systems.
Standard devices for Alpha systems (in the order they are created) are as follows: klog, kcon, kbinlog, kmem, mem, null, vmzcore,
console, ws0, mouse0, keyboard0, tty, pty0, pty1, ptmx, cam, audit, prf, pfcntr, zero, snmpinfo, lockdev, and sysdev0. Creates a
set of 16 LAT device special files, one for each LAT terminal device. The n specifies the set option. The set option range is 0 to
38. Specifying lat38 creates 12 LAT device special files. Creates groups of pseudoterminal device special files, as follows: Cre-
ates pty0 to pty22. Creates pty23 to pty45. Creates pty46 to pty56. Creates pty57 to pty64. Creates pty65 to pty72. Creates
pty73 to pty80. Creates pty81 to pty88. Creates pty89 to pty96. Creates pty97 to pty101.
The # specifies the group of pseudoterminal device special files created. Creates a group of packet filter device special files, as
follows: Creates pfilt0 to pfilt63. Creates pfilt0 to pfilt63. Creates pfilt0 to pfilt127. Creates pfilt0 to pfilt255. Creates
pfilt0 to pfilt511. Creates pfilt0 to pfilt1023. Creates pfilt0 to pfilt2047. Creates pfilt0 to pfilt3071. Creates pfilt0 to
pfilt4095.
The # specifies the number of ppacket filter device special files created. Creates those devices specific to the local site. This
request causes the shell file /dev/MAKEDEV.local to be executed. This file must exist prior to using the local argument. Site spe-
cific commands, such as those used to setup dialup lines as ttyd? and to create device special files for all non-Compaq devices,
should be included in this file.
Because all devices are created using mknod(8) this shell script is useful only to the superuser.
NOTES
The MAKEDEV script installs files in the current working directory. Although device special files can be located anywhere on the system,
they are usually created in the /dev directory, since this is where most applications expect to find them.
Refer to the dsfmgr(8) reference page for information on the Device Special File Manager program.
ERRORS
Either self-explanatory, or generated by one of the programs called from the script. Use sh -x MAKEDEV in case of trouble.
SEE ALSO
Commands: config(8), dsfmgr(8), mknod(8)
Interfaces: intro(7), packetfilter(7), pty(7)
MAKEDEV(8)