Search Results

Search: Posts Made By: Aviel.shani
1,730
Posted By Aviel.shani
Help with insert a value equation in bash script
HI All,

I have a script in bash that i want that script will perform action

When the size of a particular folder exceeds the 80%.

Here is an example of script that result is exactly 80%...
1,376
Posted By Aviel.shani
Added to the script : value='admin...
Added to the script :

value='admin ALL=(ALL) NOPASSWD: ALL'
file=/etc/sudoers
grep "$value" $file || echo "$value" >> $file
value="%linuxadmin ALL=(ALL) NOPASSWD: ALL"
grep "$value" $file ||...
1,376
Posted By Aviel.shani
I Add it to the script, but it didnt work. The...
I Add it to the script, but it didnt work.
The Duplicate value still getting added to /etc/sudoers
1,376
Posted By Aviel.shani
Skrynesaver, can you be more specific, At...
Skrynesaver,
can you be more specific,

At the section :
#Add permission to sysadmin
echo "admin ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
echo "%linuxadmin ALL=(ALL) NOPASSWD: ALL" >>...
1,376
Posted By Aviel.shani
Question in bash script.
Hi All,
I need an assistance with the issue below.
I wrote big script in "bash" that automatically install an LDAP on Clients.
I'd be happy to know in order to avoid duplication of entries in...
2,104
Posted By Aviel.shani
Thanks for the help, but it does not work .. :) ...
Thanks for the help, but it does not work .. :)
It was also the first option that i tried to debug the script.
2,104
Posted By Aviel.shani
Assistiance in small bash script
Hi All,
i wrote an simple script, that will monitor some services ,and if particular service will found down ,the code will restarts the service and message about the process will be sent on mail....
Showing results 1 to 7 of 7

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