Search Results

Search: Posts Made By: locutus01
2,615
Posted By locutus01
OK. This is part of a init script and when i do...
OK. This is part of a init script and when i do that the service will not start.

---------- Post updated at 01:57 PM ---------- Previous update was at 01:25 PM ----------



OK, solved it in...
2,615
Posted By locutus01
su - in a script
Hello!

I have the following part in a script:

cd /tmp && /sbin/startproc -v -q -s $saprouter_BIN -r -S3298 -R /adm/saprouter/saproutertab -K "p:CN=saprouter@`hostname`, OU=xxxx , O=xxxx, C=xx"...
10,949
Posted By locutus01
Yes, but the error was too simple to see it. ;) ...
Yes, but the error was too simple to see it. ;)
I hadn't used the absolute path for the time file (.lastfullbackup), so it was not found.
Thx
10,949
Posted By locutus01
I can't see any error in the log. Here the output...
I can't see any error in the log. Here the output when executing as a regular user:



Oct 27 14:58:01 dfs /usr/sbin/cron[10562]: (admin) CMD (/adm/backup/backup.sh)
Oct 27 14:58:01 dfs sudo: ...
10,949
Posted By locutus01
Difference between using shell or cron to execute a script
Hi!

Maybe i am here in the wrong section for the problem, but let me try to explain. I have the following simple backup script, as a solution till the final backup solution is online. Unfortunatly...
1,367
Posted By locutus01
OK, thx!
OK, thx!
1,367
Posted By locutus01
Variable explanation
What does this part in the following code ?

if [ ".$t" != . ]; then
$t shows some time values for getting the response, but why .$t and what does the . after the !=


t=$(time -p wget --quiet...
3,878
Posted By locutus01
Thx, it's working fine now, but i want to expand...
Thx, it's working fine now, but i want to expand it. Maybe someone can help me with that. Is it possible to give this script a second parameter on the commandline instead of asking for the case and...
3,878
Posted By locutus01
simple shell script with elif and for nexxt
Hi!

I have here a simple script to change the advskew on carp interfaces. The first is working, but the part for status, where a for is within a if/else delivers everyime only the action for the...
6,186
Posted By locutus01
~/.bashrc Works on the console.
~/.bashrc

Works on the console.
6,186
Posted By locutus01
Ok, but this does not expand the alias for the...
Ok, but this does not expand the alias for the servername.
6,186
Posted By locutus01
expanding alias from a variable
Hi !

I am making my first steps to make a script. Therefore i try to make a scp command more easier. Given is the following alias:

14='admin@x-abcd-def.xyz

Now i want to let the script read...
1,340
Posted By locutus01
How have you learned it ...
Hi!

I am asking me what is the best way to become a good knowledge of scripting, perl etc. Because i have only a little bit knowledge about bash, also a little bit of sed & awk. when i start...
1,432
Posted By locutus01
Thanks for the quick and good answer, will help...
Thanks for the quick and good answer, will help me a lot.

Alex
1,432
Posted By locutus01
Understanding of a script as a scripting newbie
Hi!

I have the following script and do not understand part of it. I have a very little understanding of scripting.

The script is for Nagios to check the response of fast-com.de. The guy who has...
Showing results 1 to 15 of 15

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