Search Results

Search: Posts Made By: dannyvdberg
986
Posted By dannyvdberg
Thanks scott, I also found a other option: ...
Thanks scott,

I also found a other option:

sed -i "3i HELLO" /etc/sudoers

EDIT: And thanks CarloM
986
Posted By dannyvdberg
Choose a line-number to add line
Hello guys,

I'm making a script to add visudo with this script.

Do you guys know if it's possible to add words to a line-number you want to.

Something like this:

echo "Adding words to...
2,422
Posted By dannyvdberg
Hello RudiC This is my code now and it...
Hello RudiC

This is my code now and it works.

FILES=`find ${CHOICE} -name @etc@apache2@*.tar.gz -type f`

echo "Founded tar.gz files from Apache2"
echo...
2,422
Posted By dannyvdberg
I'm totally lost in it now.. I tried your piece...
I'm totally lost in it now.. I tried your piece of code.

tar_gz=( $(find @etc@apache2@mods-available.tar.gz @etc@apache2@mods-enabled.tar.gz @etc@apache2@ports.conf.tar.gz...
2,422
Posted By dannyvdberg
Thank you for helping. This is my code now ...
Thank you for helping.

This is my code now

tar_gz=( $(find @etc@apache2@mods-available.tar.gz @etc@apache2@mods-enabled.tar.gz @etc@apache2@ports.conf.tar.gz @etc@apache2@sites-available.tar.gz...
2,422
Posted By dannyvdberg
Do you have a example maybe for me? I'm doing...
Do you have a example maybe for me? I'm doing anything but nothing works..
2,422
Posted By dannyvdberg
Thank you for you message. I will make a for...
Thank you for you message. I will make a for loop. But is necessary that all the 5 tar_gz are in the backup for the restore and if not that the restore script exits. Is this possible in a for loop...
2,422
Posted By dannyvdberg
If option statement
I working on my Apache2 restore script.

This is the code so far


updatedb
prompt_list "Whick configuration_backup file do you want to use?" `find /restore/configuration/ -name...
886
Posted By dannyvdberg
HELP! I want to locate only dir and tar.gz
I making a script to restore apache from a configuration_backup tar.

For now i want at the beginning of the script that you can make a choice to choose one of the configuration_backup tars.

I...
1,571
Posted By dannyvdberg
Shell Script to filter users and create them again from a back-up server
This is a script to filter the users out of etc/passwd and etc/group. So if you want to migrate of restore a server you can use this script from a backup to restore and make the same users on you...
1,663
Posted By dannyvdberg
Script for removing Postgres
I made a script to remove Postgres if this is already installed on your system. I have a other script to install Postgres, so this script can be used before you going to install Postgres.

Do you...
1,295
Posted By dannyvdberg
I would like to test it, but on my test server i...
I would like to test it, but on my test server i have already installed postgres and i think it will get problems if they both be installed. I will make a Virtual Ubuntu and will test there the...
1,295
Posted By dannyvdberg
What do you think of this script?
This script is for installing JIRA with Postgres as database. Also in the script is to make an automatic user and database to use this for Jira.

#!/bin/bash...
Showing results 1 to 13 of 13

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