Search Results

Search: Posts Made By: miltonrods
1,755
Posted By miltonrods
Thanks it worked like a charm.
Thanks it worked like a charm.
1,755
Posted By miltonrods
Help with gwak command
Hello,

I need help with gwak command. I have this output


123456_BLA_BLA

I would like to print the first 6 charaters (123456) using gwak command.

thanks for your help in advance
5,493
Posted By miltonrods
Thanks it worked, I ended up updating .profile
Thanks it worked, I ended up updating .profile
5,493
Posted By miltonrods
[Solved] Add directory to a global PATH
Guys,

I did a search on this but couldn't find any thing.

I need to add /home/scadm/scripts to the PATH. If I do the below it works for the session I'm in. If I close it and reopen it doesnt...
1,418
Posted By miltonrods
awk -F- '{ print $NF }' both the options...
awk -F- '{ print $NF }'

both the options work great. thanks a lot guys.
1,418
Posted By miltonrods
Grep question
Guys,

I'm a newbie for UNIX. I want to grep the last characters after the last "-" sign.

eg:

abcd-231-1-44
abcd-2341-22-55
abcd-1-23-6

In the above example. I want to grep just the last...
1,722
Posted By miltonrods
thanks It worked...
thanks It worked...
1,722
Posted By miltonrods
printf/echo in a second script
This may be little confusing. I have Script1, which pulls data from the system and creates another script(lets say script2). While I run script1 I need to add printf/echo statements for script2, so...
994
Posted By miltonrods
Worked like a charm sed...
Worked like a charm
sed 's/ipaddress=[0-9.][0-9.]*/ipadress=/g' myFile

Thanks
994
Posted By miltonrods
Help with SED
I'm trying to replace the following text
ipaddress=10.203.109.11 to ipaddress=

There are multiple files with different IP's. Basically I want to get rid of all the ip's associated with...
3,542
Posted By miltonrods
No luck with the above command. can I...
No luck with the above command.

can I atleast automate till loging as root. By the way I can't login directly as root. I need to be loginuser first.

using expect script it exits out
3,542
Posted By miltonrods
Expect script to ssh into MMI
Guys,
I know this is tricky.. I'm trying to write a script to pull info from a MMI device.
Following script logins into the server and then changes to super user. Opens MMI session and then exits...
2,212
Posted By miltonrods
perfect ERA.... cut -c30- | cut -d/ -f1...
perfect ERA....

cut -c30- | cut -d/ -f1 works good.... thanks a lot......
2,212
Posted By miltonrods
greping ip address
I have this line

BTSRTRGRP-448-1-1 10.162.141.118/255.255.255.254 -

I need to print only the IPADDRESS and not the subnet mask. If i use cut -c30-43 I get the...
Showing results 1 to 14 of 14

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