Search Results

Search: Posts Made By: koneru_18
9,993
Posted By koneru_18
How to Unarchive the content using unix
Hello,

I have a tar file(test.tar). I want to unarchive this tar file. To do this, I use this command: tar -zxvf test.tar.

But I get this error,

"gzip: stdin: not in gzip format
tar: Child...
6,874
Posted By koneru_18
Sorting values of hash in ascending order using Perl
I want to sort values of a hash in ascending order.

my %records;

for my $value (sort values %records){print $value,"\n";}

When I use the above code I get values in this order:...
1,060
Posted By koneru_18
Regular Expression
Hello,

I want to extract text between <td class="di_resultscolumnheader"> and </td>.
I wrote the below code to extract text. But I am able to extract the text for the first match only.
Can...
4,122
Posted By koneru_18
Read all files in a directory for a unix command
Hello,

Below, I have a unix command, which can be executable for single file.

cat input.txt | sort -k3,3 > output.txt

I have 100 input files in a directory. It is hectic and time taking to...
1,262
Posted By koneru_18
Filtering the duplicates
Hello,

I want to filter all the duplicates of a record to one place. Sample input and output will give you better idea.

I am new to unix. Can some one help me on this?

Input:
...
2,123
Posted By koneru_18
Sort command using unix
Hello,

I have a file with 'tab' separated columns. The first column of the file contains integer values. Now I want to sort the first column in ascending order.

Can someone help me on this...
...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 10:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy