Search Results

Search: Posts Made By: Neo
Forum: Shell Programming and Scripting 12 Hours Ago
96
Posted By wisecracker
Hi Neo... No. Direct absolute paths do not...
Hi Neo...
No.
Direct absolute paths do not work from import, however there is a similar effect using execfile(...) as the OP is using Python 2.6.x...
(... exec(open(...).read()) for 3.x.x to...
Forum: Web Development 3 Days Ago
207
Posted By simpsa27
Yes all works good & I understand! Thanks for...
Yes all works good & I understand! Thanks for your help guys!
Forum: Programming 3 Days Ago
214
Posted By DevuanFan
Andrew, thank you so much for your beautiful...
Andrew, thank you so much for your beautiful explanation. I understand the issue and can confirm that this works exactly as expected:

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
...
245
Posted By zxmaus
Some OSes - like AIX - by default do not have a...
Some OSes - like AIX - by default do not have a pkill command :) Someone might have installed it from somewhere but its not native so do not assume it exists on your host.

If you are logged in as...
Forum: Programming 4 Days Ago
214
Posted By apmcd47
realloc() is not guaranteed to reallocate in...
realloc() is not guaranteed to reallocate in situ, which is why you do
str = realloc(str, mem); rather than realloc(str, mem); The next_read variable should be reset with something like next_read =...
Forum: Web Development 5 Days Ago
202
Posted By Scrutinizer
This is huge, congrats, great effort guys...
This is huge, congrats, great effort guys...
Forum: Web Development 5 Days Ago
202
Posted By Akshay Hegde
I am happy to be part of forums and your...
I am happy to be part of forums and your leadership team, finally it’s solved, once bots reindex sitemap everything should be fine.
308
Posted By Eric7giants
Converting awk to perl
Hello. I'm currently teaching myself Perl and was trying to turn an awk code that I had written into Perl. I have gotten stuck on a particular part and a2p has not helped me at all. The task was to...
366
Posted By hicksd8
I'll start by saying that I'm not an AIX user or...
I'll start by saying that I'm not an AIX user or familiar with mksysb but I found this (old) page which has people discussing some of the exact same error lines that you are getting:

restore...
366
Posted By Necronomic
For creating mksysb backup I use this command: ...
For creating mksysb backup I use this command:

root@asrv11lpar3:/ # nim -o define -t mksysb -a mk_image=yes -a mksysb_flags=-i -a source=asrv11lpar11 -a location=/nim/mksysb/mksysb--asrv11lpar11...
439
Posted By Marti95
I attachet my script.
I attachet my script.
Forum: Linux 1 Week Ago
146
Posted By vbe
Greetings, and welcome! This is not a forum...
Greetings, and welcome!

This is not a forum for Hackers so if that is your purpose, it is pointless to post here, you will be banned very shortly...

You mention you are in the process of...
282
Posted By jim mcnamara
Your turn next: I got your awk code to run...
Your turn next:
I got your awk code to run against a dummy input file. I cannot see why your sample ran for you - however after fixing syntax I got an awk source file t.awk. t.lis is the file...
Forum: Programming 1 Week Ago
796
Posted By MadeInGermany
BTW in many cases a trim function comes in handy....
BTW in many cases a trim function comes in handy.
For example, the fuzzy strstr() that can match a portion of the string can be replaced with an exact strcmp()
...
//...
393
Posted By RudiC
Would this come close? grep -offile1 file2 |...
Would this come close?

grep -offile1 file2 | sort | uniq -c
2 god
1 pod
2 rod

--- Post updated at 16:24 ---

Hoppla - didn't take your thread title into account. Try this...
356
Posted By RudiC
Not sure I understand your request. Does this...
Not sure I understand your request. Does this work for your scenario 1 2?
echo "${STRING//,/$'\n'}" | awk -F: 'FNR==NR {T[$1,$2] = $0; next} ($1,$2) in T {$0 = T[$1,$2]} 1' - file
Forum: What is on Your Mind? 1 Week Ago
318
Posted By wisecracker
The square root code I coded on this site...
Hi all, (mainly Neo)...

I keep noticing that the SQRT code I wrote recently for a POSIX shell keeps appearing, (the green colour sticks out like a sore thumb).
So I decided to take a look on...
Forum: Programming 1 Week Ago
3,259
Posted By stomp
Hi, short notice from my side: For a...
Hi,

short notice from my side:

For a current project I decided to use Perl. The platforms are Linux / Red Hat 5/6/7/+future Versions. The reason I chose it, where:

Available on all target...
Forum: Programming 1 Week Ago
273
Posted By balajesuri
Since you're using python3, you can also take...
Since you're using python3, you can also take advantage of string formatting:


'https://www.meihoski.co.jp/movie/{}'.format(a['href'])

Check this out: 6.1. string — Common string operations —...
Forum: AIX 1 Week Ago
699
Posted By zxmaus
do you have rbac enabled ? try to put user and...
do you have rbac enabled ?
try to put user and group into the same line
permit r-- u:splunk, g:splunk
450
Posted By zxmaus
please try this: #vi /etc/ssh/sshd_config ...
please try this:
#vi /etc/ssh/sshd_config
Locate the following line:
Subsystem sftp /usr/sbin/sftp-server
Add the following parameters "-l INFO -f AUTH" at the end:
Subsystem sftp...
Forum: Solaris 2 Weeks Ago
509
Posted By Scrutinizer
I certainly agree about removing inherently...
I certainly agree about removing inherently insecure daemons/utilities altogether, preferably through configuration management tooling if there are many servers (I use ansible for Solaris) so that it...
Forum: What is on Your Mind? 2 Weeks Ago
561
Posted By gull04
Hi Folks, I'd like to convey my thanks to...
Hi Folks,

I'd like to convey my thanks to all of you for this opportunity and hopefully I'll be able to contribute to the team.

Regards

Gull04
131,973
Posted By joeyg
Whichever shell the client's computers have...
Whichever shell the client's computers have loaded, and they need me to code with or assist/edit existing coding.
In a way, the same way my favorite programming language has changed through the...
428
Posted By gull04
Hi, I'm going to make an assumption here...
Hi,

I'm going to make an assumption here that you want the actual host to auto boot, not the Service Processor to automatiaclly start the console to the host.

To set the host to auto boot from...
Showing results 1 to 25 of 500

 

Featured Tech Videos

All times are GMT -4. The time now is 07:23 PM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy