06-03-2008
Ascending & Descending order numbers
Dear All,
I have below attached file in which i have many nos, i want the last ascending order nos. The brief description is given below.
File
315
381
432
315
381
432
315
381
432
315
381
432
315
381
432
315
381
432
433
315
381
432
315
381
432
315
381
432
315
381
432
315
381
382
432
315
381
432
315
381
432
315
381
432
315
381
432
315
381
432
315
381
432
315
381
432
315
381
432
315
381
432
315
381
432
315
381
432
315
381
432
The required out put must be as given below. (Only last ascending nos)
315
381
432
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have an ftp user, which has been setup to run ftp jobs to a specific machine (different jobs). for the first job i created .netrc in the ftp users home directory and added the appropriate commands
machine FTPBOX01 login user1 password xxx
macdef init
etc
etc
get file
bye
I use the... (3 Replies)
Discussion started by: hcclnoodles
3 Replies
2. Solaris
Hello,
Iam having problems getting more then one ip to work here is my setup!
Hostname: nexus
NIC: e000g1
(example ips)
My ips 80.80.80.15 to 80.80.80.20
Defaultrouter 80.80.80.1
nameservers 80.80.80.100 and 80.80.80.200
How would i do this? Any help would be mutch appriciated!... (7 Replies)
Discussion started by: empty
7 Replies
3. UNIX for Dummies Questions & Answers
Hi.
I'm trying to copy multiple folders from the remote machine to the local machine. I wrote a batch file to run an ftp window.
The problem I am having is that the only command to copy files is mget *, and this copies only files, not folders.
For example, ftp ts555
cd ts555/test
' test... (5 Replies)
Discussion started by: leenyburger
5 Replies
4. AIX
hi,
i am new to AIX and to this forum as well. Can you please help me out with following issue/requirement
1) I have one physical volume (pv1) (a scsi disk). (pv1) on 1st AIX machine. I have a single volume group on it(vg1).
2)I removed it from the 1st AIX machine and exported to the 2nd... (1 Reply)
Discussion started by: navadeep
1 Replies
5. Shell Programming and Scripting
Alo
I have a file with a lot of addresses where I want to list unique addresses and the number of theirs occurrence.
I have this input file:
0011bd09 ea 01 0b 04 ea 01 0b 38-bd 11 00 98 15 cb 01 00 .......8........
0011bd09 ea 11 00 98 15 cb 01 00-00 00 00 d8 3d 8d 01 94 ... (5 Replies)
Discussion started by: chitech
5 Replies
6. Shell Programming and Scripting
Hi,
I work on a jumpserver and I wrote a script to transfer a file from source server to destination server.
#!/bin/ksh
echo "\nEnter the file name:\n"
read name
echo "\nSelect the Source server\n"
echo "1. ODS PROD "
echo "2. ODS DROPBOX"
echo "3. ODS STE"
echo "4. ODS STE DROPBOX"... (6 Replies)
Discussion started by: ajayakunuri
6 Replies
7. Shell Programming and Scripting
Requirement
Several files in remote machines ought to be deleted via sh. Name of the files to be deleted are know
Approach
1) script was written with ftp (requires credential) and delete command. File names were passed as array(iterated via for loop-with ftp+delete commands enclosed within... (1 Reply)
Discussion started by: vkalya
1 Replies
8. Solaris
hi guys
How to know ILOM and ALOM ip address.
how to find the ilom alerts and alom alerts can one help out pls
thanks,
deepu.
---------- Post updated at 04:39 AM ---------- Previous update was at 04:38 AM ---------- (2 Replies)
Discussion started by: pradeepaasuri
2 Replies
9. Shell Programming and Scripting
Hi all,
I have a list of IP addresses in a column in a text file name ipaddress.txt
192.168.0.1
192.168.0.2
192.168.0.5
192.168.0.4
192.168.0.5
I would like to convert ipaddress.txt to have the following thing :
192.168.0.1, 192.168.0.2, 192.168.0.3,192.168.0.4,192.168.0.5
I know... (4 Replies)
Discussion started by: oliv66
4 Replies
10. Solaris
I have a server with 6 Ethernet ports. 4 are the the motherboard based 1 GBE ports and 2 are 10 GBE ports on NICs.
I have set these all up with static IP addresses and use the standard /etc/nsswitch.files. My IP addresses are
net0 192.168.1.82
net1 192.168.2.82
and so on till
net5... (4 Replies)
Discussion started by: ashlaw
4 Replies
LEARN ABOUT OPENDARWIN
sysid
SYSID(5) AFS File Reference SYSID(5)
NAME
sysid - Lists file server machine interface addresses registered in VLDB
DESCRIPTION
The sysid file records the network interface addresses that the File Server (fileserver process) registers in the Volume Location Database
(VLDB) for the local file server machine.
Each time the File Server restarts, it builds a list of interfaces on the local machine by reading the /var/lib/openafs/local/NetInfo file,
if it exists. If the file does not exist, the File Server uses the list of network interfaces configured with the operating system. It then
removes from the list any addresses that appear in the /var/lib/openafs/local/NetRestrict file, if it exists. The File Server records the
resulting list in the binary-format sysid file and registers the interfaces in the VLDB.
When the Cache Manager requests volume location information, the Volume Location (VL) Server provides all of the interfaces registered for
each server machine that houses the volume. This enables the Cache Manager to make use of multiple addresses when accessing AFS data stored
on a multihomed file server machine.
CAUTIONS
The sysid file is unique to each file server machine, and must not be copied from one machine to another. If it is a common practice in the
cell to copy the contents of the /var/lib/openafs/local directory from an existing file server machine to a newly installed one, be sure to
remove the sysid file from the new machine before starting the "fs" trio of processes, which includes the fileserver process.
A maximum of 15 file server interface addresses can be registered in the VLDB.
SEE ALSO
NetInfo(5), NetRestrict(5), vldb.DB0(5), fileserver(8)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 SYSID(5)