Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: w5000
  • Order by date
  1. w5000

    create a spot on my nim server AIX

    jsut create new spot on desired OS level (from base installation media of that level) some hints you can find here: http://aix4admins.blogspot.com/2011/05/spot-shared-product-object-tree-is.html
  2. w5000

    Trying to install yum for AIX

    try from here if you did not solve it yet ftp://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/tcltk/
  3. w5000

    automatic text formatting with printf (basing on maxlength of each column)

    hi, the input file has n columns delimeted with "|" like on example below. how to find max lenght for each column and use it later for printf formatting the input file? awk '{ printf "%-[highlight #EF2929]max1[/highlight]s %-[highlight #EF2929]max2[/highlight]s %-[highlight...
  4. w5000

    sssd vs. winbind

    in this case solved by: # authconfig --disablewinbind --disablewinbindauth --disablewinbindusedefaultdomain --disablewinbindoffline --disablewinbindkrb5 --updateall
  5. w5000

    sssd vs. winbind

    hell I have joined a linux to domain using sssd realm join --user=administrator example.com it configured all stuff in sssd.conf, nsswitch.conf and in pam modules there are sss configured in I can see users accounts from AS but I can't login ssh or even su. ssh fails on Mar 29 14:15:35 host...
  6. w5000

    sort by one columnt and then by another

    Hello, please tell me why second sort ignores -k4,4 sort? # sort -t"," -k4,4 test 4,c,d,a,a 6,a,d,b,d 7,a,d,b,d 8,a,d,b,d 9,a,d,b,d 1,d,c,c,a 5,a,b,c,d 2,b,c,d,a 3,a,b,d,d # sort -t"," -k4,4 -nk1,1 test 1,d,c,c,a 2,b,c,d,a 3,a,b,d,d 4,c,d,a,a 5,a,b,c,d 6,a,d,b,d 7,a,d,b,d 8,a,d,b,d 9,a,d,b,d...
  7. w5000

    a regex

    Hello, I want a regex (with OR as below) also matching "md" lines in which 3rd column is not a string "active". Is it possible? https://regex101.com/r/LxD8t2/2
  8. w5000

    Execute ssh command on VIO Server

    hello, I think you should use iosctl from root for such remote actions (instead of using restricted padmin) ssh root@vioserver "/usr/ios/cli/ioscli lsmap -all" you oem_setup_env to root and authorize your ssh key on password and use ssh-agent then on your client side
  9. w5000

    AIX firewall accept established connection

    hello, I have checked and my setting doesn't block any connection from local-host to other hosts. It only grants access co incoming ssh connection for the two IPs (permit rules).
  10. w5000

    AIX firewall accept established connection

    hmm, it works for me but I did it as follows - simple example for adding additional ssh/22 rule on existing configuration: # rmfilt -v 4 -n all Filter rule 3 for IPv4 has been removed successfully. Filter rule 4 for IPv4 has been removed successfully. Filter rule 5 for IPv4 has been removed...
  11. w5000

    APAR numbers for different AIX 7.1 TLs

    that is strange maybe oracle installer has defect? what do you see when you run following command on your 7100-04-01-1543 system: instfix -i -k IV42025 also, can you show: instfix -i|grep ML and: emgr -l But because IV42025 is for 7100-00, it is not relevant for your TL4-SP1 so Oracle...
  12. w5000

    get address of specific interface stanza in config file

    hello. I have network interfaces configuration file on debian - with a few stanzas like: allow-hotplug eth2 iface eth2 inet static address 192.168.198.24 netmask 255.255.255.0 broadcast 192.168.198.255 I'd like to extract from this file IP of address attribute of...
  13. w5000

    print first line unconditionally

    Update: I've figured it out # for a in hostA hostB;do echo "---==== $a ====---";printf "%+11s %+10s %+10s\n" date files size;grep $a: inputtest|tr -s ' '|awk -F"[ |,]" '{printf "%+11s %+10s %+10s\n",$4,$(NF-1),$NF}';echo;done ---==== hostA ====--- date files size 16/09/2016...
  14. w5000

    print first line unconditionally

    hello, I'd like to get whole 1st line (header line, makred in blue) printf in each iteration in below for loop. What I get now is: # cat inputtest ===> hostA: transfer 16/09/2016,00:00:01 - 16/09/2016,23:59:59 5 42.64 ===> hostB: transfer 16/09/2016,00:00:01 -...
  15. w5000

    split text file

    thank you. I have tried also to add leading zeroes to the counter in filenames - could you tell me why _79 is twice? and how to start from file_01 (and not file_00)? in my example there should be 80 files created from file_01 $ gawk -v RS='(^|\n)XX [^)]+\\)'...
  16. w5000

    split text file

    sorry for bad explaining my goal with your first command I can use files created for further processeing with for loop: for i in file*;do somecommand -o sss < $i;done I was thinking of implementing it directly into awk command not having to do the for loop at all.
  17. w5000

    split text file

    brilliant! thank you very much. by the way, if I would like to pipe each message to a command (instead of writing it to a file), would this be ok or something is superfluous there? It looks it is working but I'd like to be sure this approach is ok... gawk -v RS='(^|\n)XX [^)]+\\)'...
  18. w5000

    split text file

    yes, there are some lines unwanted between (to be ignored) and the might also be some tailing unwanted stuff after closing ")" - at the same line sample of wanted (green) and unwanted (red) sfkjskfsdf sfsfsf sfsf XX sdfsf sfsf sdfs sdfsfsf (sfsfsfsf sdfsf sfsf sfsfsfs)fgkjsfsdflk wrwrewr...
  19. w5000

    split text file

    I've a text file with many lines where are many messages beginning with XX and ending with bracket ")" (each one) I'd like to split it so each message is saved to separate file (e.g. file names with increasing number) so file1 will have: XX sfjsklf sfsfsfsf (sdfsdfsf sfsfsf gfdfgdgdghdh)...
  20. w5000

    bash string check

    thx. indeed, I was pretty sure I had tested [[:alnum:]]+ in one of my first tries... I must had done some mistake

Part and Inventory Search

Back
Top