Search Results

Search: Posts Made By: jim mcnamara
180
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...
257
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...
257
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"...
298
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. ...
500
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...
1,116
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,050
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'
513
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 ~...
901
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...
381
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,373
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...
2,436
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,817
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 ...
789
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...
890
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,840
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,214
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,332
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...
486
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...
486
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...
486
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,358
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,455
Posted By jim mcnamara
Hmm. Deleted my response - not helpful.
Hmm. Deleted my response - not helpful.
2,199
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,313
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 06:07 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy