10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a shell script which calls a sql script.
But in the output file I'm getting an additional '^L' character.
Please advise how this is to be handled.
SET SERVEROUTPUT ON
SET VERIFY OFF
SET HEADING OFF
SET NEWPAGE NONE
SELECT 'ALTER INDEX '||... (2 Replies)
Discussion started by: narayanv
2. Shell Programming and Scripting
Iam new to shell scripting,i have a text file in my $home directory mentioned below.
I need to refer the above file in my automated script but the number 201249 used to change every week.How can i refer to this file everyt time without renaming it manually?
Thanks in... (7 Replies)
Discussion started by: Jroyal
3. Shell Programming and Scripting
Hi , I need little help regarding my script.
I have a file called abc which looks below.
Another file looks like this (xyz).
How would i add column mentioned in second file so that the file looks as below.
Rohan 12 Mumbai... (2 Replies)
Discussion started by: pinga123
As I am new in UNIX , and I want to learn UNIX shell scripting.
where shall I get material for Scripting ( For basics fundamentals and production environmental scripts)
Kindly provide me ...................... (7 Replies)
Discussion started by: sunray
5. Shell Programming and Scripting
I am new to Unix shell scripting.I have a requirement where I have to search for a particular file in a Unix directory based on some criterian of the content of the file.Actually there would be two files with same name and then I have zip them together and stoe in the same directory.
As... (1 Reply)
Discussion started by: Kunal Banerjee
6. Shell Programming and Scripting
I need to write a script which reads the file and prints them horizontally.
the file contains something like
my script reads this file as "for i in `cat filename`", but I need an output something like
"config file = x1.ccfg,... (3 Replies)
Discussion started by: dineeshkg
7. Shell Programming and Scripting
I have script that get the files from sFtp server to Unix server. The script is below.
-- Batch File (mybatch)
get abc123.csv in/abc123.csv
get def456.csv in/def456.csv
get ghi789.csv in/ghi789.csv
-- Script File
sftp -b mybatch firstname.lastname@example.org >... (1 Reply)
Discussion started by: samrio
8. Shell Programming and Scripting
When i execute rm -f $1 via a script file named rmf, it is not deleting all the files, say starting with "sec". i have execute rmf for many times to remove all the occurrences...
$rmf sec* - this should delete all files starting with sec, but not.
The rm -f sec* is working fine. kindly help... (3 Replies)
Discussion started by: frozensmilz
9. UNIX for Dummies Questions & Answers
I am trying to write an expect script for remote server login. At some point of time I need to telnet based on the output of grep command. Based on the output I need to select the ip address of the server. How can I write an expect script for the same. The output of the grep command is as follows:... (1 Reply)
Discussion started by: ayyappakumar
10. Shell Programming and Scripting
I am totally new to this forum so if I am asking this and it has already been asked I apologize, but I have yet to have time to figure out how to search effectively for answers in previous posts. I'll figure it out tomorrow I just wanted to get this out there in case there is someone with this... (6 Replies)
Discussion started by: New_Guru