Search Results

Search: Posts Made By: jim mcnamara
95
Posted By jim mcnamara
FWIW - Microsoft originally ran 2 OSes - Xenix...
FWIW - Microsoft originally ran 2 OSes - Xenix and DOS. Xenix was a UNIX clone and DOS later became Windows. It was a business decision to drop Xenix and go all Windows, just like going WSL2 is...
145
Posted By jim mcnamara
This: Process priority and control on AIX...
This:
Process priority and control on AIX (https://www.ibm.com/developerworks/aix/library/au-aixprocesscontrol/index.html)

Does not seem to list a "D" state for AIX. Maybe some of the extended...
145
Posted By jim mcnamara
I think that people's associations associations...
I think that people's associations associations for the the word 'zombie' get in the way of dealing with it. They are not supposed to be scary or a scourge on the face of the earth. Just an "oops"...
245
Posted By jim mcnamara
Your code is a little hard to read.... awk...
Your code is a little hard to read....

awk '{printf("NAME: %s DESCRIPTION: %s \n", $5 $6 $7 $8 $9 $(10) } ' filename

The $5 $6 ... part does not know how many words are the in input line. ...
481
Posted By jim mcnamara
Optimization does not mean condensing several...
Optimization does not mean condensing several readable single commands into a less readable single line - which can be harder to maintain, say, in six months. When you have forgotten about it. And...
966
Posted By jim mcnamara
FWIW: Don’t Use ZFS on Linux: Linus Torvalds -...
FWIW:
Don’t Use ZFS on Linux: Linus Torvalds - It's FOSS (https://itsfoss.com/linus-torvalds-zfs/)

Torvalds will not allow Linux kernel inclusion of ZFS support because of Oracle's position on...
1,020
Posted By jim mcnamara
Assuming Linux: a=3 b=3 grep -A$a -B$b ...
Assuming Linux:
a=3
b=3
grep -A$a -B$b '12345' somefile
This searches from 3 lines before and 3 line after the keyword is found. Total 7 lines, including keyword '12345'
497
Posted By jim mcnamara
I think you need to specify a field separator as...
I think you need to specify a field separator as a comma.


Owner@Owner-PC ~
$ awk -F, '!a[$1]++' filename
ENSG00000003137,ENST00000001146
ENSG00000003402,ENST00000309955


Owner@Owner-PC ~...
826
Posted By jim mcnamara
To sort dates it works best to convert them to...
To sort dates it works best to convert them to epoch seconds - the number of seconds since Jan 1 970. This code adds an epoch time sorts based on the epoch time, then prints the original minus the...
299
Posted By jim mcnamara
You want alternation: find / -name...
You want alternation:

find / -name "$serviceitem" ! -size 0 -exec egrep -v "(tmp|docker|WinSxS|Permission|HISTORY|alternatives|bearer11ssl|manifest) \;"
1,194
Posted By jim mcnamara
Patching might not work - because the patch may...
Patching might not work - because the patch may assume versions of the link libraries that are different from what you linked in your original build.
Do you have a sandbox to test the patch? Try...
1,824
Posted By jim mcnamara
Bumping up posts or double posting is not...
Bumping up posts or double posting is not permitted in these forums.

Please read the rules (https://www.unix.com/misc.php?do=cfrules), which you agreed to when you registered, if you have not...
1,563
Posted By jim mcnamara
Duplicate means has the same identical data. ...
Duplicate means has the same identical data. From your comment I think you want something else - like the intent - what the file represents.

If you really mean duplicate, a simple checksum ...
764
Posted By jim mcnamara
The ftpaccess file is probably blocking the user,...
The ftpaccess file is probably blocking the user, as a guess, something is not configured correctly in there.

Reference: Controlling FTP Server Access - System Administration Guide: Network...
867
Posted By jim mcnamara
use time-style=+FORMAT to force a constant time...
use time-style=+FORMAT to force a constant time format on ls -l output, +FORMAT uses the format that the date command uses as well.
See the man page for your date command if this is foreign to...
1,720
Posted By jim mcnamara
It is a shorthand character class that mostly...
It is a shorthand character class that mostly expands to [ \f\t\n\v] -- it is shorthand for a character class, like \d and others

Explained here:.

Regexp Tutorial - Shorthand Character...
1,178
Posted By jim mcnamara
Suppose you wanted to count the number of times...
Suppose you wanted to count the number of times the word of occurs in a file


Owner@Owner-PC ~
$ cat filename
all of the kings of Norway

Owner@Owner-PC ~
$ grep -Fo 'of' filename |wc -l
2
1,207
Posted By jim mcnamara
MicroFocus COBOL is your very best ORACLE option....
MicroFocus COBOL is your very best ORACLE option. It specializes in supporting ORACLE db's. It also is highly compatible with mainframe COBOL.
This will be the relatively easy part, moving code...
402
Posted By jim mcnamara
AIX Open Source Packages | Main / nc...
AIX Open Source Packages | Main / nc (https://www.perzl.org/aix/index.php?n=Main.Nc)

This is source code with directions for compilation --- for netcat (nc is often a symlink to netcat and or the...
402
Posted By jim mcnamara
The AIX at work has some optional Linux tools for...
The AIX at work has some optional Linux tools for AIX installed.
If you have to do this to debug problems or set up security, then you need to consider seriously installing them.

Before I...
402
Posted By jim mcnamara
telnet ip.addr will connect where the ip.addr...
telnet ip.addr
will connect where the ip.addr is the destination.

If you are trying to spoof your ip try using the nc command instead. (nc is also called netcat)
how to "telnet" from a...
2,134
Posted By jim mcnamara
The single quotes around the ssh parameter...
The single quotes around the ssh parameter prevent expansion. Try using a here document -
ssh <<!
remotenode "$j"
!
2,305
Posted By jim mcnamara
Hmm. Deleted my response - not helpful.
Hmm. Deleted my response - not helpful.
2,077
Posted By jim mcnamara
(3,0) A parenthesis is a reserved symbol in...
(3,0) A parenthesis is a reserved symbol in bash, not a string.
"(3,0)" Try making it a string...
2,102
Posted By jim mcnamara
Can you boot from installation software - DVD,...
Can you boot from installation software - DVD, thumb drive?
Boot to run-level 1 which makes the console root and allows no other logins.

Example with run-level 1 boot on linux with GRUB2
...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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