You got me confused.
But thanks anyway. :)
Since I need to sleep for 15 minutes I do not need to use select() and just use seek&tell with sleep() even if I loose half a line every once and a while.
Best Regards.
NMA
This what you need?
The "data.lst" is a copy&paste from your values here.
Best regards,
NMA
bash-2.03# cat stript_data.pl
#!/usr/bin/perl
use warnings;
use strict;
open (DATA, "<", "data.lst") or die ("cannot open data!\n");
foreach (<DATA>) {
if ( $_ !~ /0,0,0,0$/ ) {
print $_;
} else...
Hi there,
I want to check on multiple growing files but I really don't know how to do it.
I know "select()" is somehow related with my question but I cannot figure how to do it with the code bellow ... :(
I have a version of it using File::Tail but I really want to avoid it because I will need...
Hi,
I'm not going to explain how RBAC works, but, you do not create user accounts but roles..
One of the main diferences is that a role can only be acessed with "su".
To work with roles you should check the folowing files:
/etc/user_attr
/etc/passwd (not needed use rol* commands)...
Hello,
if I understood allrigth or you create the script on /etc/init.d and create a link on /etc/rc3.d (which means that the it only start on runlevel 3) or you just create the program on rc3.d;
Try to see if the program you're starting isn't prompting for nothing.
Also try to check...
Hi again,
I was noting something strange in my advice so I boot up my pc in linux and tried wich in fact didn't result because I forgot to use the quotes,anyway heres how its done:
shell way...
[root@penantes root]# cat testes
2135|0|TRUE|1|0|NEWCKT:\040|0|0|0
2135|1|TRUE|1|0|SLOT:\040|0|0|0...
Hi all,
Anyone knows if I can setup a Hp Colorado 8Gb (IDE) (travan tech) on a intel Box, running Solaris 8.
My guess is that I need to edit st.conf file but, where can I get the correct sintax?
Thanks in advance.
Nuno Abrantes
well duh!!
Sometimes we really need someone to open our eyes, thanks for your help barye the procedure works nice.
Chapter11 the problem with SUDO is that its not approved by Sun and its does the same thing rbac does, but thanks for your help also.
Best Regards
Nuno Abrantes
Hello Im tying to run "nsrjb" command has a non-root user but so far Im not being able to do it, I´ve tryied using setuid and rbac but it wont work if Im not root.
Is there any workarround to do this?
I found a technical sheet from Legato that Obsoletes the setuid workaround used on...
sunguy123,
while its possible to consult the crontab with the editor choice (-e) its way more simpler and less dangerous to check it out with the -l (list entries) option and its also more simpler because you can see all crontabs entries alot faster use it like this:
crontab -l...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.