Search Results

Search: Posts Made By: foz
1,801
Posted By foz
would like it to look for multiple files and then...
would like it to look for multiple files and then display [OK] for all then then show the script.
1,801
Posted By foz
Search for Files and clear line after results
Hi,

this is a little strange, i have the following code:

if [ -d /usr/local/psa/admin/sbin/ ]
then
echo -e "psa/admin/sbin present [\033[31mYES\033[0m]"


which shows if a...
2,215
Posted By foz
agree with your opinion.. i just would like to...
agree with your opinion.. i just would like to release a script that everyone can use without having to fanny around with it, but agree that it would be a waste, especially as most things are...
2,215
Posted By foz
Locate file and path
Hi,

I am writing a script to manage my server a bit better, but want to make it so if a path changes I dont need to update the script.

I was thinking of doing something like

if [ -d...
4,392
Posted By foz
wow.. now i feel stupid.. thanks a lot chap.
wow.. now i feel stupid..

thanks a lot chap.
2,452
Posted By foz
you are a legend, thanks. could you explain...
you are a legend, thanks.

could you explain this section for me please:

grep "ANSWER SECTION" >/dev/null 2>&1

i assume it is looking for the answer section in the dig, if it finds it its...
2,452
Posted By foz
Parse variable into a command
What I am trying to do is write a script that makes some commands easier, now one of the commands is to rebuild mail boxes in plesk, which would would be something like

/usr/loca/psa/websrvmng...
4,392
Posted By foz
Clear Terminal After Exit
I have had a look around and can not find the answer, I dont think im searching for the right phrase.

I have written a script to control common functions on my server, however when exiting the...
Showing results 1 to 8 of 8

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