type(1) User Commands type(1)NAME
type - write a description of command type
SYNOPSIS
type name...
DESCRIPTION
The type utility indicates how each name operand would be interpreted if used as a command. type displays information about each operand
identifying the operand as a shell built-in, function, alias, hashed command, or keyword, and where applicable, may display the operand's
path name.
There is also a shell built-in version of type that is similar to the type utility.
OPERANDS
The following operand is supported:
name A name to be interpreted.
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of type: LANG, LC_ALL, LC_CTYPE, LC_MES-
SAGES, and NLSPATH.
PATH Determine the location of name.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO typeset(1), attributes(5), environ(5), standards(5)SunOS 5.10 1 Feb 1995 type(1)
Check Out this Related Man Page
type(1) User Commands type(1)NAME
type - write a description of command type
SYNOPSIS
type name...
DESCRIPTION
The type utility indicates how each name operand would be interpreted if used as a command. type displays information about each operand
identifying the operand as a shell built-in, function, alias, hashed command, or keyword, and where applicable, may display the operand's
path name.
There is also a shell built-in version of type that is similar to the type utility.
OPERANDS
The following operand is supported:
name A name to be interpreted.
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of type: LANG, LC_ALL, LC_CTYPE, LC_MES-
SAGES, and NLSPATH.
PATH Determine the location of name.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO typeset(1), attributes(5), environ(5), standards(5)SunOS 5.10 1 Feb 1995 type(1)
im kinda new to shell scripting so i need some help
i try to run this script and get the error code
> 5 ")syntax error: operand expected (error token is "
the code for the script is
#!/bin/sh
#
# script to see if the given value is correct
#
# Define errors
ER_AF=86 # Var is... (4 Replies)
Hey all. I've been working on some fun with C and decided to write a Rock Paper Scissors game. The problem is, that when I try to compile the file, it gives "lvalue required as left operand of assignment" error. The error line is here:
for ((point1=0 && point2=0); ((point1=3) || (point2=3));... (4 Replies)
hi to all members in this forums .. Nice to meet you...
i only have a questions about command utility of "dd":
for example i will type:
pico trial
this is my file.
and save it and type chmod a+x trial
can there be a way that instead of typing:
dd if=trial of=trial.copy conv=ucase... (3 Replies)
1. After trying to compile code error is given Lvalue required as left operand of assignment.
2. Relevant commands, code, scripts, algorithms:
if , else if
3. The attempts at a solution (include all code and scripts):
/*
File: incircles.cpp
Created by: James Selhorst
... (2 Replies)
Hello,
i have an dynamical apache_cache that I need to clean all days (older tant one day) with an unix command :
find /usr/IBM/HTTPServer/apache_cache/ -name '*' -mtime +1 -print0|xargs -0 rm -r --
but it didn't work.
Could you explain me why.
So I will put below all my script :... (13 Replies)
Hi I'm new to shell programming. How do I extract the size of an operand in a simple instruction in a C program? Lets say there is an addition a+b somewhere in a C code where a and b are integers. How to extract the size of a & b in bits? Is there something called intermediate code before an... (4 Replies)