Sponsored Content
Full Discussion: typeset
Top Forums Shell Programming and Scripting typeset Post 302123779 by balaji_prk on Wednesday 27th of June 2007 08:06:20 AM
Old 06-27-2007
typeset

Can anyone show me a simple practical usage of typeset.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

TYPESET use

Hi all, I have problem understanding shell script.Written that $bindir/put_load.ksh ; typeset RV= $? I dont have any other document about script. How can i find that $bindir is exist or not what is the content of that, i am working on new box . how can i search that in old box what... (4 Replies)
Discussion started by: sam71
4 Replies

2. Shell Programming and Scripting

typeset -f ???

I have found this command *typeset* and the option * -f *, which should provide me the list of all the currently defined functions. Is there any possibility of specifying the file in which this command to search ? (1 Reply)
Discussion started by: xinfinity
1 Replies

3. Shell Programming and Scripting

Typeset

Hi, Could any one please explain about typeset or share any link from where i can study about typeset i.e how to use it, how to define it.. etc? Thanks- Yogi (3 Replies)
Discussion started by: bisla.yogender
3 Replies

4. UNIX and Linux Applications

typeset-r

Hi All , Can any one help me the meaning of typeset -r Thanks, venkat (1 Reply)
Discussion started by: venkatakotiy
1 Replies

5. Solaris

typeset: not found

I am trying to run a script in Solaris 10 in which it it giving error typeset: not found (I am trying to use typeset -i ) where the shell is $ echo $SHELL /usr/bin/sh But when i do bash it is running fine. can any one tell me how i can use the same with out doing bash. Thanks in... (3 Replies)
Discussion started by: kirpond
3 Replies

6. UNIX for Dummies Questions & Answers

Typeset

Hi, Can any one please explain me the use of 'typeset' in shell scripting? I donot under stand the use and advantages of using typeset. In one of our script, it is written like typeset VERBOSE NO_UPDATE typeset LOAD_SYBASE_TABLES I donot understand what actually these lines do. As per my... (2 Replies)
Discussion started by: siba.s.nayak
2 Replies

7. Shell Programming and Scripting

Why use typeset?

Hi, All the scripts we have here use typeset instead of normal variables. They don't have any parameters, they just get declared at the beginning of the scripts like this: typeset var1 var2 var3Could anyone tell me why this is done? I don't see the advantage in this over using normal variables. (1 Reply)
Discussion started by: Subbeh
1 Replies

8. UNIX for Dummies Questions & Answers

Typeset in HP-UX and Linux

typeset -u xname1=$mname1 is working fine in HP-UX. But it throwing below error in Linux: line 40: typeset: -u: invalid option typeset: usage: typeset name . Please suggest. Thanks, Ambar (5 Replies)
Discussion started by: ambarginni
5 Replies

9. Shell Programming and Scripting

Typeset

I don't have man typeset entry in unix. what is the use of typeset command and can you give some examples for that. (1 Reply)
Discussion started by: ramkumar15
1 Replies

10. Shell Programming and Scripting

Pipe in typeset

I wanted to understand the meaning of pipe in typset declaration, I understood the meaning but wanted to know the concept. Sample declaration: typeset -r A='ab | bc | cd1' (1 Reply)
Discussion started by: nixhead
1 Replies
IBADDR(8)							OpenIB Diagnostics							 IBADDR(8)

NAME
ibaddr - query InfiniBand address(es) SYNOPSIS
ibaddr [-d(ebug)] [-D(irect)] [-G(uid)] [-l(id_show)] [-g(id_show)] [-C ca_name] [-P ca_port] [-t(imeout) timeout_ms] [-V(ersion)] [-h(elp)] [<lid | dr_path | guid>] DESCRIPTION
Display the lid (and range) as well as the GID address of the port specified (by DR path, lid, or GUID) or the local port by default. Note: this utility can be used as simple address resolver. OPTIONS
-G, --Guid show lid range and gid for GUID address -l, --lid_show show lid range only -L, --Lid_show show lid range (in decimal) only -g, --gid_show show gid address only COMMON OPTIONS
Most OpenIB diagnostics take the following common flags. The exact list of supported flags per utility can be found in the usage message and can be shown using the util_name -h syntax. # Debugging flags -d raise the IB debugging level. May be used several times (-ddd or -d -d -d). -e show send and receive errors (timeouts and others) -h show the usage message -v increase the application verbosity level. May be used several times (-vv or -v -v -v) -V show the version info. # Addressing flags -D use directed path address arguments. The path is a comma separated list of out ports. Examples: "0" # self port "0,1,2,1,4" # out via port 1, then 2, ... -G use GUID address argument. In most cases, it is the Port GUID. Example: "0x08f1040023" -s <smlid> use 'smlid' as the target lid for SM/SA queries. # Other common flags: -C <ca_name> use the specified ca_name. -P <ca_port> use the specified ca_port. -t <timeout_ms> override the default timeout for the solicited mads. Multiple CA/Multiple Port Support When no IB device or port is specified, the port to use is selected by the following criteria: 1. the first port that is ACTIVE. 2. if not found, the first port that is UP (physical link up). If a port and/or CA name is specified, the user request is attempted to be fulfilled, and will fail if it is not possible. EXAMPLES
ibaddr # local port's address ibaddr 32 # show lid range and gid of lid 32 ibaddr -G 0x8f1040023 # same but using guid address ibaddr -l 32 # show lid range only ibaddr -L 32 # show decimal lid range only ibaddr -g 32 # show gid address only SEE ALSO
ibroute(8), ibtracert(8) AUTHOR
Hal Rosenstock <halr@voltaire.com> OpenIB June 18, 2007 IBADDR(8)
All times are GMT -4. The time now is 12:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy