01-07-2004
resolution!!
It seems that maybe I forgot to run to run this command {crontab root} after using VI in when editing the root file of crontabs.
Some advice to my friends out there.
When ever you edit a root file usually located in /var/spool/cron/crontabs
you must run {crontab root} to activate the script back into action.
Fortunatly I was able to recover the data
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need help with a script. Here's what I want to do.
I have a file "upsrk.txt" which can be either under "/home/upsrk" OR "/home/oracle"
On some systems file "upsrk.txt" may not exist, in that case I want to just exit out of the script.
If the file is there, I want to check if I have the... (3 Replies)
Discussion started by: upsrk
3 Replies
2. Shell Programming and Scripting
Hi guys, hope you scripting gurus here can help me out, the logic in my script somehow not working the way it should, this script part of a bigger backup script suppose to do some checking on the cluster prior to bringing up the package on MC/SG after backend cloning operation, this portion is... (3 Replies)
Discussion started by: sparcguy
3 Replies
3. Shell Programming and Scripting
Hello folks
Hope all are fine, I have query need suggestion, if these lines two lines are already commeted no need to do anything, one more thing order of alpha, gama may be different.
I have a two lines in a file data.txt
%checksum
alpha gama beta penta hexa
I want to do... (8 Replies)
Discussion started by: learnbash
8 Replies
4. UNIX for Dummies Questions & Answers
test compare shown]
Replace this text with #test compare shown] (1 Reply)
Discussion started by: manoj.b
1 Replies
5. UNIX for Dummies Questions & Answers
Is there a command to put a comment (#) in a whole part of a shell script? (5 Replies)
Discussion started by: vero_81
5 Replies
6. Shell Programming and Scripting
Legends,
Please help me out to come out of below situation.
I have a file ABC.txt with the following entries. (example below. actual entries are more than 200 lines)
PM3_fun
PM4_fun
FIMr_mrg ... (5 Replies)
Discussion started by: sdosanjh
5 Replies
7. Shell Programming and Scripting
I want to find out which files under /etc have the the following section:
and then i would like to comment out the above section in all the files.
Please help. (3 Replies)
Discussion started by: proactiveaditya
3 Replies
8. Cybersecurity
Hey Guys,
I have a server, and a technical user on it (only for reading logs). I set up openssh, and the user can login only with ssh key pair.
Under this one technical user, there are a lots of public keys in the ~/.ssh/authorized_keys file. I would like to find out/log with which key the user... (3 Replies)
Discussion started by: lyynxxx
3 Replies
9. Shell Programming and Scripting
Hello,
I have a file, in which line 40 is commented. It is basically a cron job,
#05,35,50 * * * * /usr/local/scripts/my.sh
how i can i verify the line 40 is commented, if not then give me message not commented, otherwise provide us message it is commented. (5 Replies)
Discussion started by: learnbash
5 Replies
10. Shell Programming and Scripting
I have a file
cat /root/file
#import node1
#import node2
import node2
import node4
After sed/awk operation the file should be as follows
cat /root/file
#import node1
#import node2
#import node2
#import node4 (6 Replies)
Discussion started by: anil510
6 Replies
LEARN ABOUT DEBIAN
update-metainit
UPDATE-METAINIT(1) User Contributed Perl Documentation UPDATE-METAINIT(1)
NAME
update-metainit - Generates init scripts
SYNOPSIS
update-metainit [--remove initname [--purge] ]
DESCRIPTION
Metainit solves the problem of writing good init scripts. Instead of manually creating these important files, they are derived from a
declaritive description in the metainit files in /etc/metainit. These files can be shipped with packages or created by the local adminis-
trator.
If update-metainit called without argument, it will regenerate init scripts for all the files in /etc/metainit. The generated files contain
a large warning in form of a comment that they will be overridden. Modifications are preferably done in the files in /etc/metainit and made
effective by running update-metainit. If needed, the administrator can prevent modified init files by removing the warning comment.
OPTIONS
--remove initname
This command will remove any generated and non-modified scripts that were created by the metainit file with the name initname.
--purge
Only usable with --remove. Will remove the generated files even if modified.
SEE ALSO
dh_metainit(1)
AUTHOR
Joachim Breitner <nomeata@debian.org>
perl v5.8.8 2007-07-30 UPDATE-METAINIT(1)