8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have prepared a shell script to find the duplicates based on the part of filename and retain latest.
#!/bin/bash
if ; then
mkdir -p dup
fi
NOW=$(date +"%F-%H:%M:%S")
LOGFILE="purge_duplicate_log-$NOW.log"
LOGTIME=`date "+%Y-%m-%d %H:%M:%S"`
echo... (6 Replies)
Discussion started by: gold2k8
6 Replies
2. Shell Programming and Scripting
Hi,
I am using two files - one file contains list of service name , other file contains commands for each of these service name .
I have to read each service name and check this string in 1.cfg file , if it exists , then i have to read another file (commands file ) and take the string and... (2 Replies)
Discussion started by: santhoshks
2 Replies
3. HP-UX
I have a B.11.31 U ia64 system where I swremove the disk driver "SerialSCSI-00 B.11.31.1303 PCI-X/PCI-E SerialSCSI" (by mistake). afterwards the system won;t boot because of the missing disk drivers. I'm trying to recover my kernel by using the image HP-ux_11_31_disc_1.iso
Run an Expert... (1 Reply)
Discussion started by: black_fender
1 Replies
4. UNIX for Dummies Questions & Answers
sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies
5. Shell Programming and Scripting
Files to be merged.
File1(1.txt)
-----------
1|2|Y
2|5|N
File2(2.txt)
-----------
1|abc
2|xyz
3|pqr
My Code:
---------
nawk '
BEGIN {
FS=OFS="|"
}
NR==FNR { (1 Reply)
Discussion started by: greenworld
1 Replies
6. Shell Programming and Scripting
Hi iam new to shell programming. I would like to ask one dought abt the file
handling in unix.
Iam having a file1 as follows:
ASDERFCX1234567890123456
POIUYTRE0098765432123456
BVCXCVBN0955644411111111
File2
ASDERFCX1234567890123456 kill@abc.com ... (8 Replies)
Discussion started by: nivas
8 Replies
7. Shell Programming and Scripting
Provides a menu structure that allows a user to select several options - input a name and address,
lookup a name and address, delete a name and address, and print a formatted report from a text
database (note: this requirement assumes that you will use the program to create a database, though in... (1 Reply)
Discussion started by: DonOmar
1 Replies
8. Shell Programming and Scripting
I want notes for learning Shell programming (2 Replies)
Discussion started by: Neha Agarwal
2 Replies