Search Results

Search: Posts Made By: chipmunken
4,795
Posted By chipmunken
I want it to first remove the known exception...
I want it to first remove the known exception rows before the next part works it's magic and prints the "wanted" exceptions

So first this
$0 !~ exc
and THEN do
/exception\:/{p=1;print;next}...
4,795
Posted By chipmunken
How should I tie these together? I know a patter...
How should I tie these together? I know a patter can follow another patter with a space but I'm getting syntax error if I do what you wrote.

awk -v exc="${KNOW_EXCEPTION1}" '$0 !~ exc ...
4,795
Posted By chipmunken
Java stack trace parser in awk
I want the developers to get a mail with Java stack traces on a daily bases. When something is flaged as known issue and will get a fix but mean while this does not need to get sent each dayl. This...
Forum: Red Hat 03-09-2011
3,606
Posted By chipmunken
solved it
solved it
Forum: Red Hat 03-08-2011
3,606
Posted By chipmunken
syslog configuration and log lvl
Hello
I was getting hammered in /var/log/messages from snmpd becouse it was running a jira which was sending email everytime someone updated a case or made any changes.
Therefor I decided to turn...
Forum: Debian 02-17-2010
3,531
Posted By chipmunken
Secure ftp access to outside chroot
I want to setup ftp on my home server running debian 5.0
I found this guide and have read it carefully.
Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On Debian...
14,450
Posted By chipmunken
(code) text2xls.pl (was csv2xls.pl)...
(code) text2xls.pl (was csv2xls.pl) (http://www.perlmonks.org/index.pl/jacques?node_id=72985)

This and some sed scripting solved my problems.
I did a sed script to remove a space after the comma...
14,450
Posted By chipmunken
CSV to XLS
Ok, every morning at my office we send out excel sheets to Economy people with statistics for yesterdays trading.

All the trading run's in Redhat or Solaris environments.
We run a script on a...
6,750
Posted By chipmunken
I decided to remake the script so its less...
I decided to remake the script so its less lines..
Right now It looks like this


#!/bin/bash

targetHost="
www.123sunet.se
www.123arla.se
www.123dn.se
"
count=0

for x in $targetHost...
6,750
Posted By chipmunken
As I'm writing this I'm currently building the...
As I'm writing this I'm currently building the script. I'm at the office so it's not going so fast since I get interrupted all the time.
First version was just to get everything working in my bash...
6,750
Posted By chipmunken
Check connectivity script
This past weekend I had some issues with my ISP.
So for future purpose I'm going to have some logging on my internet so I'm able to attach log files to my complaint email if this issue reoccurs.
...
12,947
Posted By chipmunken
Thanks alot for all the advice.. Ill start...
Thanks alot for all the advice.. Ill start testing when I get home and got some time. Im currently at the office.
12,947
Posted By chipmunken
Thank you methyl. As you realise this is my first...
Thank you methyl. As you realise this is my first on boot script. I have done a handfull of diffrent scripts that manualy exec when thay are needed..

Ok so I will make a script in /etc/rc2.d/
su...
12,947
Posted By chipmunken
ofc... its always the simplest solution... ...
ofc... its always the simplest solution...
Then Ill add
su seb
In the beginning of the script so the command that starts the service is run as user seb
For some reason I dident think logging on...
12,947
Posted By chipmunken
exec script as user on boot not root
Is there a way to change a process owned by root to be owned by another user. I am interested in finding out if there is a way to put a script in /etc/rc2.d that will start up automatically on reboot...
3,025
Posted By chipmunken
whar I was thinking about when I was reading...
whar I was thinking about when I was reading first post
6,608
Posted By chipmunken
Alright I have done som research and I found the...
Alright I have done som research and I found the solutions to the problem
regarding setting to a predefined password.
Added a line under the useradd loop.
read users
groupadd it...
6,608
Posted By chipmunken
Help with useradd script
Ok Im trying too make this shell script create users from my text file, I also want to type in a password for the new users. So thay can make a uniq one themself after first logon.

#!/bin/sh
#...
Showing results 1 to 18 of 18

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