Sponsored Content
Full Discussion: not found error
Top Forums Shell Programming and Scripting not found error Post 302117149 by Unbeliever on Friday 11th of May 2007 03:36:59 AM
Old 05-11-2007
Just need some spaces and the correct operator ('=' is a tstring comparison operator). Instead of

if [$DTYPE=351]

You should have:

if [ $DTYPE -eq 351 ]

If you wish to compare them as strings you should use quotes (still need the spaces).

if [ "$DTYPE" = "351" ]

Try 'man test' for more information.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

ERROR -> ./txt1[2]: x: not found

Hi all, When I try to run this shell script (name txt1) script -> txt1 ------------------------ #!/usr/bin/ksh x = "hello" echo "$x" ------------------------ error while executing ------------------------ serv1> txt1 ./txt1: x: not found ------------------------ (2 Replies)
Discussion started by: k_oops9
2 Replies

2. Programming

library not found error

We are trying to execute C/C++ programs in SOlaris 8. Though the exes are compiled in g++, we donot have it installed in the target machine. We have the library files in the target machine and LD_LIBRARY_PATH is set correctly. Now when the exes are run, we are getting the error $ seq ld.so.1:... (1 Reply)
Discussion started by: virtual_j
1 Replies

3. UNIX for Dummies Questions & Answers

sqlload not found error

When i try to run a job in unix, i am getting sqlload error as, sqlload : file not found. Can any one please let me know whats the reason for this.. The PATH & ORACLE_HOME paths names are correct... thanks:confused: hr is the script: here is the script : plz hv a look TABLE_NAME=... (2 Replies)
Discussion started by: abhi_123
2 Replies

4. Red Hat

Command Not Found Error?

Hi, I am beginer to Linux. I have installed Redhat Linux AS 4.0 on my System.Later I created a User Oracle10g for Installing Oracle.Then I logged onto Oracle10g user and crated a Bash Profile and when I run that profile there was an error in that Profile. from then If I type any of Linux Command... (2 Replies)
Discussion started by: praswer
2 Replies

5. Shell Programming and Scripting

Command not found error!

Hello everyone, I am using Linux and tcsh shell. I am trying to run a free open source program( which is in the form of a binary file), but every time I run it it gives me an error saying: newhtsg_v1.0:Command not found. I have set permission also for the same. What else can I do to make... (4 Replies)
Discussion started by: ad23
4 Replies

6. Shell Programming and Scripting

sh: gzip: not found ERROR

I am creating a script to run the SysInfo tool under HPUX servers, this is my script! #!/usr/bin/ksh # # Date: February 29th 2011 # #Definicion de variables PATH_TMP=/home/eponcede > HPUX_SysInfo.log for host in `cat $PATH_TMP/servers/host_hp2_test` do echo... (2 Replies)
Discussion started by: eponcedeleonc
2 Replies

7. Linux

command not found error

I installed in VM the Mandriva Linux. But when I fire the make command it gives me command not found error. Seems make is not installed. I also checked in Mandriva control center and no development package is seen there. Will pls let me know how to proceed and get make and other development... (2 Replies)
Discussion started by: rupeshkp728
2 Replies

8. UNIX for Dummies Questions & Answers

Variable not found error

Hi, I get a "FILEPATH: not found" error on the 3rd line and the line where it is within the case. Any idea as to why I'm getting this error time and time again? Oh and FILEPATH will store the directory of the file. I appreciate any help! IAM=`basename $0` RC=0 FILEPATH = ""... (1 Reply)
Discussion started by: MIA651
1 Replies

9. Shell Programming and Scripting

/bin/sh: : not found error

Hello, When i run the shell script in Solaris, i am getting the below error. /bin/sh: Test.sh: not found I have tried including "#!/bin/bash" , did not work, tried with #!/bin/ksh , did not work, tried without the above include in the script, but still did not work. Please help me to... (5 Replies)
Discussion started by: balareddy
5 Replies

10. Shell Programming and Scripting

Command not found error 'then'

Could you let me know if my path is having bourne bash echo $PATH /u01/app/oracle/product/10.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin $ which bash /bin/bash $ which ls alias ls='ls --color=tty' /bin/ls Below is... (3 Replies)
Discussion started by: csguna6
3 Replies
XTRACEROUTE(1)						      General Commands Manual						    XTRACEROUTE(1)

