After you connect to the server and open a new terminal window, show us the output from the following commands typed into that terminal window:
PS... And what output do you get from the command:
Last edited by Don Cragun; 08-28-2015 at 04:32 AM..
Reason: Add PS.
I have tried to implement a while loop into the code but upon running the following code i am getting the errors:
./Assigntest: line 42: syntax error near unexpected token `done'
./Assigntest: line 42: `done'
The code is as follows:
#!/bin/bash
#Filename: Assignment Author: Luke... (9 Replies)
I'm getting the following error:
line 21: syntax error near unexpected token `done`
line 21: `done`
and I haven't been able to figure out why.
Here is my code
#!/bin/sh
if ; then
echo 'Usage: rename getexp/replStr '
exit 0
fi
arg = $1
shift
while ; do (5 Replies)
Guys ,
This is an output of my script errored out for "Syntax error near unexpected token `(' " Can someone tell me whats wrong with my script.
Below is my original script pasted.
#!/bin/bash
Script Creation Date 01/21/2010
Author baraghun
... (7 Replies)
Hi all,
Here is a simple script that is working in one server and is giving a syntax error in other server. Can somebody help me ?
#!/bin/bash
# ftp files
done < $file
errors:
I tried..with no success:
if ; then (21 Replies)
Hello all,
Im having an Issue with my script for switch statement , can someone let me know where do i need to correct it.
7 ##*******************************************************************************************************
8 ## ********** FUNCTION USAGE ***********
... (13 Replies)
Hi all,
This is a script which converts hex to bin. However am finding an error while executing
syntax error near unexpected token `='
`($hexfile, $binfile) = @ARGV;'
I am running using ./fil.pl <hexfile> <binfile>
###################################################
#
# this script... (3 Replies)
Hi,
I am trying to read the session log through script. But it keeps showing me some error near. I have tried everything. Even tried converting the script using sed command to remove the hidden characters(\r).But nothing seems to be working.Below is the script :
#!/bin/bash
cd... (6 Replies)
I tried to execute the code but I got this error
./Array.c: line 9: syntax error near unexpected token '('
./Array.c: line 9: ' nvals = get_data(a,MAXARRAY);'
and
#include<stdio.h>
#define MAXARRAY 1000
main()
{
int a,
nvals;
nvals =... (7 Replies)
Hello all,
Please i have this command i used to zip different files in differents directory, but i have an error. Note that when i run the command in one directory it works fine.
/X5/WORK/BGH/INV/REG/pdf/SEND/BGH12523/1/*.fo
/X5/WORK/BGH/INV/REG/pdf/SEND/BGH24523/1/*.fo... (3 Replies)
detect_mouse_mvt.sh
/home/andy/bin/detect_mouse_mvt.sh: line 4: syntax error near unexpected token `('
/home/andy/bin/detect_mouse_mvt.sh: line 4: `fh = file('/dev/input/mice')'
#!/bin/bash
#
#
fh = file('/dev/input/mice')
while True:
fh.read(3)
print 'Mouse... (15 Replies)
Discussion started by: drew77
15 Replies
LEARN ABOUT ULTRIX
plot
plot(1g)plot(1g)Name
plot - graphics filters
Syntax
plot [-Tterminal[raster]] [-l#] [-w#] [-c#]
Description
The command reads plotting instructions from the standard input and produces plotting instructions for a specified terminal on the standard
output. For further information see
Options
The following options are available with the command.
-Tterminal Uses the specified terminal name as the terminal type for which plotting instructions are to be generated. If a terminal
type is not specified, the environment parameter $TERM is used. For more information, see The terminal type can be one of
the following:
450 DASI Hyterm 450 terminal (diablo mechanism).
300 DASI 300 or GSI terminal (diablo mechanism).
300S DASI 300S terminal (diablo mechanism).
4014 or tek
Tektronix 4014 or 4015 with Enhanced Graphics Module. (Use 4013 for Tektronix 4014 or Tektronix 4015 without the
Enhanced Graphics Module).
4013 Tektronix 4013 Storage scope
aed AED 512 color graphics terminal
bitgraph or bg
BBN bitgraph graphics terminal
crt Any crt capable of running
dumb dumb terminals without cursor addressing or line printers
grn given a plot file, produces a grn file.
hp7221 Hewlett Packard 7221 Graphics terminal.
hp2648 Hewlett Packard 2648 Graphics terminal.
imagen or ip
Imagen laser printer (default 240 DPI resolution).
lvp16 DEC LVP16 Graphics Plotter.
hp7475a HP 7475A Graphics Plotter.
ver Versatec D1200A printer-plotter. This version of places a scan-converted image in and sends the result directly to
the plotter device rather than to the standard output. The optional argument causes a previously scan-converted
file raster to be sent to the plotter.
var Benson Varian printer-plotter.
vt125 DEC vt125 terminal.
raster Is a scan-converted temporary file that is sent directly to the plotter. The raster file is only specified with the -Tver
option.
If terminal is either an lvp16 or a hp7475a, you can specify the following options. These options must follow the -Tterminal option:
-l# length of paper window in plotter units (unit scale)
-w# width of paper window in plotter units (unit scale)
-c# initial pen carousel to be used
Restrictions
A lockout protection does not exist for
Files
/usr/bin/t4013
/usr/bin/aedplot
/usr/bin/bgplot
/usr/bin/crtplot
/usr/bin/dumbplot
/usr/bin/gigiplot
/usr/bin/grnplot
/usr/bin/hpplot
/usr/bin/hp7221plot
/usr/bin/implot
/usr/bin/lvp16
/usr/bin/tek
/usr/bin/t450
/usr/bin/t300
/usr/bin/t300s
/usr/bin/vplot
/usr/tmp/raster
See Alsograph(1g), plot(3x), plot(5)plot(1g)