10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Folks,
I have an requirement, where i need to get total count of the file based on creation date with there filename selected pattern.
Filename: MobileProtocol.20171228T154200.157115.udr
I want to get the count of files created on each day based on a pattern find.
find . -type... (7 Replies)
Discussion started by: sadique.manzar
7 Replies
2. UNIX for Dummies Questions & Answers
Hello :)
This is my first post here.
I am using MKS Toolkit for ksh and awk programming.
The lines that are executed in ksh are shown with a '+' and the values are also shown in the console window.
In case of awk, the interpretation/execution of every line is not available.
Can you please... (2 Replies)
Discussion started by: Naveen_Hinduja
2 Replies
3. Shell Programming and Scripting
Hi,
I am quite new to Perl scripting and i need to create a .TXT file using perl, with fields (A,B,C,D,E), and this text file should be named with current file creation date "XYZ_CCYYMMDD.TXT" (i.e.XYZ_2011042514:33 PM).
Can anyone who has done this, please share their expertise on this... (5 Replies)
Discussion started by: msrahman
5 Replies
4. Solaris
Hi,
some logs are not getting created under the required folder, which was working fine when i saw last time(15days back). Thought may be some issue with syslog deamon and did lot of R&D. Still not able to fix the bug.:wall: Is there any one to help me out ? Quick response will be appreciated.... (6 Replies)
Discussion started by: Sricharan21
6 Replies
5. Solaris
I want to gzip a file and append the creation date to the end of the file. How can I accomplish this task. Basically they are log files which need a creation date stamp appended to make sure they do not overwrite other log files.
-jack (3 Replies)
Discussion started by: jacktravine
3 Replies
6. UNIX for Advanced & Expert Users
Hi,
Is there any way to restrict directories with one type of file creation.
regards. (8 Replies)
Discussion started by: guguli
8 Replies
7. UNIX for Dummies Questions & Answers
Cameron,
I have deleted the cron log file and create a new cron log file as the older was sucking up the disk space. now i have rescheduled the cron job but i dont see any logs on the newly created log file. I am confused what has happened. Can u help me out on this. (0 Replies)
Discussion started by: sanei05
0 Replies
8. Shell Programming and Scripting
hi guys
Kindly see the below script
#!/bin/bash
if
then
# check to see if file notrouter exits or not
if ! ls -l notrouter /root/joy/ >/dev/null
then
touch /root/joy/notrouter
else
echo "Entries already exist"
fi
else
echo "Entries does not exist"
fi
here... (1 Reply)
Discussion started by: whizkidash
1 Replies
9. Shell Programming and Scripting
Hello,
I am new to unix , and I need to create a shell sciprt which helps me FTPing file from LAn to Unix box.
These files r then processed using Perl script and put in a database.
I also need to log the entire process of all the above methods in a log file in the same shell script.
Like ,... (2 Replies)
Discussion started by: agarwalniru
2 Replies
10. Shell Programming and Scripting
HI
I want to create a date folder and then a log file under it, which will hold all output of shell script. Say shell script abc.sh runs every day and I want to redirect the output of abc.sh > /opt/bea/wls81/Pkmtest/$(date +%Y%m%d)/ant.log.
Here date should always change according to system... (2 Replies)
Discussion started by: pankajkrmishra
2 Replies