08-18-2017
That worked.
Can't believe I didn't try that. Needed a fresh set of eye. Thanks for the help.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
My question is very strange.
I can run ls command on remote host using ssh successfully. but when i try to run /sbin/md5 command on remote host. it doesnt run and get back to me on command prompt.
md5 command is exist on remote host.
This is what i tried which ran successfully.
Query -... (1 Reply)
Discussion started by: ynilesh
1 Replies
2. UNIX for Advanced & Expert Users
Hi All,
When i try to do ssh from a linux to solaris box its throughing "Connection closed by remote host". Please not that this error is not occuring every time i do ssh, it occurs at random timing( Mostly ssh is successful) - unfortunately my script which is doing ssh is falling at this time... (4 Replies)
Discussion started by: pkumar7
4 Replies
3. Shell Programming and Scripting
This script is supposed to display a file ( crontab ), ask the user if they wish to update the file, then it goes through an update routine.
#!/bin/bash
FILE=/etc/crontab
tail -5 $FILE
echo -n "Does crontab need updating"
read HOURS
...routines ....etc...
Runs locally... (8 Replies)
Discussion started by: Bubnoff
8 Replies
4. AIX
Hello,
Using AIX 6.1 boxes.
User user1 connects from box A to box B using ssh.
When password authentication is used everything is fine. When I configure user1 to use public key authentication sftp client works fine(no password asked), but ssh client fails. This is sshd log:
Accepted publickey... (3 Replies)
Discussion started by: vilius
3 Replies
5. Shell Programming and Scripting
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)
Discussion started by: shis100
7 Replies
6. Shell Programming and Scripting
Hi all
I have a problem with this var :(
I dont know why I cant get it ?!!?!
Im trying with
newvar1=$(($var+1))
newvar1=$(($var + 1))
newvar1=`expr $var + 1`
expr: syntax error
expr: syntax error
expr: syntax error
but it not work :( in other script its ok and working
tell me... (8 Replies)
Discussion started by: sanantonio7777
8 Replies
7. Solaris
I'm posting here as it didn't seem quite right in the hardware section (as it's LOM commands). My apologies if I have that wrong though :)
I've finally gotten round to configuring the LOM on my Netra X1, but I can't get it to change the hostname via the "set" command:
lom>show hostname... (2 Replies)
Discussion started by: Smiling Dragon
2 Replies
8. UNIX for Dummies Questions & Answers
Please can you help me understand the significance of providing arguments under sh -s in
> ssh -qtt ${user}@${host} "sh -s "${version}"" < test.sh (4 Replies)
Discussion started by: Sree10
4 Replies
9. Shell Programming and Scripting
Hi ,
I am trying to read a list of hosts from a config file and trying to get file list from that host. For this I have used one while loop.
cat "$ARCHIVE_CFG_FILE" | sed '/^$/d' | sed '/^#/d' | while read ARCHIVE_CFG
do
SOURCE_SERVER_NAME=`echo "$ARCHIVE_CFG" | awk -F '|' '{ print... (2 Replies)
Discussion started by: Anupam_Halder
2 Replies
10. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 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)