10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Two numerical lines, found by either header line, need to be added
and the total placed in a new-header section. Also the total should
should be rounded or cut to a two decimal anynumber.XX format
with the AB string added on the end.
For example: The numerical lines from headers 2 and 3 are... (3 Replies)
Discussion started by: jessandr
2. UNIX for Dummies Questions & Answers
I have requirement to print latest record from file based on multiple columns combination.
EWAPE EW1SLE0000 EW1SOMU01 ABORTED 03/16/2015 100004 03/16/2015 100005 001
EWAPE EW1SLE0000 EW1SOMU01 ABORTED 03/18/2015 140003 03/18/2015 140004 001
EWAPE EW1SLE0000 EW1SOMU01 ABORTED 03/18/2015 220006... (1 Reply)
Discussion started by: tmalik79
i need a command like "bdf" of HP-UX. ( report number of free disk blocks (Berkeley version) ). it should report inode and file system usage in one line like bdf -i
Man Page for bdf (all Section 1m) - The UNIX and Linux Forums
HP-UX command "" report inode and file... (2 Replies)
Discussion started by: bora99
4. Shell Programming and Scripting
Thanks to Chubler_XL and MadeInGermany for their help few weeks ago.
Now, i would like modifying the script, see the next POST.
The old script works like that :
I picked any random hours
In the logs there is the stamp time of webservices, i can see the behavior or errors of... (3 Replies)
Discussion started by: amazigh42
5. UNIX for Dummies Questions & Answers
I want to delete all the blank lines from a file before a certain line number. e.g.
Input file (n: denotes line number)
I want to delete all blank lines before line number 3, such that my output is:
I see that sed '/^$/d' in_file works... (9 Replies)
Discussion started by: jawsnnn
6. Shell Programming and Scripting
| *Local Communication Bandwidths (MB/Sec) | Memory copy (bcopy) |
| ^ | mmap_bandwidth |
| ^ | mmap_read bandwidth |
| ^ | memory write bandwidth |
| Local Communication Latencies | Pipe Latency |
... (9 Replies)
Discussion started by: yanglei_fage
7. Shell Programming and Scripting
Can somebody show me an example of of using either '#' or '?' to remove
part of string.
I am reading files from directories and I want to check if file ends with *.log *.dmp or begins with a arch_*
I DONT want to use AWK or SED to do this since there maybe 1000's of files I need to test... (4 Replies)
Discussion started by: BeefStu
8. Shell Programming and Scripting
I have this file generated by me... i want to create some HTML output from it.
The problem is that i am really confused about how do I go about reading the file.
The file is in the following format:
TID1 Name1 ATime=xx AResult=yyy AExpected=yyy BTime=xx BResult=yyy... (8 Replies)
Discussion started by: umar.shaikh
9. UNIX for Dummies Questions & Answers
I have a question about merging multiple files to one.
For example, I have 4 files, named file_1, file_2, file_3 and file_4, they all have same line number, and only one word in each line. I want to combine these four files to one file, file_1 becomes the first column of the new... (4 Replies)
Discussion started by: ting123
10. UNIX for Dummies Questions & Answers
I have 3 files and i want to take different fields from each file and combine them in one. I would like to ask if somebody tell me how can I refer to each field of the different files to write an awk command.
I mean can I do sth like
awk '........... print $1.file1 $3.file2}'... (1 Reply)
Discussion started by: sickboy