10-27-2008
Here is something which really happened (in fact it happened right now to me) and i am still trying hard not to fall down on the floor laughing hysterically:
A (Windoze) server was not reaching its DHCP server and therefore failed to get an IP address. I suggested to the Windoze admin (where do they get these people??) that the network connection might be broken, but he told me:
"I pinged localhost and the network is up and running."
bakunin
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, I am looking for a unix command which inserts double quotes around all values in a text file. For example,
Input:
1234 200 4686 3506056
9646 457 5647 5066762
5656 366 5869 5978459
Output:
"1234" "200" "4686" "3506056"
"9646" "457" "5647" "5066762"
"5656" "366" "5869"... (2 Replies)
Discussion started by: berlin_germany
2 Replies
2. Shell Programming and Scripting
I'm not very familiar with the ssh command. When I tried to set a variable and then echo its value on a remote machine via ssh, I found a problem. For example,
$ ITSME=itsme
$ ssh xxx.xxxx.xxx.xxx "ITSME=itsyou; echo $ITSME"
itsme
$ ssh xxx.xxxx.xxx.xxx 'ITSME=itsyou; echo $ITSME'
itsyou
$... (3 Replies)
Discussion started by: password636
3 Replies
3. Shell Programming and Scripting
Hi guys, I have a sed line in double quotes which works fine, but I want it to be in single quotes
here is the sed line
sed "/abc_def/s/\'.*\'/\'\${abc_def}\'/"
can some one give the equivalent to the above script in single quotes
Thanks a ton (5 Replies)
Discussion started by: sol_nov
5 Replies
4. UNIX for Dummies Questions & Answers
Hi, I am looking for a unix command which inserts double quotes around all values in a delimited file. For example,
Input File
153665031,abc,abc ,abc
131278839,def,def ,dec
179821481,efg,efg ,lmn ... (6 Replies)
Discussion started by: Bachu
6 Replies
5. What is on Your Mind?
Annoyances.org - Upgrading to Wife 1.0 (0 Replies)
Discussion started by: jgt
0 Replies
6. UNIX for Dummies Questions & Answers
Unix superusers,
I am new to unix but would like to learn more about grep. I am very familiar with regular expressions as i have used them for searching text files in windows based text editors. Since I am not very familiar with Unix, I dont understand when one should use GREP with the... (2 Replies)
Discussion started by: george_vandelet
2 Replies
7. Shell Programming and Scripting
Hello. I'm trying to write a bash script that uses GNU screen and have hit a brick wall that has cost me many hours... (I'm sure it has something to do with quoting/globbing, which is why I post it here)
I can make a script that does the following just fine:
test.sh:
#!/bin/bash
# make... (2 Replies)
Discussion started by: jondecker76
2 Replies
8. Shell Programming and Scripting
Hi,
Trying to change the prompt. I have the following code.
export PS1='
<${USER}@`hostname -s`>$ '
The hostname is not displayed
<abc@`hostname -s`>$ uname -a
AIX xyz 1 6 00F736154C00
<adcwl4h@`hostname -s`>$
If I use double quotes, then the hostname is printed properly but... (3 Replies)
Discussion started by: bobbygsk
3 Replies
9. Shell Programming and Scripting
Hi All,
I'm unable to load the data using sql loader where there are double quotes within the double quotes As these are optionally enclosed by double quotes.
Sample Data :
"221100",138.00,"D","0019/1477","44012075","49938","49938/15043000","Television - 22" Refurbished - Airwave","Supply... (6 Replies)
Discussion started by: mlavanya
6 Replies
nets(4) Kernel Interfaces Manual nets(4)
NAME
nets - JOIN DHCP server database
DESCRIPTION
The nets file is employed by joind, the JOIN DHCP server, to tell it which networks to administer and the ranges of IP addresses available
for dynamic assignment on each of those networks.
FORMAT
Blank lines and lines beginning with the number sign (#) are ignored. Entries are separated from one another by newline characters.
Entries consist of three fields: the network number (expressed as an IP address), the IP address or name of a host running joind, which
dynamically configures clients on the network, and a range of available addresses for dynamic allocation to hosts on the net. The range is
expressed as a pair of IP addresses separated with a dash (-). There must be no whitespace separating the dash from the IP addresses.
Several servers may administer a single network, and a single server may administer several networks. Each network-server pair may have
several ranges of IP addresses available for dynamic allocation. The network and server IP addresses do not have to be repeated for each
entry. A line containing a single field is assumed to be an IP range with the same server and network as the previous entry: a line of two
fields is assumed to be a server address and IP range with the same network as the preceding entry.
The ranges of addresses served by each cooperating server must be disjoint. This condition is checked by the server on startup.
RELATED INFORMATION
joind(8), join.ipaddresses(4) delim off
nets(4)