06-07-2012
I am running from oracle applications
My version is
$ cat /proc/version
Linux version 2.6.32-100.26.2.el5 (
mockbuild@ca-build10.us.oracle.com)
(gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Tue Jan 18 20:11:49 EST 2011
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file with a few thousand lines and I'd like to remove all the lines that have more than 1 asterik (the * character) in it. So if it has 2 or more in a single line, I'd like the line removed (double d command in vi) (12 Replies)
Discussion started by: guitarscn
12 Replies
2. UNIX for Advanced & Expert Users
I have a '~' delimited file of 6 - 7 million rows. Each row should contain 13 columns delimited by 12 ~'s. Where there are 13 tildes, the row needs to be removed. Each row contains alphanumeric data and occasionally a ~ ends up in a descriptive field and therefore acts as a delimiter, resulting... (7 Replies)
Discussion started by: kpd
7 Replies
3. UNIX for Dummies Questions & Answers
hiiiii
$ grep ^"#" $file
Will give the lines , which starts with # .And I wanna get the lines which are not starting with #.
How to implement that.
Thanking you
Krish:b: (10 Replies)
Discussion started by: krishnampkkm
10 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have a file that looks like this, the unity of information is composed of four lines, and these extends for millions.
My objective is to remove the highligthed "T".
How to attack this? This character is always constant in type "T" and position "1st" but the rest of the line is... (7 Replies)
Discussion started by: sargotrons
7 Replies
5. Shell Programming and Scripting
I want to remove commands having no output. In below text file.
bash-3.2$ cat abc_do_it.txt
grpg10so>show trunk group all status
grpg11so>show trunk group all status
grpg12so>show trunk group all status
GCPKNYAIGT73IMO 1440 1345 0 0 94 0 0 INSERVICE 93% 0%... (4 Replies)
Discussion started by: Raza Ali
4 Replies
6. Shell Programming and Scripting
I have requirement in my every files starting lines have # needs to be not processing or exclude the that lines.
I have written a code like below, but now working as expected getting ERROR" line 60:
1 #!/bin/sh
2 echo ======= LogManageri start ==========
3
4 #This directory is... (1 Reply)
Discussion started by: Chenchireddy
1 Replies
7. Shell Programming and Scripting
I have a file like below
#Fields section bald
1234 2345 456 222
abcs dddd dddd ssss
mmmm mmm mmm
i need do not process a files stating with #
I was written code below
while read -r line
do
if
then
echo ${line} >>
elif
then
... (3 Replies)
Discussion started by: Chenchireddy
3 Replies
8. UNIX for Beginners Questions & Answers
How can I refer to a file named esc[G ? I need to delete it or move it.
TIA (5 Replies)
Discussion started by: wbport
5 Replies
9. UNIX for Beginners Questions & Answers
I have a file of a content like this:
abc_bla -def 800
abc_bla -def 802
abc_bla -def 804
abc_bla -def 806
abc_bla -def 808
abc_bla -def 810
abc_bla -def 812
abc_bla -def 814
...
abc_bla -def 898
abc_bla -def 900
abc_bla -def 902
abc_bla -def 904
...
abc_bla -def 990
abc_bla -def... (7 Replies)
Discussion started by: maya3
7 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I came across one issue recently where output from one of the columns of the table from where i am creating input file has newline characters hence, record in the file is spread over multiple lines. Fields in the file are separated by pipe (|) delimiter. As header will never have newline... (4 Replies)
Discussion started by: Prathmesh
4 Replies
LEARN ABOUT OSF1
namepool
namepool(4) Kernel Interfaces Manual namepool(4)
NAME
namepool - DHCP server database
DESCRIPTION
The namepool database provides joind with names that are available for dynamic assignment to clients of the DHCP protocol. For each DHCP
server and domain name (NIS or DNS), the database contains a collection of names available for allocation to DHCP clients within those
domains. One name plays a distinguished role - it is used as a prefix when the pool has been exhausted. Names are generated from the pre-
fix by appending a number, 1,2.., and a trailing 'd'. The namepool file is read whenever joind starts. Names within the database must not
be allocated to hosts which are not DHCP clients, and if the administration of a domain is shared between several DHCP servers, the name-
pools that each has must be disjoint. Names may be added and removed from the namepool file. If a name is removed from the file it remains
bound to the client to which it was allocated; if no such binding is in effect the name is excised from the server's pool the next time the
server starts. Once a name is dynamically bound to a host it will never be reused even if that host subsequently acquires a new name, but
there is no need to remove it from namepool.
FORMAT
Blank lines and lines beginning with a number sign (#) are ignored. A new entry must begin in column one and has one of the following for-
mats:
domain server
domain server name_prefix
The domain variable is the domain in which the names which follow are assigned.
The server variable is the name or IP address of the server in charge of allocating these names to clients.
The prefix variable is the prefix that will be used when the pool is exhausted.
Succeeding lines contain one or more names for domains that are to be allocated by the server. Each of these succeeding lines must begin
with at least one white space character.
FILES
/etc/join/namepool
RELATED INFORMATION
joind(8), join.ipaddresses(4) delim off
namepool(4)