Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: jim mcnamara
4,626
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
2,851
Posted By MadeInGermany
Hmm, vi should actually work. But easier is ...
Hmm, vi should actually work.
But easier is
touch myfile
or
> myfile
1,797
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...
1,797
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
2,943
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)
1,800
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...
2,966
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...
1,856
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))....
2,467
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....
2,467
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...
4,848
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
3,306
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/)
1,550
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
746
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...
2,073
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...
5,334
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...
5,852
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
3,481
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...
4,259
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...
973
Posted By Neo
See Reference: Reliability ....
See Reference:

Reliability . bus1/dbus-broker Wiki . GitHub (https://github.com/bus1/dbus-broker/wiki/Reliability)
1,191
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
6,812
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
9,556
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
1,019
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
6,672
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

 

Featured Tech Videos

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