10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I want to search for a particular file name patterns and move them to a specific folder, is it possible to do it with awk or sed? (1 Reply)
Discussion started by: rudoraj
2. UNIX for Dummies Questions & Answers
I have a file abc.dat. It contains the fileds of empid, empname, empcity. each city contains 10 records. i want to create the city file and pass the same city records into the file. I don't know the city names.
In unix using awk command how can we do?
1 john delhi
2... (2 Replies)
Discussion started by: raghukreddy.ab
3. Shell Programming and Scripting
I am a novice in shell scripts. I have a requirement where I need to move files every day from Current Folder to Archive folder.
Daily I will be receiving 5 files in the folder - /opt/data/feeds/.
The feeds folder has two sub-folders - Current and Archive.
For example the... (25 Replies)
Discussion started by: shankar1dada
4. Shell Programming and Scripting
uadm@4132> ls -lrt
-rw------- 1 uadm uadm 3811819 Jun 6 04:08 data_log-2010.05.30-10:04:08.txt
-rw------- 1 uadm uadm 716246 Jun 13 01:38 data_log-2010.06.06-10:04:08.txt
-rw------- 1 uadm uadm 996 Jun 13 04:00 data_log-2010.06.06-10:04:22.txt
-rw------- 1 uadm uadm 7471 Jun 20 02:03... (5 Replies)
Discussion started by: mail2sant
5. Shell Programming and Scripting
I have 2 types of files in the following format:
>1234 (7 Replies)
Discussion started by: ad23
6. UNIX for Advanced & Expert Users
I am trying to figure out a way to create a file that will be renamed based off of one of multiple files. For example, if I have 3 files (cat.ctl, dog.ctl, and bird.ctl) that gets placed on to an ftp site I want to create a single file called new.cat.ctl, new.dog.ctl, etc for each... (3 Replies)
Discussion started by: coach5779
7. UNIX for Dummies Questions & Answers
I need a script (perl or awk..anything is fine) to join 3 files based on three key columns. The no of non-key columns can vary in each file. The columns are delimited by semicolon.
---- data delimited by semicolon ---
... (1 Reply)
Discussion started by: Sebben
8. Shell Programming and Scripting
I have three files, one is a navigation file, one is a depth file and one is a file containing the measured field of gravity. The formats of the files are;
2006 320 17 39 0 0 *nav 21.31542 -157.887
2006 320 17 39 10 0 *nav 21.31542 -157.887
2006 320 17 39 20 0... (2 Replies)
Discussion started by: andrealphus
9. Shell Programming and Scripting
Can you please help me with writing script for following purpose.
I have to divide single large web access log file into multiple log files based on dates inside the log file.
if data is logged in the access file for jan-10-08 , jan-11-08 , Jan-12-08
then make small log file... (1 Reply)
Discussion started by: kamleshm
10. Shell Programming and Scripting
I wish to compare two ebcdic files.
diff utility manual says it only compares two text files line by line.. I doubt this will be good for ebcdic files.
cmp utility does binary comparision but I do not find any thing in manual referring if it does support ebcdic file format.
let... (2 Replies)
Discussion started by: RishiPahuja