9 More Discussions You Might Find Interesting
1. Solaris
Hi
We took the reboot of server/global zone after that Solaris 11 share local zone not able to ping the default gateway but global zone able to ping same default gateway. I check/compare the before activity logs of global zone and local zones which looks fine to me, further IP and netmask of... (6 Replies)
Discussion started by: sb200
6 Replies
2. UNIX for Dummies Questions & Answers
whats wrong with this addition?
Whats the maximum number of digits can be handled?
pandeeswaran@ubuntu:~/Downloads$ const=201234454654768979799999
pandeeswaran@ubuntu:~/Downloads$ let new+=const
pandeeswaran@ubuntu:~/Downloads$ echo $new
-2152890657037557890
pandeeswaran@ubuntu:~/Downloads$ (4 Replies)
Discussion started by: pandeesh
4 Replies
3. Solaris
Hi forum members,
I've run into a problem that I'm hoping you can sort out.
Whenever I run an arp -a or netstat -p the command hangs. It seems that the system is trying to reverse lookup a multicast address and this is what causes the issues.
The commands are actually generated via... (2 Replies)
Discussion started by: melias
2 Replies
4. Shell Programming and Scripting
Hi,
I want to add 3 new fields in the existing file.Please find the example below.
input:
UID: ABCD
UNAME: XYZ
Desired Output
Tmiestamp: 20101208
UID: ABCD
UNAME: XYZ
DEPTNO:40
ModifyTImestamp:20101209
If you see the above i have added the 3 columns manually in the output section... (2 Replies)
Discussion started by: Nani7574
2 Replies
5. Shell Programming and Scripting
Hi all,
I am very new to shell programming and trying to learn out the basics.
I tried this:
$ echo `expr 20 + 30`
and it worked. But when i tried this,it does not work.
$ a=20
$ b=30
$ echo `expr a + b`
The error is:
expr: non-numeric argument
I cant understand why its... (3 Replies)
Discussion started by: gautamshaw
3 Replies
6. Shell Programming and Scripting
Hi all,
I am getting following output by using commands like sort, uniq and awk to the standard output.
110 d
40 a
59 c
9 b
3 e
Now at the end I would like to add all the numbers in column 1 and display the count of all numbers i.e. (110 + 40 + 59 + 9 + 3).
Also the output may... (3 Replies)
Discussion started by: tenderfoot
3 Replies
7. AIX
hi all
we upgraded hacmp(powerha) from 5.2 to 5.4 recently .
during the failover testing, we found a strange network issue. after standby node took service ip address (172.15.100.8) online at standby NIC, we were able to log in the standby node by telnet 172.15.100.8 which stays at... (1 Reply)
Discussion started by: rs6000er
1 Replies
8. Shell Programming and Scripting
i have a script called date_add.sh written in k_shell
My shell script requirement is that it accepts a date from the user in the format YYYY-MM-DD and then it shows all the 15 days later day availaible in the current year
if date accepted from user is 2008-10-13,then the o/p sholud be... (5 Replies)
Discussion started by: ali560045
5 Replies
9. Shell Programming and Scripting
Hi all,
I am new to perl.
I need help adding bunch of numbers.
I have a file look like this:
1
1
2
1
2
3
1
2
3
4
1 (2 Replies)
Discussion started by: email-lalit
2 Replies