Search Results

Search: Posts Made By: jim mcnamara
Forum: UNIX for Advanced & Expert Users 18 Hours Ago
84
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 ...
400
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...
518
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...
Forum: Shell Programming and Scripting 3 Weeks Ago
551
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...
809
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
681
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...
144
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...
144
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...
144
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...
833
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,319
Posted By jim mcnamara
Hmm. Deleted my response - not helpful.
Hmm. Deleted my response - not helpful.
Forum: Shell Programming and Scripting 4 Weeks Ago
860
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...
777
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
...
821
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,404
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,404
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
2,248
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,187
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,155
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,062
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,037
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:
114
Posted By jim mcnamara
The tomcat base install should set protections...
The tomcat base install should set protections correctly on directory trees and objects it owns.

Apache Tomcat(R) - Welcome! (https://tomcat.apache.org/)
You can download tomcat and...
Forum: Programming 11-12-2019
2,731
Posted By jim mcnamara
The problem relates to memory management. The OS...
The problem relates to memory management. The OS sets an "end point" and a "start point" for a process working set (memory) when the process begins.

There are flavors of the malloc (also realloc)...
784
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...
1,171
Posted By jim mcnamara
Plus, bash creates a subprocess (different from...
Plus, bash creates a subprocess (different from ksh) on the right side of a pipe, meaning any changes to variables in the statement on the right are not returned to the parent. This changed with...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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