01-06-2012
Thank you. Now answer my other questions too.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a shell script with code
. perf.env
cd $QRY_DIR
for SHELL_FILE in sql1
do
export SNAME=$SHELL_FILE
${SCRIPT_DIR}/perf_qry.sh ${SPOOL_DIR} ${DB_ENVNAME} ${NAME} &
RC=$(expr ${RC:-0} + $? )
sleep 60
if
then
echo sysdate>test1
echo query1.txt>>test1
grep -i... (0 Replies)
Discussion started by: ran16
0 Replies
2. Shell Programming and Scripting
Hi,
I have a shell script with code
. perf.env
cd $QRY_DIR
for SHELL_FILE in sql1
do
export SNAME=$SHELL_FILE
${SCRIPT_DIR}/perf_qry.sh ${SPOOL_DIR} ${DB_ENVNAME} ${NAME} &
RC=$(expr ${RC:-0} + $? )
sleep 60
if
then
echo sysdate>test1
echo query1.txt>>test1
grep -i... (6 Replies)
Discussion started by: ran16
6 Replies
3. Solaris
Hi,
I want to run a crontab job on solaris 10.5. I have configured the crontab accordingly
10 * * * * /scripts/dbalter.pl >> /scripts/cronout.txt
However this does not work .Then I go to /var/mail/root and find an error in the output:
From root@myserver Wed Feb 4 17:02:00 2009... (1 Reply)
Discussion started by: sonu2die4
1 Replies
4. UNIX Desktop Questions & Answers
Hello everyone,
I have developed a cgi application on windows. i have created a folder in webapps of tomcat, within that a WEB-INF folder and in that cgi folder.
This cgi folder contains one executable. The web.xml is as follows: <servlet>
<servlet-name>cgi</servlet-name>
... (2 Replies)
Discussion started by: Preeti_t
2 Replies
5. Shell Programming and Scripting
I got the below error when using the below code...it seem that perl interpret the "'" in the middle and therefore the pipe is not finished.
perl -wle '
@a=`who| perl -wlane 'print \$F;' | sort -u` ;
chomp @a ;
print @a;
'
the error message in cygwin is:-
perl: No match.
| sort... (12 Replies)
Discussion started by: ahmad.diab
12 Replies
6. Web Development
Hi,
I am trying to implement a server monitoring dashboard using cgi scripting. I am planning to run the necessary unix scripts from the web page using cgi. This method works fine for standard unix commands but I am unable to run some external unix commands (like swadm show_processes, swadm... (9 Replies)
Discussion started by: jofinjoseph
9 Replies
7. Web Development
Can anyone tell me how to export a variable from one perl CGI script to another perl cgi script when using a redirect.
Upon running the login.pl the user is prompted to enter user name and password. Upon entering the correct credentials (admin/admin) the user is
redirected to welcome page.
My... (3 Replies)
Discussion started by: Arun_Linux
3 Replies
8. Shell Programming and Scripting
Hi team,
I have a typical problem with cgi pages in apache webserver in WINDOWS
I am able to execute(display) the pages that are saved in cgi-bin folder.
But I am not able to execute the pages stored in htdocs or other folder other than cgi-bin folder.
Could anyone please let me know how... (1 Reply)
Discussion started by: scriptscript
1 Replies
9. Shell Programming and Scripting
Hi All,
I have written an cgi perl script that displays an image(Excel image) and when clicked on that Image I need to download a excel sheet.
I made sure that excel sheet exists in the folder with the given name but still I am not able to download the sheet.
print "<center><table... (2 Replies)
Discussion started by: scriptscript
2 Replies
10. Shell Programming and Scripting
I don't know to debug the program todaylive.pl program.
plz someone let me know what are the commands I need to know to debug the perl programs to find out the error on it. (3 Replies)
Discussion started by: ramkumar15
3 Replies
LEARN ABOUT FREEBSD
fsck_msdosfs
FSCK_MSDOSFS(8) BSD System Manager's Manual FSCK_MSDOSFS(8)
NAME
fsck_msdosfs -- DOS/Windows (FAT) file system consistency checker
SYNOPSIS
fsck_msdosfs -p [-Cf] filesystem ...
fsck_msdosfs [-Cny] filesystem ...
DESCRIPTION
The fsck_msdosfs utility verifies and repairs FAT file systems (more commonly known as DOS file systems).
The first form of fsck_msdosfs preens the specified file systems. It is normally started by fsck(8) run from /etc/rc during automatic
reboot, when a FAT file system is detected. When preening file systems, fsck_msdosfs will fix common inconsistencies non-interactively. If
more serious problems are found, fsck_msdosfs does not try to fix them, indicates that it was not successful, and exits.
The second form of fsck_msdosfs checks the specified file systems and tries to repair all detected inconsistencies, requesting confirmation
before making any changes.
The options are as follows:
-C Compatibility with the corresponding fsck(8) option (skip check if clean), defined to no-op.
-F Compatibility with the wrapper fsck(8) which seeks to determine whether the file system needs to be cleaned immediately in fore-
ground, or if its cleaning can be deferred to background. FAT (MS-DOS) file systems must always be cleaned in the foreground. A
non-zero exit code is always returned for this option.
-f Force fsck_msdosfs to check ``clean'' file systems when preening.
-n Causes fsck_msdosfs to assume ``no'' as the answer to all operator questions, except ``CONTINUE?''.
-p Preen the specified file systems.
-y Causes fsck_msdosfs to assume ``yes'' as the answer to all operator questions.
SEE ALSO
fsck(8), fsck_ffs(8), mount_msdosfs(8)
HISTORY
The fsck_msdosfs utility first appeared in FreeBSD 4.4.
BUGS
The fsck_msdosfs utility is currently under development.
BSD
June 4, 2009 BSD