Search Results

Search: Posts Made By: jim mcnamara
259
Posted By vbe
Closing thread as this looks like homework, but...
Closing thread as this looks like homework, but mostly because once again you posted twice knowing its against our rules and for that reason you will receive yet again a infraction...
Please...
170
Posted By wisecracker
Assuming your formula is correct, checked...
Assuming your formula is correct, checked longhand in Python 3.8.0 using the math library:
Last login: Fri Nov 15 17:16:16 on ttys000
AMIGA:amiga~> python3.8
Python 3.8.0rc1 (v3.8.0rc1:34214de6ab,...
324
Posted By RudiC
man awk: The match searches $0 for your...
man awk:

The match searches $0 for your target string PCX..._1 (the ellipsis replaced by [^_]*, i.e. non-"_" characters), and, if found, sets RSTART and RLENGTH accordingly for immediate use by...
431
Posted By hicksd8
Yes, well, Lenovo has had all sorts of issues...
Yes, well, Lenovo has had all sorts of issues with Ubuntu concerning their BIOS and graphics chipset. On some Ubuntu distributions, the way the kernel was compiled was known to corrupt the BIOS on...
408
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 1 Week Ago
442
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 =...
408
Posted By zxmaus
never EVER run this command as root - as it will...
never EVER run this command as root - as it will inevitably cause your system to restart.
If run as normal user, it will in all likelyhood kill all processes running as this user at once -...
Forum: What is on Your Mind? 1 Week Ago
423
Posted By Neo
1000+ Computer Science Trivia Questions at UNIX.COM
The UNIX and Linux Forums now has over 1000 TRUE / FALSE computer science and computer related trivia question in our database. These questions are of relatively high quality (compared to similar...
Forum: What is on Your Mind? 2 Weeks Ago
471
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...
107
Posted By vbe
Its also against our rules to have different...
Its also against our rules to have different identities to be able to post more than once the same thread
thread closed
Forum: Shell Programming and Scripting 2 Weeks Ago
322
Posted By RudiC
Close to impossible. If installed and on the...
Close to impossible. If installed and on the PATH, bash wouldn't say that.
Forum: Programming 2 Weeks Ago
967
Posted By yifangt
last field for sscanf() is incorrectly parsed
Change the RECORD increment i++; according to your correction fixed the problem!
Thank you so much!
---------------------------------------------------------------------------
Wait! There is...
Forum: Programming 2 Weeks Ago
967
Posted By MadeInGermany
The code that you provided stops at line 8 with...
The code that you provided stops at line 8 with exit 1:
...
printf("%s: %s\n", name, str1); //puts() always adds newline at the end of the string
//printf("%d\n", i);
...
Forum: Programming 2 Weeks Ago
967
Posted By MadeInGermany
For me it works: the red phrases land in the blue...
For me it works: the red phrases land in the blue variables.
But there can be trailing spaces in name because %[^:] matches up to the :
584
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...
669
Posted By RudiC
That mountpoint variable is not empty but holds...
That mountpoint variable is not empty but holds "". Change the if test to
if [ "$mountpoint" != \"\" ]; and it will fly...


EDIT: BTW, running awk 6 times per line to extract some variables is...
427
Posted By Peasant
Perfectly normal. When you unplug the PS, a...
Perfectly normal.
When you unplug the PS, a fault is generated.

You can clear the fault, after you plugged it back in and it shows everything is ok.

Regards
Peasant.
Forum: Solaris 4 Weeks Ago
1,273
Posted By MadeInGermany
Do not forget to undo your "skip-authentication"...
Do not forget to undo your "skip-authentication" in /etc/pam.conf
Forum: Solaris 4 Weeks Ago
1,273
Posted By Peasant
Here : open("/etc/nsswitch.conf",...
Here :

open("/etc/nsswitch.conf", O_RDONLY|O_LARGEFILE) = 4
fcntl(4, F_DUPFD, 0x00000100) = 256
close(4) = 0
read(256, 0xFF352400, 1024)...
Forum: Solaris 4 Weeks Ago
1,197
Posted By MadeInGermany
The cron service itself is corrupted. It should...
The cron service itself is corrupted. It should not run that script.

--- Post updated at 13:52 ---

For further diagnosis please give output from
svcs -l cron
Are the other services okay?
Forum: Shell Programming and Scripting 4 Weeks Ago
1,713
Posted By RudiC
Your code snippet does not look like what you...
Your code snippet does not look like what you showed in post #1. Where do you get the error? Is it issued by ssh or by lshwres? Try changing -T to -t.


Split the problematic code into smaller...
506
Posted By Corona688
We get asked how to do date math in AIX so often...
We get asked how to do date math in AIX so often I made a perl script for it (https://www.unix.com/unix-for-beginners-questions-and-answers/239167-general-purpose-date-script.html). It's a...
784
Posted By RudiC
Shells don't expand variables within single...
Shells don't expand variables within single quotes.
Forum: What is on Your Mind? 10-11-2019
1,222
Posted By Neo
Have changed to "DarkGreen" for the time being....
Have changed to "DarkGreen" for the time being. Magenta was giving me a headache LOL
Forum: What is on Your Mind? 10-11-2019
1,222
Posted By Neo
OK Done. MAGENTA it is. Let me know if you see...
OK Done. MAGENTA it is. Let me know if you see any bugs.

Tag threads with "member_project" for MAGENTA .

Announcement here:
...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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