10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am SQL developer and new unix user.
I need to create some file and file content based on information in two files.
I have one file contains basic information below file1 and another exception file file2. the rule is if "zone' and "cd" in file1 exists in file2, then file name is... (13 Replies)
Discussion started by: Torhong
2. Shell Programming and Scripting
I have multiple files in the folder, I want to move those files into the other folder on based of name
Template_server1_02==>To one directory /Server1
Template_server2_02==>To one... (9 Replies)
Discussion started by: sharsour
3. Shell Programming and Scripting
I am having a database that generates daily backup files in the below format.
Can you please suggest a method to copy the last day's file to another location.
I am trying with if statement, but having difficulty while I use the condition like
if ; then
... (4 Replies)
Discussion started by: skooby
4. Shell Programming and Scripting
I am new to shell scripting. I have a unique requirement:
The system generates a single pdf(/tmp/ABC.pdf) file with Invoices for Multiple Customers, the format is something like this:
Page1 >> Customer 1 >>Invoice1 + invoice 2 >> Page1 end
Page2 >> Customer 2 >>Invoice 3 + Invoice 4... (3 Replies)
Discussion started by: DIps
5. Red Hat
Please help me with this!! Thanks in advance!!
I have a file named file.gc with the content:
1-- Mon Sep 10 08:53:09 CDT 2012
2revoke connect from FR2261;
3delete from mkt_allow where grantee = 'FR2261';
4grant connect to FR2261 with '******';
5alter user FR2261 comment... (0 Replies)
Discussion started by: raosr020
6. Shell Programming and Scripting
I want to remove the content based on the header information .
Please find the example below.
I have to search for the DepId and remove the data from the... (5 Replies)
Discussion started by: i150371485
7. Shell Programming and Scripting
I am creating a script that is going to scan the contents of a directory, and if it finds a certain DocumentName that is a certain size (The example, DocumentName and a size of 8777)
If this file exists, it needs to be moved to a directory for later removal/processing..anyone have... (7 Replies)
Discussion started by: jeffs42885
8. UNIX for Dummies Questions & Answers
I have several text files each containing some data as shown below:
What I want is to change the 'DataHeader' based on the file name. So the output should look like:
... (1 Reply)
Discussion started by: Fahmida
9. Shell Programming and Scripting
Need some help, your input is appreciated.
I have five files, each has one line with comletely different content. I execute the command to combine all the five lines of content into a single file.
I would like to take that single file that has the... (3 Replies)
Discussion started by: royarellano
10. UNIX for Advanced & Expert Users
I am having an requirement. i have to read a list file which contains file names and send mail to different users based on the files in the list file.
eg. if file a.txt exists then send a mail to firstname.lastname@example.org
simillary for b.txt,c.txt etc.
Thanks for your help,
Nimu (6 Replies)
Discussion started by: nimu1979