My script is in linux.
And the I can explain better with the following example:
I have a folder that has subfolders and a file in the last directory: a/b/c/d/file.sh
Then The idea is to pu...
http://www.experts-exchange.com/OS/Linux/Q_23293747.html
Hello,
I have a batch file that will check if a host is alive and if so "do something" , if not "do else".
here is my batch file.
PING 192.168.2.100 | FIND "TTL" > NUL
IF NOT ERRORLEVEL 1 G...
http://www.experts-exchange.com/Programming/System/Linux/Q_21787312.html
Zones:
Linux DevDate Answered: 03/24/2006 Grade: A Views: 0
I am building a sql command string and trying to echo the following statement
echo 'set file_status='UPDATED'' >> temp_command_buffer
how do I get the single quotes around UPDATED to be pa...
http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Q_23198588.html
Hi all,
I am creating a script that i need to go back some directories, but the mos common and not so good way that I now to do that is by cd ../../../../../../../...
Another way to do this m...
http://www.experts-exchange.com/Programming/Languages/Scripting/Q_23293512.html
Hello,
Here is my file ; it is an sql file.
select @i_date_v := min(from_unixtime(logging_time, '%D-%M-%Y')) FROM 1_event_2008070600;
select @mm1_succ_1 := count(*) FROM 1_event_2008070600 w...
http://www.experts-exchange.com/Programming/System/Linux/Q_23541614.html
I made a bash script, but I am not very good in it, how can I simplify this bash script? Any other tips?
http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Q_23559538.html
I have the apache logs in the following format:
[Mon Jul 28 00:02:35 2008] [error] [client 99.99.99.99] File does not exist: /home/abc.xyz.com/http/1.gif", referer: http://abc.xyz.com/ggg1/p000...
http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/bash/Q_23606142.html
Ok I have searched for hours, and its driving me crazy so im just going to go ahead and ask this stupid question. I apologize for it being so basic. Im VERY new to scripts/programing.
I am making...
http://www.experts-exchange.com/OS/Linux/Q_20377856.html
I need to write a simple script on my Fedora box that would run these commands in succession and email me the results in one email once a day every day
uptime
ps aux | grep httpd
ps aux | grep...
http://www.experts-exchange.com/OS/Linux/Administration/Q_21580870.html
Zones:
Linux AdminDate Answered: 10/28/2005 Grade: A Views: 0
I am working on a fairly simple shell script to ftp some files from a remote Windows 2003server to a Suse 9.2 Pro linux server. The remote files are web log files and are stored with the date as p...
http://www.experts-exchange.com/OS/Linux/Q_21862876.html