09-07-2004
Oh, man....
0000000 033 ] 0 ; w a l l : / r o o t \a /
0000020 u s r / s b i n / a d d u s e r
0000040 \n
0000041
This was a real eye-opener.
khm... I've done some prompt magic. Disabling that the whole thing was fixed
Thank you very much indeed.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I use the command
ls a\b\c\*.txt
from the command line on HP UNIX and it works fine - It lists all files matching *.txt in the a\b\c directory
When embeded in a ksh script
`ls a\b\c\*.txt`
it does not work - I get *.txt not found (even though there are files)
I tried... (10 Replies)
Discussion started by: GNMIKE
10 Replies
2. Shell Programming and Scripting
Hi,
i wan to search the file starting with Admin into the directory Output. I am running below command:
find /appl/Output -name "Admin*" -prune
but this command is going into the sub directories present under output. I do not want to search under sub directories. Any help will be highly... (6 Replies)
Discussion started by: Vishal123
6 Replies
3. UNIX for Dummies Questions & Answers
Portion of my script below :
if ; then
NUMBEROFFEILDS=`cat ${BASE_SCRIPT_LOC}/standardfilecleanup.lst|grep -w ${db_file_path}|awk -F: '{print NF}'`
COUNT=4
while ; do
awk_var="$"`echo $COUNT`
file_name1=`cat ${BASE_SCRIPT_LOC}/standardfilecleanup.lst|grep -w... (1 Reply)
Discussion started by: findprakash
1 Replies
4. Red Hat
Hi,
I need to write a Linux shell script which will perform an FTP operation to another server.
main.sh will contain -
ftp -nd Dest.IP.address < ftpScript.sh
Contents of ftpScript.sh is given below -
user userid passwd
prompt
lcd /vidya/Input
cd vidya/Output
mput *.*
close
... (1 Reply)
Discussion started by: vidyak
1 Replies
5. Shell Programming and Scripting
total=0
seq 1 5 | while read i ; do
total=$(($total+$i))
echo $total
done
echo $totalThis outputs:
1
3
6
10
15
0whereas I am expecting:
1
3
6
10
15
15My bash version: (4 Replies)
Discussion started by: meharo
4 Replies
6. UNIX for Dummies Questions & Answers
I need to sort through a volume that contains video files by access time and delete files that have not been accessed over x days. I have to use the access time as video files are originals that do not get modified, just read
Testing commands on a local test folder...
$ date
Wed Sep 28... (10 Replies)
Discussion started by: canon273
10 Replies
7. Shell Programming and Scripting
for i in `cat /export/home/afahmed/Arrvial_time.txt`
do
echo $i
echo $i | awk '$3 < $D { print $4 }' >> dynamic_DF.txt;
done
When i echo, its echo as
Nov
15
02:24
/export/home/pp_adm/inbound//wwallet_20111115.txt where i expect it to be Nov 15 02:24... (7 Replies)
Discussion started by: afahmed
7 Replies
8. UNIX for Dummies Questions & Answers
Hi. I am trying to start a script on my router that will execute even if i log off. To execute the script I write:
nohup ./dslconnection > dslstat.out 2>&1 &
It starts the job:
21968 admin 1604 S /bin/ash ./dslconnection
The problem is that when I log back in the job has been... (6 Replies)
Discussion started by: sebcou
6 Replies
9. Shell Programming and Scripting
Hi,
I have prepared a script and trying to execute it but not getting expected output. Could you please help and advise what is going wrong.
"If else" part in below script is not working basically.
I am running it on HP-UX.
for i in slpd puma sfmdb
do
echo "******\t$i\t*******"
echo... (10 Replies)
Discussion started by: sv0081493
10 Replies
10. UNIX for Advanced & Expert Users
I ran into the following and still do not understand entirely the rationale behind this. If someone could explain why things are as they are I'd be thankful.
The following was tested on AIX 7.1 with ksh88, but i suspect that to be ubiquitous. In an installation routine i had to create a set of... (6 Replies)
Discussion started by: bakunin
6 Replies
LEARN ABOUT DEBIAN
smdiag
SMDIAG(8) Linux Programmer's Manual SMDIAG(8)
NAME
smdiag - Linux soundcard packet radio modem driver diagnostics utility
SYNOPSIS
smdiag [-i device] [-d display] [ -ce ]
DESCRIPTION
smdiag may help to adjust the audio levels of the soundcard modem driver, as well as to control the quality of the radio link. It may
either display an oscilloscope like view of the input signal, or display an eye diagram. The display may be gated with DCD, i.e. only
updated if the modem detects a data carrier.
OPTIONS
smdiag accepts the following options:
-i The device argument specifies the soundcard modem device which should be configured or interrogated. It will usually have the fol-
lowing form: sm[0-3].
-d sets the address of the X server to display the window.
-h display an overview of the available command line parameters and exit.
-c toggle the carrier gating of the display.
-e display an eye diagram (overlay of the synchronized demodulator output) instead of an oscilloscope view of the input signal.
KEYS
C clears the window
D toggles the DCD gating.
E displays an eye diagram
I displays the input signal
Q quits smdiag
BUGS
smdiag Reacts sluggishly to keypresses. The window size is fixed. For speed reasons, two square root operations per sample are not imple-
mented in the AFSK 1200 baud modes. The eye diagram for the AFSK 1200 baud mode is therefore distorted.
SEE ALSO
smmixer (8), sethdlc (8), linux/drivers/net/soundmodem.c
AUTHOR
smdiag was written by Thomas Sailer (t.sailer@alumni.ethz.ch).
Smdiag 0.1 1 October 1996 SMDIAG(8)