10 More Discussions You Might Find Interesting
1. How to Post in the The UNIX and Linux Forums
Hi All,
Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries.
example:
Parent is :
----------
dn: email=yogesh.kumar@wipro.com, o=wipro, o=in
child is:
----------
dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
Discussion started by: Chand
1 Replies
2. Shell Programming and Scripting
Hi,
I have a shell script which needs to be run at 5 am everyday.I have crontab entry as "0 5 * * 0-6 /wfsdev1/app/edw/bin/HealthCh.sh" but this job is not running at scheduled time.What can be the possible reasons for this?
Thanks,
Anil (5 Replies)
Discussion started by: anil029
5 Replies
3. Shell Programming and Scripting
Hi,
Please help me with below scenerio...
i have a shell script.. which should be scheduled in cron and should get the log when executed.
example, script.ksh :
echo "narayana" >$HOME/script.log
* * * * * bash -x $HOME/script.ksh >$HOME/script_cron.log
My question is:
I am... (2 Replies)
Discussion started by: lnviyyapu
2 Replies
4. AIX
Hi,
I have a system with network interfaces en0 and en1
en0:
physical ip: 1.1.1.10
virtual ip1: 192.168.100.11
virtual ip2: 192.168.100.12
en1:
physical ip: 1.1.1.20
virtual ip1: 192.168.100.20
virtual ip2: 192.168.100.21
default gateway ist 192.168.100.254
when I open a... (12 Replies)
Discussion started by: funksen
12 Replies
5. AIX
I still trying to monitorice an AIX server. hrSWRun is defined on mib.defs but I don't know why there is no data below the hrSWRun branch (1.3.6.1.2.1.25.4)
What can i do??? (2 Replies)
Discussion started by: MikelCV
2 Replies
6. HP-UX
Hi relatively new to unix so sorry if this is a stupid question:
How do i add a printer entry into the host file.
I know how to add the printer using sam, but i am required to add the host file entry into /etc/hosts which i am unaware of how to do.
Any help would be greatly appreciated. (2 Replies)
Discussion started by: Wade Gava
2 Replies
7. Shell Programming and Scripting
Hi,
I have a table which looks like this
Line a b c
0 10 0 0
1 0 0
2 0 ... (1 Reply)
Discussion started by: ahjiefreak
1 Replies
8. Linux
Well the problem comes when i try to add an extra file into the existing filesystem mounted at some mountpoint containing a single file hello.
suppose i add a file say "TANVIR"(c it on d line next to line no:49) ,
it gives me abnormal results......
like 1)d file can't be opened
2)no file... (0 Replies)
Discussion started by: Tanvirk
0 Replies
9. Shell Programming and Scripting
I have written this small script to add an entry to a remote /etc/hosts file which needs to be run from our central admin box and is passed one parameter $1 <hostname>
#!/bin/ksh
echo "Which host entry would you like to add to $1"
read host_to_add
echo "what is the IP address?"
read ip
... (4 Replies)
Discussion started by: hcclnoodles
4 Replies
10. Shell Programming and Scripting
Hi All,
I am using a script for remotely logging into a rhost using telnet and shutdown a server. The script is as follows.
IP = 10.24.12.23; export IP
UNAME = username ; export UNAME
PWD = password; export PWD
CRDIR = /etc/rc.d/init.d ; export CRDIR
echo "logging into remote... (4 Replies)
Discussion started by: patil_reddy
4 Replies