9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
- Concatenate files and delete source files. Also have to add a comment.
- I need to concatenate 3 files which have the same characters in the beginning and have to remove those files and add a comment and the end.
cat REJ_FILE_ABC.txt REJ_FILE_XYZ.txt REJ_FILE_PQR.txt >... (0 Replies)
Discussion started by: eskay
2. UNIX for Dummies Questions & Answers
I am trying to learn linux step by step an i am wondering
can i use cat command for concatenate files but i want to place context of file1 to a specific position in file2 place of file 2 and not at the end as it dose on default?
Thank you. (3 Replies)
Discussion started by: iliya24
3. UNIX for Dummies Questions & Answers
Need your help.
I will need to concatenate around 100 files but each end of the file I will need to insert my name DIRT1228 on each of the file and before the next file is added and arrived with just one file for all the 100files.
Appreciate your time.
Dirt (6 Replies)
Discussion started by: dirt1228
I wanted to find a text version of the Bible for purposes of grepping. The only files I could find, (in the translation I wanted), were Old Testament.txt and New Testament.txt. I thought, "fine, I'll just concatenate those two, no problemo." But when I unpacked them, turns out they had each... (22 Replies)
Discussion started by: sudon't
5. Shell Programming and Scripting
I have a file named "file1" which has the following data
And I have a file named "file2" which has the following data
My output should be
20000DEF (3 Replies)
Discussion started by: bobby1015
6. Shell Programming and Scripting
Hi, I want to create a batch(bash) file to combine 23 files together. These files have the same extension. I want the final file is save to a given folder. Once it is done it will delete the 23 files.
Thanks for help. Need script. (6 Replies)
Discussion started by: zhshqzyc
7. Shell Programming and Scripting
I have directory structure sales_only under which i have multiple directories for each dealer
Every day i have one file produce under each directory when the process runs.
The requirement... (3 Replies)
Discussion started by: mohanmuthu
8. Shell Programming and Scripting
I have to select a field ($8) from file1, then add an entry to the file2 in the correct format:
/tmp> cat file1
3001-233 Invalid admin value in /etc/security/group for "imnadm"
3001-233 Invalid admin value in /etc/security/group for "perfmon"
3001-233 Invalid admin value in... (2 Replies)
Discussion started by: pdtak
9. UNIX for Dummies Questions & Answers
Hi, I'm totally new to Unix. I'm an MVS mainframer but ran into a situation where a Unix server I have available will help me. I want to be able to remotely connect to another server using FTP, login and MGET all files from it's root or home directory, logout, then login as a different user and do... (1 Reply)
Discussion started by: s80bob