Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: ajetangay
2,194
Posted By ajetangay
Doesn't work, the $ makes in front of finger...
Doesn't work, the $ makes in front of finger makes it think that finger is a variable.
2,194
Posted By ajetangay
How to run "finger" command in an if statement?
I have been trying to run the finger command in a if statement but its giving me a bunch of errors.

gidlistTemp="g274gG;g2759C;g28320;g2885G;g2A276;g23338;g2A5h5;g2A307"
for i in $(echo...
7,389
Posted By ajetangay
If i use this awk method, what would I do when...
If i use this awk method, what would I do when the number next to VAS is diffrent, like if I want it to do that to a bunch of lines
7,389
Posted By ajetangay
How to grep from the third column?
PROL\tests_li004_developers:VAS:3543346:q34243,d3hs35,34bdf3,24sfgg,a3s234

Im trying to grep all text after VAS:3543346, so im trying to just have this


q34243,d3hs35,34bdf3,24sfgg,a3s234
...
3,355
Posted By ajetangay
Trouble with setting a variable with vastool
Hi I have this command that when put on the command line it returns the output the way I want it.


/opt/quest/bin/vastool list -a groups | grep testdev_li | grep dev | awk -F"[D:]" 'NF>2{print...
3,046
Posted By ajetangay
Sorting a specific column!
What im trying to do is sort the output by the number on the second column and than limit the result to only the first three lines.

This is the code


idlist="x23s52; f34233; 2343xs; 25x34;...
1,518
Posted By ajetangay
print "$nidlist" | mailx -s "Automated checkout...
print "$nidlist" | mailx -s "Automated checkout not running" examplemeail@example.com
1,518
Posted By ajetangay
Mailx is adding a random "!" in the middle of my mail
I made a script that sends an email with one long line, line looks like this.


UY453;HJ345;BM342;JH526;HJ245;HJ234;NM235;........JK453;SD245;


The mail has about 200 of those IDs in one...
4,084
Posted By ajetangay
How to Grep of by section?
I have a script that outputs this as a file


John Smith
----------------
memberOf: example1;sampletest;test
memberOf: example2;sampletest;test
memberOf: example3;sampletest;test
memberOf:...
1,279
Posted By ajetangay
How to remove lines that exceed a certain charecter count?
I am trying to remove lines in a variable(nidlist) that exceed a certain charecter count(in this case 7).

I am trying to incorparate the function that removes the lines that exceed 7 into this...
5,588
Posted By ajetangay
How to use grep with multiple patterns?
I am trying to grep a variable with multiple lines with multiple patterns

below is the pattern list in a variable called "grouplst", each pattern is speerated by "|"

...
1,315
Posted By ajetangay
the content of the IDgroups looks like this ...
the content of the IDgroups looks like this


memberOf: CN=example_group,OU=CL,OU=LOB,DC=prod,DC=test,DC=net
memberOf: CN=example_group2,OU=CL,OU=LOB,DC=prod,DC=test,DC=net



the cntr thing...
1,315
Posted By ajetangay
How to use Grep properly?
Hi Forum

Im making a script that takes multiple unix users and lists the users and the groups that the user is part of. the grouplist looks like this
...
Showing results 1 to 13 of 13

 

Featured Tech Videos

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