Search Results

Search: Posts Made By: pocodot
2,094
Posted By pocodot
If I understand your question right, you want the...
If I understand your question right, you want the data that is in below format:

Control|AC-00011-CN-2475208 AC-00011-CN-2475211 AC-00007-CN-2475238 AC-00007-CN-2475241To appear as below format:
...
3,518
Posted By pocodot
@Don Cragun and @Aia, Here is what I used...
@Don Cragun and @Aia,

Here is what I used based on Aia's input. /usr/kerberos/bin/rsh infrabkpsrvplp snapvault status | awk '$(NF-1) ~ /..:..:../ {split($(NF-1), a, ":");if(a[1] >...
3,518
Posted By pocodot
Thats perfect! Thanks!
Thats perfect! Thanks!
3,518
Posted By pocodot
Thanks! Here's something else i'm trying based on...
Thanks! Here's something else i'm trying based on your reply:

awk '{if($(NF-1) < 48) print $0}' OP.txt > output.txt

This command would be perfect for me, but $(NF-1) is in the format...
3,518
Posted By pocodot
Command/script to match a field and print the next field of each line in a file.
Hello,

I have a text file in the below format:
Source Destination ...
Forum: AIX 08-07-2015
3,894
Posted By pocodot
Hello, Here is the map. ...
Hello,

Here is the map.
swissnei:root>ypcat -k mapmego | grep INTERSITE
INTERSITE -rw,soft wrtcentblt:/u/dpl/INTERSITEUnfortunately this map is accessed across multiple machines and they...
Forum: AIX 08-07-2015
3,894
Posted By pocodot
Tell automount to use NFSv2 on AIX 6.1
Hello,

I have a CentOS 6.1 server exporting a filesystem with read/write to world. I have an AIX Client mouting this filesystem from an NIS map. One of our applications is giving an error and...
2,355
Posted By pocodot
Corona688 I'll keep printf in mind. ...
Corona688

I'll keep printf in mind.

The code runs perfectly on the shell but append it to @reboot in cron and it fails. I suscpected that command piping may not be working in crontab.
...
2,355
Posted By pocodot
Script to Run Multiple Systems Checks and mail me the results after every reboot- Linux
Hello,

I'm trying to create a mechanism wherein a set of Production servers will email me the results of system checks like Uptime, NFS Mounts and a Process after every scheduled reboot.

For...
Forum: AIX 11-19-2014
6,051
Posted By pocodot
Hi Dave, I've already tried smitty hostname....
Hi Dave,

I've already tried smitty hostname. The original hostname still shows upon reboot. I'm thinking the DHCP server might be pushing this name. Is there a way i can verify that?

Thanks,...
Forum: Red Hat 11-19-2014
12,059
Posted By pocodot
Deny ssh access to user trdeo. Add below...
Deny ssh access to user trdeo.

Add below line to /etc/ssh/sshd_config


DenyUsers trdeo



Save the file and restart the sshd.


This is essentially deny user trdeo a ssh login but the...
Forum: AIX 11-19-2014
6,051
Posted By pocodot
Dave, This machine is on DHCP and /etc/hosts...
Dave,

This machine is on DHCP and /etc/hosts file has no hostname entry.

pocodot
Forum: AIX 11-19-2014
6,051
Posted By pocodot
Chdev hostname change is not permanent
Dear Gurus,

I have an AIX 7.1 box whose hostname is set to turtle.domain.com (FQDN) and I'm trying to change it to turtle. I'm using the below command for this:

chdev -l inet0 -a...
Showing results 1 to 13 of 13

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