Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: jayan_jay
2,984
Posted By Franklin52
Not necessary to use grep :) ps -aux | awk...
Not necessary to use grep :)
ps -aux | awk '/mine/{...}'
1,603
Posted By bakunin
This is easy to explain: /:[0-9][0-9]$/N ...
This is easy to explain:

/:[0-9][0-9]$/N

This is saying apply the command (which is "N") to all lines of the form: a ":" followed by two digits at lines end. "N" combines a line with the...
1,179
Posted By ctsgnb
awk '/CREATE VIEW/{x=$NF;A[x]=NR}/FROM/{B[x]=(($2...
awk '/CREATE VIEW/{x=$NF;A[x]=NR}/FROM/{B[x]=(($2 in A)?"success":"fail")}END{for(i in A) print i"--->"B[i]}' yourfile
1,719
Posted By ahamed101
Deleted. Lets wait for the answer to Jayan's...
Deleted. Lets wait for the answer to Jayan's question!

--ahamed
1,530
Posted By Scott
Hi Ahamed. Forum advisors are chosen from a...
Hi Ahamed.

Forum advisors are chosen from a list of users selected and voted on by moderators and admins. Such votes are held periodically - generally when one of the aforementioned decides there...
5,983
Posted By alister
A simpler, more efficient solution utilizing the...
A simpler, more efficient solution utilizing the same basic utilities:
echo $string | fold -w4 | sed '$d; y/abcdef/ABCDEF/; 1s/^/obase=2; ibase=16; /' | bc

Regards,
Alister
1,656
Posted By itkamaraj
using perl sub xls2csv{ my...
using perl


sub xls2csv{
my ($filename, $csvname, $page) = @_;
my $xls = Spreadsheet::ParseExcel::Simple->read($filename) or die "Can't read $filename: $!";
my $cnt = 0;
for my...
Showing results 1 to 7 of 7

 

Featured Tech Videos

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