@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11



Comments:

<0> I have a question
<0> a simple one
<1> And?
<0> I have to setup few config file, but in this config file in need to place ip to 10 different place
<0> so I want to no how to setup a variable and call this variable?
<1> $IP=
<0> and to call it?
<0> I just write ip?
<1> Or rather IP=blah and then call it with $IP
<2> IP=blah
<2> yeah.
<0> $ip=xx.xxx.xxx.xx and I write ip at the place of ip in conf
<0> and it doesn't work
<3> nite nite all
<1> No
<2> bash is dumb.



<3> thanks again for your help :)
<1> IP=xxx.xxx.xxx.xxx and then call it with $IP
<1> And don't forget to include #!/bin/bash at the top
<0> do i miss some character..
<0> it doesn't work..
<1> If you're not paying attention, then you probably did
<0> #!/bin/bash
<0> ip=
<0> $ip
<2> ok. IP=127.0.0.1
<2> echo $IP
<1> Put it in caps
<2> I think it's OK for it not to be.
<2> but that's the de facto standard, so...
<1> bronaugh: Not if "ip" is actually a program
<2> yeah, but if you're ***igning to it, I think the parser can figure out that it's not.
<2> FOOBARBAZ could be a program too.
<2> no reason why not.
<0> #!/bin/bash
<0> IP=127.0.0.1
<0> echo $IP
<0> this work
<2> yup.
<0> but in a config file I don't put echo
<0> and program fail to start
<0> check your conf
<2> check your brain.
<2> it's possible a zombie ate it.
<0> maybe
<0> #!/bin/bash
<0> IP=127.0.0.1
<0> define host{
<0> use generic-host ; Name of host template to use
<0> host_name $IP
<0> it doesn't work..
<2> Redhat7: paste.getlinuxhelp.org
<2> but I suspect you just don't understand bash.
<0> anyway, I will add my ip at 10 places
<0> it will be easier
<2> if you think so.
<0> I have try many thing, and nothing work
<0> Running configuration check... FAILED! Reload aborted.
<2> what's that define host crap about?
<0> always get this
<2> that doesn't look like bash to me.
<0> for linux too ;)
<2> for the crack you smoke
<4> night all
<5> is there a perl module that allows you to list all the installed perl modules??
<5> or something like that
<6> http://webnet77.com/scripts/list-modules/
<7> is there a app that will tell me whats using up my bandwidth right now? need it for console
<2> iptraf
<2> youcan drill down using that and maybe netstat -tlan
<7> ok :)
<7> basically just wana see if some one is attacking the server or what because the traffic lights are going balistic
<8> someone want to help out with a simple C problem I've got?
<9> he who does not ask cannot recieve
<8> lol. I did ask.
<8> ah well. It's compiling apout (a pdp11 emulator).
<8> I have a "extern int default_aout_type;" in an include file, and routines inside a c file that use default_aout_type. When trying to link, I get:



<8> magic.o(.text+0x42): In function `special_magic': undefined reference to `default_aout_type'
<8> the variable "default_aout_type" isn't actually SET in this file, but in main.c instead...
<9> way over my head :p
<9> sorry
<8> lol. So basic C is way over your head?
<8> ah well.
<9> anything involving linker errors is over my head... C syntax is pretty easy to a certain point...
<10> fiona and faura
<11> http://www.newegg.com/Product/Product.asp?Item=22-148-031
<11> they had these for $30 the other day.
<2> danq: yeah, at that price they're a rip.
<12> hey danq
<11> how goes it
<2> mmm
<2> I feel ... wiped out.
<2> I'm not sure it's because I'm in a down cycle of manic depression or because I pushed hard physically for 3 days in a row and then everything's been quiet.
<10> bronaugh: never been into that..
<2> into what?
<2> I also didn't kickstart my day with my usual 10km ride... 2 days running.
<2> waited an extra 3 hours or something.
<2> never good.
<10> bronaugh: depression
<10> so how was it?
<2> meh, ok in the end.
<2> sometimes I think it's simpler things like electrolytes being off, sleeping funny, etc.
<10> k
<10> seems ppl in here are in bed
<2> heh
<2> the Americans are not around, and the Europeans aren't here yet.
<2> in general.. :P
<10> yah...
<10> im an asian... so im here
<10> :=)
<2> hehe
<13> hmm arent there any europeans here? :P
<2> awesome ;P
<10> Reaff: seems so
<13> norwegian here :)
<2> ahhh
<2> up early eh.
<2> or late.
<13> so atleast 1 is here
<13> yeah.. up early.. couldn sleep..
<13> 06:30:01
<10> its 30 mins past the hour of 12 noon down here... whats your clock?
<13> 06.32 in the morning
<14> tanghalian
<13> uhh?
<10> Ortigas: tanghali na pre
<14> its done already here... 2 hrs ago :)
<10> Reaff: its goes by saying, "its lunch time, bro!"
<13> ahh
<10> Ortigas: too early.
<13> 5 hours so then i can do lunch
<14> nope
<14> 1435 here already
<10> Reaff: hows norway? your country is known for good quality sea ships... are they into linux too?
<10> Ortigas: 1435? where are you?
<13> well not so much.. but there are a few ofcourse.. but they use it for servers.. not desktop
<14> at the pacific region :)
<13> yeah also known for crappy all the winter snow :P
<13> Ohh i want my mac up running with gui debian :(
<2> what aboutit?
<10> Ortigas: saipan?
<13> black screen when i install x
<13> xfree86 did i try..
<10> Reaff: thought, linux do the ship's auto pilot.
<13> hetchx no idea.. not into ships
<14> yes
<15> anyone know much about single pci devices showing up multiple times in lscpi output?
<15> and/or being detected as two different device types?
<1> sinthetek: not a problem
<15> reality: what isn't a problem?
<15> reality: i am asking because i'm wondering if such things can sometimes be problematic or indicative of other problem(s)


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #linuxhelp
or
Go to some related logs:

realpain @ undernet
#windows
13WWZ
#linux
TMP21.tmp
chopying
best linux bittorrent client
mansuck
insert twice php mysql
hklm\system\controlset001\services\



Home  |  disclaimer  |  contact  |  submit quotes