9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a log file that I want to extract the field name and the field value
and write them to a text file for importation it a database table for reporting purposes.
How can I extract the desired data from this file .
Example: dbt_dbid=4
dbt_dbid is the field name
4 is the field value... (4 Replies)
Discussion started by: JolietJake
4 Replies
2. Shell Programming and Scripting
Hi All,
I need to create a script to monitor a dir for new files with ext .err and also it should b a non empty files. and perform a action or command .
We have a new ETL application that runs on a linux server, every times a etl fails it creates a .err file or updates the existing .err... (4 Replies)
Discussion started by: MAKHAN
4 Replies
3. Shell Programming and Scripting
Hi,
I am new to shell scripting.
please help me to find out the solution.
I need a script where we need to read the text file(consists of all file names) and get the file names one by one
and append the date suffix for each file name as 'yyyymmdd' .
Then search each file if exists... (1 Reply)
Discussion started by: Lucky123
1 Replies
4. Shell Programming and Scripting
Moderator, please, delete this topic (1 Reply)
Discussion started by: optik77
1 Replies
5. UNIX for Advanced & Expert Users
When vfat format my128kb flash drive, shred works fine. But, when I format it using ext2 or ext3, shred() exits with this error:
shred: /dev/sdb1: pass 1/1 (random)...
shred: /dev/sdb1: error writing at offset 12288: Invalid argumentAnyone know what is going on? (0 Replies)
Discussion started by: codecellar
0 Replies
6. Shell Programming and Scripting
Hi,
svn diff does not work very well with 2 local folders, so I am trying to do this diff using diff locally.
since there's a bunch of meta files in an svn directory, I want to do a diff that excludes everything EXCEPT *.java files. there seems to be only an --exclude option, so I'm not sure... (3 Replies)
Discussion started by: ackbarr
3 Replies
7. Shell Programming and Scripting
Hi,
I need to rename a file like this to include date and time:
Original File : error.log
Date time: Sep 20, 2007 14:10:10
New File Name: error.log.20070920_1410
How can I get date and time stame and include it in mv command.
Thanks in advance (2 Replies)
Discussion started by: tripsat
2 Replies
8. UNIX for Dummies Questions & Answers
how can I find out what is the difference between two tar.gz files without uncompressing them.
thank you. (7 Replies)
Discussion started by: rakeshou
7 Replies
9. Shell Programming and Scripting
Hello,
I want to compare two files. All records in file 2 that are not in file 1 should be output to file 3.
For example:
file 1
123
1234
123456
file 2
123
2345
23456
file 3 should have
2345
23456
I have looked at diff, bdiff, cmp, comm, diff3 without any luck! (2 Replies)
Discussion started by: blt123
2 Replies