Search Results

Search: Posts Made By: e_mikey_2000
Forum: Solaris 11-28-2016
2,598
Posted By e_mikey_2000
Thank you. That seems to work.
Thank you. That seems to work.
Forum: Solaris 11-16-2016
2,598
Posted By e_mikey_2000
That commands works. However, e1000g0 has a...
That commands works. However, e1000g0 has a different IP address than e1000g0:1. I want to be able to do it for e1000g0:1
Forum: Solaris 11-16-2016
2,598
Posted By e_mikey_2000
# ifconfig e1000g0:1 inet6 plumb ifconfig:...
# ifconfig e1000g0:1 inet6 plumb
ifconfig: plumb: SIOCLIFADDIF: e1000g0:1: no such interface
Forum: Solaris 11-15-2016
2,598
Posted By e_mikey_2000
Corrected Syntax and still does not work,
Corrected Syntax and still does not work,
Forum: Solaris 11-15-2016
2,598
Posted By e_mikey_2000
Configure dual stack on existing Solaris 10
I have a Solaris 10 server with the following interfaces:
ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000
...
2,531
Posted By e_mikey_2000
It seems that you code does not grab all the...
It seems that you code does not grab all the files for the previous day. here is an example of the log die with the time stamp:
-rw-r--r-- 1 user1 user1 100001759 Apr 23 16:04 log.16...
2,531
Posted By e_mikey_2000
I do not think Solaris has logrotate.
I do not think Solaris has logrotate.
2,531
Posted By e_mikey_2000
Log rotation script
I have an application that rotate its log once it reaches 100mb and it keeps a total of 24 logs. I am trying to write a script to run daily to tar up the previous day logs files and move them to a...
14,210
Posted By e_mikey_2000
Let say we have a subnet file that has 2 line ...
Let say we have a subnet file that has 2 line

10.10.0.0/26
11.00.00.0/26

How would you list those ips in those subnets?
14,210
Posted By e_mikey_2000
Get all ip address from subnet mask
I have this subnet file shown below. How can I calculate all ip addresses from that list
103.22.200.0/22
141.101.64.0/18
10.0.0.0/22I need to be able to read the subnet file and print all IPs in...
11,193
Posted By e_mikey_2000
The code does work in Solaris. -o option ...
The code does work in Solaris. -o option

---------- Post updated at 11:41 AM ---------- Previous update was at 11:32 AM ----------

The second period is a typo. sorry

---------- Post...
1,513
Posted By e_mikey_2000
Thank you all. it works
Thank you all. it works
11,193
Posted By e_mikey_2000
Grep IP address form a text file along with the subnet
I have an input file:

class 1 3 5 10.10.10..0/23 hicks jimmy
class 3 10.12.10.0/22 mike
class.019283 10.10.15.10/20 henry
gym.847585 45 192.168.10.0/22 nancy jim steve maya

The output should...
1,513
Posted By e_mikey_2000
Did not work since some of the line has the...
Did not work since some of the line has the following:
servers list ips 10.10.10.1 test 2 3 4
desktop station 10.10.10.3 4 test 4
laptops quesy 2013 2012.142537 10.100.18.0 test 4 6 8

What do I...
1,513
Posted By e_mikey_2000
sed - delete everything from the first IP in the file
Hi,

I have a text file with content as follows:
servers list ips 10.10.10.1 test 2 3 4
desktop station 10.10.10.3 4 test 4
laptops quesy 2013 2012 10.100.18.0 test 4 6 8 all I need is:
servers...
10,654
Posted By e_mikey_2000
Thanks you both. It works
Thanks you both. It works
10,654
Posted By e_mikey_2000
grep "....TX" file
grep "....TX" file
10,654
Posted By e_mikey_2000
Grep the 5th and 6th position character of a word in a file
I am trying to find/grep the 5th and 6th position character (TX) of a word in a file. I tried to do
grep "....TX" file
The output gives me everything in the file with TX in it. I only need the...
868
Posted By e_mikey_2000
Well, head -5 would only give me the first 5...
Well, head -5 would only give me the first 5 backups from the directory. What I need is the first five backup for each IP address on each line of the csv file.

the csv file should look like...
868
Posted By e_mikey_2000
Unix script Help
Hi all Unix gurus,

I have a directory that contain multiple daily backups of multiple systems with this format:
sys1_192.168.0.1_20091119.145130
sys1_192.168.0.1_20091120.145130...
2,413
Posted By e_mikey_2000
Thank you all very much for your help. I was...
Thank you all very much for your help. I was able to modify HobieCoop script to meet my need.

Thanks a million
e_mikey_2000
2,413
Posted By e_mikey_2000
The output should be a list of IP followed by the...
The output should be a list of IP followed by the last 2 or 3 backup in a csv format:

192.168.0.1,sys1_192.168.0.1_20091119.145130,sys1_192.168.0.1_20091119.145130...
2,413
Posted By e_mikey_2000
I am sorry for posting the wrong file format. ...
I am sorry for posting the wrong file format. The actual formats are:

sys1_192.168.0.1_20091119.145130
sys1_192.168.0.1_20091120.145130
sys2_192.168.0.2_20091120.154865...
2,413
Posted By e_mikey_2000
Help Unix script
Hi all Unix gurus,

I am new to scripting in Unix.
I need help to do do the following:
I have a directory that contain multiple daily backups of multiple systems with this format:
...
Showing results 1 to 24 of 24

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