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 bkrike 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: vlz
  • Content: Threads
  • Order by date
  1. vlz

    inittab

    Hi, I'd like to run my script from /etc/inittab I add the following line to it: infx:3456:once:/tmp/for_test >/dev/console 2>&1 The script has -rwxr-x-r-x permission The script content: ------------------------------------------- #!/bin/ksh echo "running for_test script" touch...
  2. vlz

    shell compiler

    Hi, I using shc shell compiler for hide my script code. I compile and run the script. But ps command allows to see script code. I.e: ps -ef|grep myscript Any suggestions? Thanks in advance, Vadim
  3. vlz

    controlling terminal problem

    Hi, I run command ps -ef in Solaris 10. Almost all my processes have controlling terminal = console. (including /sbin/init and svc.startd) svcs -x command doesn't report any errors. Please help. Thanks, Vadim
  4. vlz

    field separator

    Hi, Please let me know what is wrong here(I use tcsh): alias abc "awk -F= '{print $2}' File|awk -F\" '{print $2}'" I get unmatched ". How can I define double-quote separator in the second awk? Thanks in advance, Vadim
  5. vlz

    KSH variables

    Hi, Do you know what is the max length of environment variable Name & Value in KSH environments? Thanks in advance, Vadim
  6. vlz

    simulate crontab functionality

    Hi, I am looking for a script that like cron daemon can read input file written in crontab format. And run the jobs from the input file when needed. Thanks in advance, Vadim
  7. vlz

    cannot open file problem

    Hi, I use this operator in my ksh script: cat << EOF > /tmp/allowed_fs_file ^/[^/]*usr ^/[^/]*user ^/[^/]*home EOF But from time to time I get the following error message while running this script: /tmp/sh<some_number>: cannot open I check that /tmp has enough disk space. The problem is that...
  8. vlz

    cryptcat compilation instructions

    Hi, I am looking for compilation instructions for cryptcat software. I need to compile it for Solaris,HP-UX and AIX. Thanks in advance, Vadim
  9. vlz

    ex editor question

    Hi, I need to delete the last character in a file by using ex commands. I know for example how to delete the last line by this command: echo "d\nw\nq"|ex my_file How can I do this for a character? Thanks in advance, Vadim
  10. vlz

    close stdout

    Hi, I'd like to know is there difference in these 2 forms: myscript >&- myscript >/dev/null Thanks, Vadim
  11. vlz

    sort files by modification time

    Hi, I'd like to sort regular files by modification time that resides in directory tree. Is this command correct? find /path/to/dir -type f | xargs ls -ltr Thanks in advance, Vadim
  12. vlz

    mod_ntlm turning off .htaccess authentication

    Hello, I'm running Apache2 under RedHat 8, using mod_ntlm for NT domain. When mod_ntlm uploaded, it doesn't allow basic authentication which I use for selective directories using .htaccess Here my .htaccess file: AuthName ByPassword AuthType Basic AuthUserFile <path_to_file> <Limit...
  13. vlz

    sendmail configuration for AIX 5.3

    Hi, I am trying to create sendmail.cf file from aixsample.mc file using m4 macro. I did these steps: cd /usr/samples/tcpip/sendmail/cf m4 ../m4/cf.m4 aixsample.mc > sendmail.cf cp /etc/mail/sendmail.cf /etc/mail/sendmail.cf.orig cp sendmail.cf /etc/mail stopsrc -s sendmail startsrc -s sendmail...
  14. vlz

    maximum value of the uid and gid

    Hi, Do you know about limitations in using large uid & gid (more than 60000) startnig from Solaris 2.6? Solaris documentation recommend to use range below 60000 where possible. I have only Solaris 2.6 and up. Did you have any problems using large uid & gid? Thanks in advance, Vadim
  15. vlz

    tcsh problem on hp-ux 11.23

    When invoke tcsh ( installed from depot for 11.23 ) I get: tcsh: using dumb terminal settings. And when I'm typing the command which length is greater then terminal width, "enter", and trying to edit the command - you'got the problem. Any help appreciated.
  16. vlz

    itcl 3.0.1 installation package for hp-ux 11.i

    Hi, Where can I find itcl 3.0.1 installation package for hp-ux 11.i? Thanks in advance Vadim
  17. vlz

    pipe command problem

    Hi, I have a following script: -------------------------------------------------- #!/bin/ksh function start{ var=abc echo "in function var=$var" } start | tee log echo "in program var=$var" -------------------------------------------------- This is the output I get: in function var=abc in...
  18. vlz

    redirection in ksh

    Hi, Could you help me to find out what is wrong in my script? #!/bin/ksh exec 3 >> log { print start print -u2 error print -u3 "only to logfile" print end } 2>&1 |tee log I get on my terminal and in the log file the same: start error end But I expect to get in the log file: start error only...
  19. vlz

    general question about log file

    Hi, I have a general question about creating log file for ksh script. 1. I'd like to send all my script stdout and sdterr messages to the same log file. 2. I want to add a pattern before each line comes to the log file from stderr. This will done in order to recognize all messages coming from...
  20. vlz

    building ACE ver 5.3 on AIX ver. 5.2

    Hi, I have a problem to build and compile ACE ver 5.3 Gnu tool on AIX 5.2 If anyone succeeded to do this? Thanks in advance Vadim

Part and Inventory Search

Back
Top