10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a string of pre defined ip address list which will always remain constant their order will never change like in below sample:
In the above example i m considering only 5 ips but there could be many more.
Now i have a file which... (15 Replies)
Discussion started by: mohtashims
2. Shell Programming and Scripting
I tried different solutions given in various linux portals but no luck..
The directory consists of files with no-extension.
Each file has only one line. I need to add each filename to the top of each file so eventually each file will have two rows.
Filenames have spaces between words... (6 Replies)
Discussion started by: baris35
3. Shell Programming and Scripting
I am using SUN SOLARIS (SunOS sun4v sparc SUNW, T5240).
I have a huge data file with header and trailer. This file gets used into an ETL process. ETL skips the header record (which is the first record of the file) and loads the rest of the record. The file can be delimited (comma,... (5 Replies)
Discussion started by: Saanvi1
4. Shell Programming and Scripting
there are mutiple file nams in the directory. How to return the the lastest files for each file name.
thanks (4 Replies)
Discussion started by: grand_sam
5. UNIX for Dummies Questions & Answers
I want to create the tarzip file into a destination directory, i am in /var/sftp/home/archive/rquadri directory and i am using below command. However it is creating the file in the /var/sftp/home/archive/rquadri directory itself instead of /tmp, may i please know how do i resolve this.
tar -cvzf... (5 Replies)
Discussion started by: Ariean
6. UNIX for Dummies Questions & Answers
I'm having a problem with some basic piping issues...
I have been able to get in a directory and ls | gsed in order to list every N file for instance:
ls | gsed -n '2~5p'
The thing is I want to be able to copy the output files to a new directory. Basically directory /all has a... (4 Replies)
Discussion started by: dgoss
I have a list of files in a directory ..which are look like:
Here when i do ls 42420031* |sort it gives the output as
... (3 Replies)
Discussion started by: sanj_eck
8. Shell Programming and Scripting
I have many pdf's scattered across 4 machines. There is 1 location where I have other Pdf's maintained. But the issues it the 4 machines may have duplicate pdf's among themselves, but I want just 1 copy of each so that they can be transfered to that 1 location.
What I have thought is:
1) I have... (11 Replies)
Discussion started by: deaddevil
9. Shell Programming and Scripting
I have a large list of filenames from an Excel sheet, which I then translate into a simple text file. I'd like to use this list, which contains various file extensions , to archive these files and then remove them recursively through multiple directories and subdirectories. So far, it looks like... (5 Replies)
Discussion started by: fxvisions
i have a requirement where i have a direcotry in which i get files in the format
i need to loop through the directory and sort by create date descending order and i need to process the first file.
... (1 Reply)
Discussion started by: dsdev_123