Search Results

Search: Posts Made By: jim mcnamara
329
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...
107
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) \;"
361
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...
Forum: Shell Programming and Scripting 2 Weeks Ago
186
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...
552
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 ...
695
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...
775
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...
990
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,070
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
901
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...
174
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...
174
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...
174
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...
1,262
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"
!
1,655
Posted By jim mcnamara
Hmm. Deleted my response - not helpful.
Hmm. Deleted my response - not helpful.
1,313
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...
1,212
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
...
885
Posted By jim mcnamara
Does the input data ALWAYS have three lines ->...
Does the input data ALWAYS have three lines -> two lines of output? It looks like it varies and a date is the key header item.
That means you need to tell us exactly what the data looks like -...
1,843
Posted By jim mcnamara
I was not clear. You thought your locale was...
I was not clear. You thought your locale was messed up somehow, so I started at the beginning to debug it.
Looks okay. Next, tr has problems with equivlence classes

[aªáàâãäå]

This is the...
1,843
Posted By jim mcnamara
In UTF-8 é should evaluate to (U+117). There...
In UTF-8 é should evaluate to (U+117).
There should be a command called localedef.
There also should be a Spanish UTF-8 locale, you are calling it correctly.

Please post the output of this,...
Forum: Solaris 12-10-2019
3,166
Posted By jim mcnamara
Are these remote devices GNSS? Why you need 3...
Are these remote devices GNSS? Why you need 3 evades me. Some specialized clocks will drop connections that act to hog resources.

And why do you need to ping those NTP servers so often? ...
1,648
Posted By jim mcnamara
This standard library call: nftw (or ftw) IBM...
This standard library call: nftw (or ftw)
IBM Knowledge Center (https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.bpxbd00/rnftw.htm)

supports the find command traversing...
1,596
Posted By jim mcnamara
You are using /directory1 as a record separator. ...
You are using /directory1 as a record separator. That means awk just reads the text including \n characters which display. And not ignoring them using the default EOL operation - chop off the...
1,157
Posted By jim mcnamara
In bash on some systems it is a shell function: ...
In bash on some systems it is a shell function:

realpath () ...
1,131
Posted By jim mcnamara
No. The file itself has problems. If you can...
No. The file itself has problems. If you can read it with Acrobat, try to save the file as a different filename. If Acrobat cannot save it there not much you can do.

Help:
Showing results 1 to 25 of 500

 

Featured Tech Videos

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