10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
so I'm using this shell script someone made to backup data on a server in an archive (gpg encrypted) and upload to an FTP (meant to be run as a cron job daily). can one of the experts here confirm if the script is fine?
It is meant to backup the folder /opt and the sql data
i want to know how I... (9 Replies)
Discussion started by: galapagos8000
9 Replies
2. Shell Programming and Scripting
Hi ...programmers...
I need a shell script to perform some specific task..
my txt file looks like this
netcdf new {
dimensions:
XAX1_11 = 11 ;
variables:
double XAX1_11(XAX1_11) ;
XAX1_11:point_spacing = "even" ;
XAX1_11:axis = "X" ;
float DEPTH(XAX1_11) ;... (19 Replies)
Discussion started by: Akshay Hegde
19 Replies
3. Shell Programming and Scripting
I need to get notification via email when the line containing a pattern is changed in a file. Not during the time any changes to file occurs. Ie if we reset a user password say example, demouser the hash in the line containing the word demouser in the file /etc/group changes. So when this change... (1 Reply)
Discussion started by: anil510
1 Replies
4. Shell Programming and Scripting
Hello Team,
I have prepared script which will check for listening message for ports 1199,1200 and 1201. I need modifcation in script in such a way that if port 1200 is not listening then it should message rmi port 1200 is not listening. Smap for port 1199 and 1201.
kindly guide me to acheive... (4 Replies)
Discussion started by: coolguyamy
4 Replies
5. Solaris
What should be the crontab entry in solaris to run a script on 1st of every month?
Is this correct?
00 02 1 * * <script to be executed> (5 Replies)
Discussion started by: deepaksahni0109
5 Replies
6. Shell Programming and Scripting
Hi all
Iam very new to Shell Scripting, I have to modify a shell script looking at an existing one except that it will query against some table X in A database.
Befor Spooling check if there are any reload files if there archive the files.
The above scipt executes some abc.sql which will b a new... (2 Replies)
Discussion started by: Varunkv
2 Replies
7. AIX
Hi. I'm new to AIX and I need to create a crontab entry to run a script every first 5 business days of the month? please help. (2 Replies)
Discussion started by: udelalv
2 Replies
8. UNIX for Dummies Questions & Answers
Hello everyone,
I would like to know how to compare two files and modify any differences with some other data using shell script.
I think it would be better understood with an example.
I got two files named 'filex' and filey'. 'filex' is constant file without any changes in data. 'filey' is... (2 Replies)
Discussion started by: maddy81
2 Replies
9. Solaris
Hi all -
I've searched the forums and seen a few questions related, but nothing which explicitly answers what I'm looking for.
I need to know if there's ANY way to get the modification history of any users crontab.
Yes, I know that crontabs are in /var/spool/cron. I know that the... (2 Replies)
Discussion started by: amcq
2 Replies
10. UNIX for Dummies Questions & Answers
Hi i have a ques in Shell scripting:
ques: accept a filename as a command line argument. Validate the input and display the last modification date for that file.
Help pls. (4 Replies)
Discussion started by: onlyc
4 Replies