06-12-2006
# have a look at
set -A testarray
#
testarray[1]="one"
testarray[2]="two"
testarray[3]="three"
three=3
#
print ${testarray[1]}
print ${testarray[2]}
print ${testarray[3]}
print ${testarray[three]}
gP
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi all. I just only wanna show all files from a whole 'root-table'....to understand:
"ls *.exe" ...for instance in the directory it only shows the files from the folder, but not form the subfolders !? how to solve this problem ? if you are on your home /root/users/.... I want to see all files... (10 Replies)
Discussion started by: svennie
10 Replies
2. UNIX for Dummies Questions & Answers
Hii everybody here
first of all i'm soo soo happy to join Unix people ...
I was using computer from age 7 till now i'm 20 :D
but in the past 2 years i used linux ( Ubuntu )
and i have a small Q !
while the linux is open source so how could I make changes to the application ! ... (4 Replies)
Discussion started by: Ali87
4 Replies
3. UNIX for Advanced & Expert Users
Dear All
I have an important request:
I have a pattern which look like this:
2 20080219_21:43:22.194 ISC-Libya Belgium1 24 IAM 20115139248 218913265641 b 11672 ACM b 20614 CPG b 20619 CPG b 20626 CPG f 33925 REL b 34215 RLC :COMMA: NCI=00,FCI=6001,CPC=0A,TMR=00,USI: :COMMB: BCI=0201:... (15 Replies)
Discussion started by: zanetti321
15 Replies
4. AIX
Hi ,
I Want to apply AIX lint to my source code which all are *.cpp/*.h
>lint test.cpp
lint: 1286-332 File test.cpp must have a .c, .C or .ln extension. It is ignored.
lint: 1286-334 There are no files to process.
I am getting above error.
-Ashok (3 Replies)
Discussion started by: ashokd001
3 Replies
5. What is on Your Mind?
I'm currently designing a degree plan that I hope will involved something with IT. I already have an two year degree that covers the basics of networking but I think that it would help to know some type of programming. I'm thinking of learning database programming but I'm not sure that's a... (6 Replies)
Discussion started by: Anna Hussie
6 Replies
6. Solaris
I have the processes (100+) by the oracle id and I'd to get the summarized view of the oracle processes' usage of the memory and the cpu.
top would give me some, but not all.
Thanks (3 Replies)
Discussion started by: iwmi
3 Replies
7. Red Hat
Is there any kernel tune parameters available to limit RAM usages at certain level .
EG .
RAM: 4 GB
Swap: 2 GB
I Need if my RAM usages reached 3 GB Kernel will start swaping new pages . ..
--Shirish Shukla (8 Replies)
Discussion started by: Shirishlnx
8 Replies
8. Shell Programming and Scripting
Hi,
How to do Perl script for floating license usages metric. Anyone help me out this issue?
Regards,
Ram. (0 Replies)
Discussion started by: ramanthan
0 Replies
UNAME(1) BSD General Commands Manual UNAME(1)
NAME
uname -- Print operating system name
SYNOPSIS
uname [-amnprsv]
DESCRIPTION
The uname utility writes symbols representing one or more system characteristics to the standard output.
The following options are available:
-a Behave as though all of the options -mnrsv were specified.
-m print the machine hardware name.
-n print the nodename (the nodename may be a name that the system is known by to a communications network).
-p print the machine processor architecture name.
-r print the operating system release.
-s print the operating system name.
-v print the operating system version.
If no options are specified, uname prints the operating system name as if the -s option had been specified.
SEE ALSO
hostname(1), machine(1), sw_vers(1), uname(3)
STANDARDS
The uname utility conforms to IEEE Std 1003.2-1992 (``POSIX.2''). The -p option is an extension to the standard.
BSD
November 9, 1998 BSD