Search Results

Search: Posts Made By: jim mcnamara
81,611
Posted By nezabudka
Hi Try closing the stderr descriptor at the...
Hi
Try closing the stderr descriptor at the beginning of the script.
exec 2>&-
or redirect
exec 2> /dev/null
17,465
Posted By MadeInGermany
Hmm, vi should actually work. But easier is ...
Hmm, vi should actually work.
But easier is
touch myfile
or
> myfile
13,903
Posted By MadeInGermany
Is df /backup/Bckup_180320.tar &giving a...
Is
df /backup/Bckup_180320.tar &giving a result?
If it hangs hard, then there is some serious trouble. Then do further diagnostics, e.g. check mounts with
mount | grep /backupNot responding to...
13,903
Posted By Neo
If you search the forums, this question has been...
If you search the forums, this question has been asked many times over the past 10 years.

The answer is always the same:


The way to clear issue this is to reboot.

There is no reason to...
Forum: What is on Your Mind? 03-09-2020
10,441
Posted By hicksd8
Coronavirus maths anyone?
This is a really interesting watch.............. (well worth a few minutes of your time)

YouTube (https://www.youtube.com/watch?v=Kas0tIxDvrg&feature=youtu.be)
11,434
Posted By RudiC
This is a "brace expansion". It is expanded...
This is a "brace expansion". It is expanded before any other expansions, and it cannot take any variables; read man bash very carefully:

Those strings, integers, or characters are constants, not...
9,155
Posted By Scrutinizer
Explanation
You're welcome..

Awk is somewhat unique in the sense that it allows you to specify a different record separator, other than the typical newline, which is absent in your case.

By specifying a...
7,008
Posted By stomp
Hi, I just checked your script on a linux...
Hi,

I just checked your script on a linux system without any output with a file with 1/3 million words in it (filesize 2700 KB: I used this file: wordlist.xz (http://www.megabert.de/wordlist.xz))....
29,275
Posted By stomp
Hi, some personal experiences and...
Hi,

some personal experiences and experiences from others:


zfs
I'm very fond of the ease of use of zfs administration. Few simple commands which all did what I expected them to do....
29,275
Posted By Peasant
If you are using LVM, you can use logical volume...
If you are using LVM, you can use logical volume snapshot ability to achieve want you want.

BRTFS i have not used, but i did read some horror stories some time ago.
Probably nothing to worry...
39,902
Posted By vbe
What about on the network itself? We dont know...
What about on the network itself?
We dont know what your Tomcat is doing either... is the server just the application server, the data is elsewhere? ( could explain the message then...) etc...
We...
Forum: What is on Your Mind? 02-27-2020
9,457
Posted By Neo
REF: Chrome 80 update cripples top...
REF:

Chrome 80 update cripples top cybercrime marketplace | ZDNet (https://www.zdnet.com/article/chrome-80-update-cripples-top-cybercrime-marketplace/)
5,060
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
2,952
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...
10,197
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...
15,735
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...
15,435
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 01-23-2020
25,269
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...
17,378
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...
4,792
Posted By Neo
See Reference: Reliability ....
See Reference:

Reliability . bus1/dbus-broker Wiki . GitHub (https://github.com/bus1/dbus-broker/wiki/Reliability)
4,754
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
25,391
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
31,913
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-24-2019
6,704
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
15,189
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
...
Showing results 1 to 25 of 500

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