10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hai All,
Greetings....
I am doing a migration from Solaris to Linux .There are few scripts (logadm, nfsfind, gsscred_clean, kprop_script) for which I need a alternate in Linux.
If somebody can help.
Thanks in advance (1 Reply)
Discussion started by: Dilipkumarkm
1 Replies
2. Shell Programming and Scripting
@echo off
SET "p0=%~0"
SET "p1=%~1"
SET "p2=%~2"
SET "p3=%~3"
SET "p4=%~4"
SET "p5=%~5"
SET "p6=%~6"
SET "p7=%~7"
SET "p8=%~8"
SET "p9=%~9"
SHIFT
SET "p10=%~9"
SHIFT
SET "p11=%~9"
SET "zip_path=D:\OraOutput\interco\%p10%"
echo Program... (5 Replies)
Discussion started by: monisha
5 Replies
3. Shell Programming and Scripting
Hi,
I have a script which invokes another script inside. Is there any way I can validate the script for syntax errors as well as checking if the files mentioned in the commands exist without executing it? Below is an example
Example.
=======================
Script1
#ksh
echo... (3 Replies)
Discussion started by: krish000
3 Replies
4. Shell Programming and Scripting
hi all, i have scripts executable in manully, but not working in cron. any ideas? thanks a lot?
* * * * * /home/dir/dir/file.sh
#! /bin/sh
alarmPath="/home/dir/monitoringAlarm"
alarmDateTime="$(date +%Y%m%d) $(date +%H%M%S)"
tomcatPID=`pidof /usr/local/jdk1.6.0_13/bin/java`
echo "tomcat... (3 Replies)
Discussion started by: maxlee24
3 Replies
5. Red Hat
hi all, i have scripts executable in manully, but not working in cron. any ideas? thanks a lot?
* * * * * /home/dir/dir/file.sh
#! /bin/sh
alarmPath="/home/dir/monitoringAlarm"
alarmDateTime="$(date +%Y%m%d) $(date +%H%M%S)"
tomcatPID=`pidof /usr/local/jdk1.6.0_13/bin/java`
echo "tomcat... (1 Reply)
Discussion started by: maxlee24
1 Replies
6. Shell Programming and Scripting
Hi,
could someone help me to create the following scripts
Need to create couple of shell scripts on LINUX SLES 10
Using my id
---------------
First script – this script should contain su and should take input <process name>
1 -login using my id and then sudo to... (1 Reply)
Discussion started by: lookinginfo
1 Replies
7. Shell Programming and Scripting
I have scripts which I want to convert in Linux format.
Note these scripts are in txt format.But I want to convert them in Linux, as DBA's will be using this script.
Any command or utility which converts tht files in proper Linux format.
Thanks in Adavce.
Kunal (1 Reply)
Discussion started by: niceboykunal123
1 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
You have a very large file, named 'ColCheckMe', tab-delimited, that you are asked to process. You are told that each line in 'ColCheckMe' has 7 columns, and that the values in the 5th column are integers. Using shell functions (and standard LINUX/UNIX filters), indicate how you would... (7 Replies)
Discussion started by: am2007
7 Replies
9. UNIX for Dummies Questions & Answers
:confused: I am working on transferring "good" running code scripts from unix to linux (suse). Some errors show in linux that are not present in unix. Specifically, the error code is: codename : no closing quote This is referring to the last line of the code + one line. I have used temporary... (3 Replies)
Discussion started by: pjconfig
3 Replies
10. Shell Programming and Scripting
I want to write a script which connects to another linux via ssh.
now i need to execute the rest of my script in that linux..
the echo is coming only when i exited from 10.1.1.252..
pls help (4 Replies)
Discussion started by: esham
4 Replies