10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Recently we migrated our app from Unix to Linux platform. All our shell scripts which use to work in Unix platform are not working in Linux now.
below is such sample script. I tried removing trailing spaces, but no luck. dear experts kindly help..
#############BEGIN###############
split... (7 Replies)
Discussion started by: laxman_bly
7 Replies
2. Solaris
Scenario: I have installed a service. When I start it by running /etc/init.d/<service> start it generates a massive amount of audit data (auditd) in /var/audit. So much so that running the service for any length of time is inadvisable due to overhead.
However if I reboot the system the... (6 Replies)
Discussion started by: penguinpanzer
6 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
We are changing our OS from HP-Unix 11 to Linux Red Hat. We have few k- shell, c - shell and sql scripts which are currently running under HP-Unix 11. Will these scripts work on LINUX as it is? or we need to do any code changes?IS there anyone who have done this kind of migration before?Thanks for... (2 Replies)
Discussion started by: Phoenix2
2 Replies
5. Shell Programming and Scripting
hi all
i want to debug a csh script and i give set -x for that but i get an error.
is there any command similar to set -x for csh scripts? (3 Replies)
Discussion started by: sais
3 Replies
6. 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
7. 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
8. UNIX for Dummies Questions & Answers
I'm pretty new to the world of linux, so no flames please.
I know there is a plethora of info out on the internet about writing scripts for linux, but few give actual examples.
I need some help with learning the basics of writing some simple scripts to learn the difference between windows and... (1 Reply)
Discussion started by: Strm2k
1 Replies
9. 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
10. UNIX for Advanced & Expert Users
Can anybody help me in finding out a solution for the problem below?
When we write .unix or .sh files in windows OS and port them to Unix platforms there is a character ^M inserted at the end of each line of the script file.
During ftp porting I set the transfer mode as ASCII for the script... (7 Replies)
Discussion started by: tamilselvi
7 Replies