this statement "Be sure to have /usr/bin before /usr/local/bin in your $PATH" is because, if u have any files in bin directory, /usr/local/bin will be the first place to look at instead of /usr/bin. BUT, /usr/local/bin has one more descending directory to go , therefore /usr/bin has to come before... (2 Replies)
Hi,
I was wondering if it possible to get the path of a variable and compare that to something. Basically I want to write a script that checks if my $JAVA_HOME is correct and if not then it sets it. So far I have...
if ]
then
export JAVA_HOME='/pathhere'
echo JAVA_HOME='/pathhere'
fi
... (6 Replies)
Hi,
I'm trying to write a bit of code that will check if a file exists and then archives the file
Im trying to use the following if statement without success..
if
then
mv filename archive/filename
else
echo "no filename exists"
fi
Should the file name be... (3 Replies)
Hi,
Am trying to execute certain commands if the condition satisfied, but i feel i am making some mistakes in the usage of if statement
here is the code
#!/bin/ksh
SIZE=$(ls -ltr /aemu/ws/DN.txt | tr -s ' ' | cut -d ' ' -f 5)
filename=`TZ=CST+24 date +%Y%m%d`
ZERO=0
if
then
cp... (5 Replies)
Hi All,
If i run below copy command, it works absolutely fine,
/opt/csw/bin/scp axetlxyz01:/opt/data/test/QURIES* ./input
I want to make the above line better, by adding an IF statement, want to check if there is any file exists with name QURIES*.* then i need to copy that.
if
... (7 Replies)
my user copy large files, and it's take 10min for file to be copied to the server (/tmp/user/ files/), if in the meantime start my scheduled script, then it will copy a part of some file to server1
my idea is to check the file size twice in a short period (1-2 seconds) of time, then compare, if... (5 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a script that performs a post processing action:
The run time environment of the script has the... (2 Replies)
In shell script, I want to transfer files continuously and make sure transfer is successful.
Please advise... how to make sure ftp transfer is successful?
Also is there any option such as sftp -b where I can pass multiple put <file name> commands to ftp
Thanks! (1 Reply)
I wish to check two conditions inside the if statement
Condition 1: The two file contents should be identical // using cmp command for this.
Condition 2: The two filenames should NOT be the same.
This is what i did in vain.
if ]; then
where entry1 and entry2 are
ls *.txt | while... (7 Replies)
Discussion started by: mohtashims
7 Replies
LEARN ABOUT ULTRIX
cxa
cxa(4) Kernel Interfaces Manual cxa(4)Name
cxa - CXA16 communications interface
Syntax
device dhu0 at uba0 csr 0160440 flags 0xffff vector dhurint dhuxint
Description
A CXA16 provides 16 data-leads-only communication lines with no modem control. The CXA16 conforms to RS423A. The device behaves and looks
just like a DHV11 (with the exception of modem control and number of lines) and is specified in the configuration line the same as a DHV11
device. Each line attached to the CXA16 communications multiplexer behaves as described in and can be set to run at any of 16 speeds; see
for the encoding.
A flags field of 0xffff must be used to specify that all lines are to operate as hardwired. This is done to prevent the line from being
treated as a modem control line.
The dhu driver normally interrupts on each input character. The and devices operate under the control of the driver.
Diagnostics
dhu%d: receive fifo overflow
The character input fifo overflowed before it could be serviced. This can happen if a hard error occurs when the CPU is running with ele-
vated priority, as the system then prints a message on the console with interrupts disabled. This can cause a few input characters to be
lost to users. It is not serious.
dhu%d:%d DMA ERROR
A DMA transfer error has occurred. The unit number and line number are printed. This means that the channel indicated has failed to
transfer DMA data within 10.7 microseconds of the bus request being acknowledged or that there is a memory parity error. This may cause a
few output characters to be lost.
dhu%d: DIAG. FAILURE
This indicates that the internal diagnostics have detected an error.
dhu%d: DHU HARDWARE ERROR. TX.DMA.START failed
The failed to clear the start bit. Normally, this is cleared to signal that a DMA transfer has completed.
FilesSee Alsotty(4), MAKEDEV(8)cxa(4)