01-07-2004
The 01 4 * * 2-6 line is failing because ends with 2.&1 instead of 2>&1
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
gdm-control
GDM-CONTROL(1) Openbox documentation GDM-CONTROL(1)
NAME
Openbox - standards compliant, fast, light-weight, extensible window manager.
SYNOPSIS
gdm-control <option>
DESCRIPTION
gdm-control lets you control gdm from within an X session. It enables you to change GDM's behaviour for when you end the current sesson.
For instance, you can tell GDM to reboot, and then immediately log out of the current session, and the computer will be rebooted.
OPTIONS
--help
Display some help and exit.
--none
Do nothing special when the current session ends.
--shutdown
Shutdown the computer when the current session ends.
--reboot
eboot the computer when the current session ends.
--suspend
Suspend the computer when the current session ends.
--switch-user
Log in as a new user (this works immediately).
AUTHORS
Openbox was written by Mikael Magnusson <mangosoft@comhem.se> and Dana Jansens <danakj@orodu.net>, aided by several contributors; for a
full list read the file AUTHORS.
This manual page was written by Nico Golde <nion@debian.org>
COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option) any later version.
On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'.
3.5.0 2013-03-27 GDM-CONTROL(1)