10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
i have a requirement to delete records that do not belong to that day. For example in a file that came on July 31st ,2018 there are records that belong to Aug 1st,2018 as well and I want to find and delete those records. I want to delete anything with 01-Aug-2018. I have several files like that. I... (6 Replies)
Discussion started by: Priya
6 Replies
2. Shell Programming and Scripting
I want to categorize and count the as below:
Input file:
A1 G1 C1 F1
A2 G1 C1 F1
A3 G1 C1 F2
A4 G1 C2 F2
A7 G1 C2 F2
A8 G1 C2 F3
A11 G1 C2 F3
A23 G1 C2 F3
B4 G1 C2 F3
AC4 G2 C3 F4
B6 G2 C4 F4
BB5 G2 C4 F4
A25 G2 C5 F4
B13 G2 C5 F5
D12 G2 C5 F5
D2 G2 C5 F5 (3 Replies)
Discussion started by: aydj
3 Replies
3. Shell Programming and Scripting
Please consider the following file, I have many groups which can be of 3 types, T1 (Serial_Number 1) T2 (Serial_Number 2) and T1*T2 (all other Serial_Number).
I want to only consider groups that have both T1 and T2 present and their values are different from each other. In the example file,... (8 Replies)
Discussion started by: jianp83
8 Replies
4. UNIX for Dummies Questions & Answers
i want run query to identify witch groups that user A belong,
CN=name,CN=Users,DC=mydomain ?? (1 Reply)
Discussion started by: prpkrk
1 Replies
5. Shell Programming and Scripting
Hi,
I have a file and I want the category for each row to be its highest value.
gene highest medium lower lowest
ABC 20 30 50 70
DEF 90 20 60 0
o/p
gene highest medium lower lowest category
ABC... (6 Replies)
Discussion started by: Diya123
6 Replies
6. Shell Programming and Scripting
I'm trying to list files, first by size and I'm using something like this
ls -l|awk '{print $5,$6,$7,$8,$9|"sort -nr"}'|more
Now I'd like to just do the same listing but only for files with the year 2009 in the $8 field or even anything less than 2011. (5 Replies)
Discussion started by: NycUnxer
5 Replies
7. Shell Programming and Scripting
Hi All,
Would it be possible using awk to split a given file into two files based on a certain condition such that one output file will contain all lines that fit the condition while the other output file will contain lines that did not fit the condition?
Here is a sample input file
... (6 Replies)
Discussion started by: cympaulife
6 Replies
8. Post Here to Contact Site Administrators and Moderators
Hi,
I submitted my blog on UNIX in the links section. On submitting, i chose the category as Unix/Linux standards, which i now feel is incorrect. I would like to change the category of my link, but i don't find any option to change the category.
Please help me in doing the needful.
Thanks... (7 Replies)
Discussion started by: guruprasadpr
7 Replies
9. UNIX for Dummies Questions & Answers
How do we list all the file names in a directory that does not belong to current date. (3 Replies)
Discussion started by: esh.mohan
3 Replies
10. Shell Programming and Scripting
How do we list all the file names in a directory that does not belong to current date. (1 Reply)
Discussion started by: esh.mohan
1 Replies