5
A2p, error in the perl script?view story

http://www.unix.com – 1. (HowTos)

5
Choice of an OS for a home ZFS NASview story

http://serverfault.com – I am preparing a home NAS with an old Athlon 64 X2 3800+, 4 GB ECC RAM, Asus M2V MX motherboard, and a single 3 TB WDC Green (another one as mirror may be installed in the future). (HowTos)

5
Shorewall wont start because of selinux policyview story

http://forums.fedoraforum.org – Hi All, I am new Fedora and selinux and got caught out by shorewall not being able to start because of a policy problem with perl not being allowed to access a shorewall directory ..... at least that is what the journal log shows. From my searching the net, this sort of thing was an issue back in F14 days .. (HowTos)

5
Perl and qwview story

http://www.unix.com – hi Guys in perl i have the following Code: my @rooms = qw( blah blag blah ) ; That list of items can be generated from a command output Code: $ssh command how can i combine it so it dont have to manully need to add to that list something like this Code: my @rooms = qw(`$ssh comand`); thanks Adam (HowTos)

5
Convert UNIX to perlview story

http://www.unix.com – Hi, Can someone convert the code into perl ? Code: x=(a b c) y=(d e) times=$((${#x[*]} * ${#y[*]})) ((xi=yi=0)) for((i=1;i<=times;i++,xi++,yi++)) do  if((xi>${#x[*]}-1));then xi=0;fi  if((yi>${#y[*]}-1));then yi=0;fi  print ${x[$xi]},${y[$yi]} done (HowTos)

5
Return multiple values using for loop in perlview story

http://www.unix.com – I am using a for loop to copy files from say DIR1 and DIR2 to DIR3.I have to check whether files are copied from DIR1 and DIR2 and print the respective message. @path=("$DIR1","$DIR2"); foreach (@path) { $rc=system("cp $_/*xml $DIR3"); if ($rc == 0) { print "Files were copied successfully from $_\n"; } else { print "Files were (HowTos)

5
Unable to convert paaswd lastupdate value into scalar local formatview story

http://www.unix.com – Dear all, I am unable to get the desired result upon executing the below script. (HowTos)

5
Making a perl script executableview story

http://www.unix.com – Hello, I have a perl program called snp_hwe.pl I have another program called hwe_test.run which contains the following: Code: for file in *.inp  do  cp $file genotype_counts_c.txt  ./snp_hwe.exe > $file'.res'  done I want to change my perl program to an executable program while changing its extension to .exe so the program hwe_test.run can detect it. Thank you very (HowTos)

5
Unresolved dependency after yum update crash (broken ssh connection)view story

http://serverfault.com – Today I was updating one of production server (one of many to test updates and then update the rest of computers). Soon after run yum update ssh connection was broken :/ . After login once again using screen sesion this time I run yum-complete-transaction but it has problems so I run it with --skip-broken parameter. (HowTos)

5
Useless Cat usageview story

http://www.unix.com – Code: cat ~/text.xt | while read line do         echo ${line} | perl -pe 's/(\d+)/localtime($1)/e' done how can i efficiently re-code the above? also, no matter how i run this, i'm not getting the current/correct date. the contents of the "text.xt" looks like this: Code: [1352265804] SERVICES ................. (HowTos)