Search Results

Search: Posts Made By: jim mcnamara
267
Posted By vbe
To all Please pay attention to what is...
To all
Please pay attention to what is displayed at the top of this discussion: We are awaiting a reply from the O/P any solution posted till then will be hidden

Thanks for your understanding
226
Posted By rdrtx1
Can you make a small script to verify that it is...
Can you make a small script to verify that it is not working? i. e.:
set -x

PASSWORD="passwordwith@init"

if [[ "$PASSWORD" != "passwordwith@init" ]]; then
echo testing_code
else
echo...
373
Posted By RudiC
Some sort versions - my is $ sort --version...
Some sort versions - my is

$ sort --version
sort (GNU coreutils) 8.30

- offer the option (man sort)

so it would yield$ sort -M file
Jan 20 16:27:38 2020
Jan 20 16:29:51 2020
Jan 20...
594
Posted By Peasant
Tip: inotify cron
Dear members, moderators and others.

While working on <insert project>, a need has surfaced to watch a directory, and when a file comes, to do appropriate action.
So, i started writing some...
622
Posted By Neo
Hmmmm. 3600 is a very long time (for cutovers...
Hmmmm. 3600 is a very long time (for cutovers and changes to the network) and not really acceptable for transitions.

Plus, I'm not sure I trust this $TTL 3600 in your output.

172800 ...
Forum: Solaris 3 Weeks Ago
526
Posted By hicksd8
My first questions are (1) What make/model of...
My first questions are (1) What make/model of storage is it? (2) What make/model of FC cards?

The first place I would be looking is the link configuration(s). The expensive FC cards are highly...
Forum: Shell Programming and Scripting 4 Weeks Ago
1,075
Posted By RudiC
OK, (sigh), dealing with duplicates in iplist,...
OK, (sigh), dealing with duplicates in iplist, empty lines in data, and IPs not in iplist. Be aware that this is NOT a turnkey solution handling any special case that you / your data sources may come...
540
Posted By Neo
See Reference: Reliability ....
See Reference:

Reliability . bus1/dbus-broker Wiki . GitHub (https://github.com/bus1/dbus-broker/wiki/Reliability)
680
Posted By MadeInGermany
Add # sed '/^&@@10.10.10.10/ s/^/#/'...
Add #
sed '/^&@@10.10.10.10/ s/^/#/' /etc/rsyslog.confRemove #
sed '/^#&@@10.10.10.10/ s/^#//' /etc/rsyslog.confThe & is special in sed in the replacement string. This is avoided now.
But:
The $...
Forum: Programming 01-04-2020
1,919
Posted By GRMartin
You have several replies and I don't kow if your...
You have several replies and I don't kow if your problem is solved but I'll mention that includes in <> are supposed to be for files in system directories i.e. /usr/include

Files in other...
Forum: Programming 12-27-2019
2,333
Posted By hicksd8
Oh, and I forgot about this heavy stuff: Top...
Oh, and I forgot about this heavy stuff:

Top 100+ Arduino Projects for Engineering Students - Pantech Blog...
Forum: What is on Your Mind? 12-25-2019
169
Posted By Neo
Thank you Ravinder. I wish everyone a very...
Thank you Ravinder.

I wish everyone a very safe, healthy and happy holiday season with loved ones.

7938
1,305
Posted By Chubler_XL
Ensure dollar variable to be expanded is outside...
Ensure dollar variable to be expanded is outside of single quotes eg:
echo 'File not found in '"$PWD"', please re-enter'

In your script you would do:

for i in `cat file1`
do
...
781
Posted By RudiC
There are no additional 6 files. The total 8 is...
There are no additional 6 files. The total 8 is the count of allocated 1k blocks. You can prove that by supplying the -s option to ls.


Where do the 948 in the thread title come from?
1,687
Posted By RudiC
The way I read your script I don't think we were...
The way I read your script I don't think we were talking about xtracing in windows. Set it in your script.


Of course, they don't - the sftp command ends with the first semicolon. It expects...
Forum: What is on Your Mind? 12-20-2019
723
Posted By Neo
Still running this cron to create similar man...
Still running this cron to create similar man pages from man pages, and just tested some of the results and the similar man pages are looking good.

FWIW, here is the PHP code I quickly put...
Forum: What is on Your Mind? 12-18-2019
1,213
Posted By Neo
UNIX.com End of Year (EOY) Report (2019)
Here is a quick EOY report for 2019.

2019 has been a year of "downward trend reversal" for UNIX.com. In fact, if we compare total Google search impressions from the peak days in December 2019...
1,879
Posted By Scrutinizer
It appears that it has been implemented in the...
It appears that it has been implemented in the system's regex engine, but that it does not work with globbing. On Linux, in bash 4 compare:
$ touch Miraré
$ for file in M*; do if [[ $file ==...
992
Posted By rbatte1
Do you want something more like:printf --...
Do you want something more like:printf -- "/path/to/xxx.py \\\\\n%s\n\t--ref /path/to/file \\\\\n\t--run /path/to/data\n" \ # Set up the output format with fixed strings and an...
1,879
Posted By Scrutinizer
On Solaris 10, I tried the following, using the...
On Solaris 10, I tried the following, using the POSIX compliant utilities which are in /usr/xpg[46]/bin:

$ export PATH=/usr/xpg6/bin:/usr/xpg4/bin:$PATH
$ printf "%s\n" Estrés Miraré...
954
Posted By nezabudka
Hi eval ls -d...
Hi
eval ls -d $WORKDIR/batch/somefilename_{$myvar}.*
1,968
Posted By Neo
Or maybe this kit,...
Or maybe this kit, (https://www.aliexpress.com/item/32953399908.html?spm=a2g0o.detail.0.0.4d8582fcn1cmUD&gps-id=pcDetailFavMayLike) also on AliExpress?
...
167
Posted By RudiC
Try alsoawk ' NR==FNR {PAT[$1,$2,$3] ...
Try alsoawk '
NR==FNR {PAT[$1,$2,$3]
next
}
{IX = $1
L1 = length ($1) + 1
$1 = $1 "|"
...
1,686
Posted By MadeInGermany
The shorter pathnames is a small improvement only...
The shorter pathnames is a small improvement only when post processing the output.
Then, you can bundle the names (shortens the command, not so much the run time).
But a + instead of the \; will...
1,668
Posted By vgersh99
this topic has been covered in a couple of...
this topic has been covered in a couple of threads - including this one (https://www.unix.com/unix-for-beginners-questions-and-answers/282022-ksh-how-get-name-script-when-same-script.html).
Also...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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