10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file called COMPLIST as follows that contains 4 digit numbers.0002
0041 (3 Replies)
Discussion started by: sph90457
2. Shell Programming and Scripting
I have a requirement
I need to copy only first 2 lines from a file of one location to another file of same location
I used to code as
cp head -2 abc 123
But i get the following error
cp: 0653-437 123 is not a directory.
The files used are
TYUI (5 Replies)
Discussion started by: Priya Amaresh
3. Shell Programming and Scripting
Hi folks! I'm new to the unix-side of the world! ;) and I'm trying to learn as much as possible the good stuff that's in it!
So.. here comes the point.. as you can see in the title, I need to copy a file but truncating it so that last 1-2 lines are not copied... any suggests from the... (6 Replies)
Discussion started by: WideMind
4. Shell Programming and Scripting
Hello, I'm new to scripting and I need help moving text from one file to another file. Here are examples what the files look like.
Ac-223 2.10m A 1 0 0 0 Fr-219 358 9.9000E-01 0 0.0 0 0.0 0 0.0... (1 Reply)
Discussion started by: tamachan414
5. UNIX for Dummies Questions & Answers
Hi guys, I am a newbie here :wall:
I need a script that can search for a file in a directory and copy the contents of that file in a new file.
Please help me. :confused: Thanks in advance~ (6 Replies)
Discussion started by: zel2zel
6. Shell Programming and Scripting
We have 2 file XML files - FILE1.XML and FILE2.xml - we need copy the contents of FILE1.XML and replace in FILE2.xml pattern "<assignedAttributeList></assignedAttributeList>"
2. <item type="Manufactured">
4. ... (0 Replies)
Discussion started by: balrajg
i have two basic requirement on linux platform . I am using C language to do this .
1) copying one file to another (assuming i know their file descriptors)
2) Overwriting a file using it file descriptor .
Aki (2 Replies)
Discussion started by: meet123321
8. UNIX for Dummies Questions & Answers
How do i copy the common lines between 2 files to another file?
sdf (3 Replies)
Discussion started by: khestoi
9. Filesystems, Disks and Memory
Hi, Im trying to take a database backup. one of the files is 26 GB. I am using cp -pr to create a backup copy of the database. after the copying is complete, if i do du -hrs on the folders i saw a difference of 2GB.
The weird fact is that the BACKUP folder was 2 GB more than the original one!
... (1 Reply)
Discussion started by: 0ktalmagik
10. Shell Programming and Scripting
I have a script which will generate three csv files. i want to copy the contents of these csv files into a .XLS file but in different worksheets. Can a this be done in the same script? :confused:
Can Perl come to my help in coping the csv files into different worksheets of .XLS file ?... (0 Replies)
Discussion started by: nimish