Hi,
I am trying to check the file not empty, if its not empty then i try to send other system by ftp, the following codes doesnt work
if ]
then
echo "File ${OUTBOUNDFILE} have data"
ftp -i -n -v 204.104.22.33 >> ${FTP_LOGFILE} << EOF
user abc def
ascii
put ${OUTBOUNDFILE}
quit
EOF... (1 Reply)
Hi Guru's,
I need to create 3 files with the contents "ABC" using single command.
Iam using:
echo "ABC" > file1.txt file2.txt file3.txt
the above command is not working. pls help me...
With Regards / Ganapati (4 Replies)
Hi Guys,
while executing the following command : print "-ABC" is giving following error :
ksh: print: bad option(s)
I cannot use echo for some other reasons, so any other option ? (2 Replies)
I am trying to write a if statement in KSH that if a string is start with abc then print something, I have written some code as below but it doesn't work.
Could someone please help me
if ]
then
print success
fi (5 Replies)
$file1
haha
hello i'm lei
i'm abc
you are right
yes it is
I want to get
file2
haha
i'm abc
yes it is
del line before and after the line contains abc I want to know the two steps 1,del the line before line "abc' ,2 del the line after the "abc
question 2 (4 Replies)
This is the script:
#!/bin/sh
if ; then rm -rf /usr/share/WallpaperChanger; fi
if ; then rm -rf /usr/bin/wallch; fi;
if ; then rm -rf /usr/share/applications/wallch.desktop; fi
if ; then rm -rf /usr/share/doc/wallch; fi
if ; then rm -rf /usr/share/man/man1/wallch.1.gz; fi
echo "Delete... (4 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
I want to know the working of & here step by step using sed command. (1 Reply)
Discussion started by: Preeti07
1 Replies
LEARN ABOUT CENTOS
ahb
AHB(4) BSD Kernel Interfaces Manual AHB(4)NAME
ahb -- Adaptec EISA SCSI host adapter driver
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device scbus
device ahb
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
ahb_load="YES"
DESCRIPTION
This driver provides access to the SCSI bus connected to an Adaptec AHA-174X host adapters in ``enhanced'' mode. Tagged queueing and syn-
chronous SCSI transfers are supported.
HARDWARE
The ahb driver supports the following SCSI host adapters:
o Adaptec AHA-1740
o Adaptec AHA-1742
o Adaptec AHA-1740A
o Adaptec AHA-1742A
CAVEATS
The Adaptec 174X is very sensitive to SCSI bus termination and cable length. It may also have difficulties operating with some modern
devices that, due to their speed, expose timing problems in the controller. There are no known mechanisms for working around device incom-
patibilities of this nature.
SEE ALSO aha(4), ahc(4), aic(4), cd(4), da(4), sa(4), scsi(4)AUTHORS
The ahb driver was written by Justin T. Gibbs.
BSD July 4, 2004 BSD