NAME
xtraceroute - graphical (X11) traceroute SYNOPSIS
xtraceroute [options] [hostname] DESCRIPTION
This manual page briefly documents the xtraceroute, command. This manual page was originally written for the Debian GNU/Linux distribution because the original program does not have a manual page. Since then the author has gotten his act together and keeps it up to date. xtraceroute is a graphical version of the traceroute program, which traces the route your IP packets travel to their destination. On the display: * Green dots have good location information that came from LOC fields in the DNS, which is the best data out there. * Orange ones has been guessed from the sites' suffix. * Yellow ones got resolved via a database of city names and "known" routers. That data is old and inaccurate and it's not getting any younger. * Red ones are completely unknown. * You can select dots by clicking on them both on the globe and in the list. * Pressing and holding the left mouse button and moving the mouse will rotate the globe. Using the middle mouse button will move it, and the right mouse button will zoom it (only vertical movement counts). You can generally get the view you want this way. ARGUMENTS
hostname is the name (or IP address) of the host you are interested in. OPTIONS
The program follow the usual GNU command line syntax, with long options starting with two dashes (`-'). --version Show version number -h, --help Display a brief help text. -T, --texture texture-name Use a custom texture (map). It can be any kind of file that gdk_pixbuf can load (which is most reasonable formats). There are a few really good textures on http://www.radcyberzine.com/xglobe/ (Meant for use with Xglobe, but they'll work fine here as well.) --LOD number Set the level-of-detail for the sphere. (The default is 3, 0-4 are realistic values.) --stdin, - Makes the program read data from stdin instead of calling traceroute(8) (Mainly useful for debugging) CAVEATS
xtraceroute tries hard to guess the location of machines, but it is just software, it doesn't know everything, and it makes mistakes. The yellow dots has been guessed by looking at the top level domain (TLD) of the hostname. This works fairly well for most countries, but there's a few exceptions where some small countries (like Niue (.nu) and Tuvalu (.tv)) will let anyone register domains in their space for a fee. I don't care, If it says .nu and it hasn't got a LOC record, it'll get plotted in Niue. Also, very few US sites actually use the .us TLD. If it finds a very high-latency link, it will assume it it a satellite hop and plot it accordingly. If you have some other kind of slow link, like PPP over something slow or a really busy router, it might show up as a satellite hop as well. FILES
/usr/share/xtraceroute/earth.png Default texture for the earth. /usr/share/xtraceroute/site_hosts.cache System-wide hosts file (optional) /usr/share/xtraceroute/site_networks.cache System-wide networks file (optional) The two files above are filled in by hand, following the model of /usr/lib/xtraceroute *.cache files. $HOME/.xt/user_hosts.cache Your personal hosts file $HOME/.xt/user_networks.cache Your personal networks file $HOME/.xt/user_generic.cache Your personal base of regular expressions These three personal files are typically filled in via the Database menu. LOC data The Correct Way to tell the geographical location of a host on the internet is to ask the DNS. The way to do that is described in RFC1876, which defines the LOC (for location) RR. It's not exactly widely used, but you see it every now and then. Hopefully this program can help change that. How to get LOC data for your site into the DNS: Ask your local sysadmin that maintain your nameserver to read the RFC. It's a fairly easy read as RFCs go, but it might help if you find out the location of your site in advance using, say, a GPS or a site like http://www.mapblast.com. Sysadmins are busy people. When xtraceroute tries to resolve a hostname it will try the proper name first, and then higher domains. For example if our hostname is "apa.bepa.cepa.com", it will try that, "bepa.cepa.com" and "cepa.com". (But not just "com") This means that if you're a big site and it's hard to persuade the admins to add individual LOC entries for all machines, you can try get- ting them to add one or two for the whole domain. SEE ALSO
traceroute(8) More information on xtraceroute is in /usr/doc/xtraceroute. AUTHOR
This manual page was written by Stephane Bortzmeyer <bortzmeyer@debian.org>, for the Debian GNU/Linux system (but may be used by others). Xtraceroute was written by Bjorn Augustsson <d3august@dtek.chalmers.se>. BUGS
Please send bug reports to Bjorn Augustsson <d3august@dtek.chalmers.se>. XTRACEROUTE(1)
All times are GMT -4. The time now is 03:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy