@# 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



Comments:

<ahgu> How do I get the IP address from "lease 1.1.1.1 {"
<Idle`> | awk '{ print $2 }'
<ahgu> sed?
<Idle`> why?
<ahgu> can you use sed?
<Idle`> sure
<Idle`> its harder tho
<ahgu> OK, then, awk it is
<Idle`> -e 's/[^ ]* \([^ ]*\).*/\1/'
<ahgu> hmm
<ahgu> that is confusing, awk is better
<Idle`> yea
<ahgu> I really hate the if in bash: what is wrong with if [ $lease -g 0 ]; then
<ahgu> -gt
<hrtgrm> My kernel won't boot and I have thin hair in the front... would a shaved head make it worse or better? (i mean look wise, not medically)
<Idle`> :D
<Idle`> its not if
<Idle`> if just checks the return code of an app
<ahgu> well, the comparison
<ahgu> what is the error in if [ "$i" -gt 0 ]; then
<Idle`> is $lease emtpy?
<ahgu> $i=1
<Idle`> theres not
<Idle`> works here
<Idle`> remember, $i=1 is wrong, i=1 is right
<slak> damn homies i got an interview
<slak> monday
<hrtgrm> for?
<slak> network administrator
<slak> what do i need to review
<slak> heh
<slak> tcp/ip 101
<ahgu> how do I use sed to check if a line starts with lease?
<Idle`> shouldn't need to review anything
<ahgu> or any other tool.
<Idle`> grep '^lease'
<DrMitch> slak, umm...subnetting?
<ahgu> hehe, idle: you can just do this job for me. hehe
<Idle`> ahgu: probably could... :P
<Idle`> bit busy right now toh
<DrMitch> lol
<slak> DrMitch: yea i need to review all that man
<Idle`> how much does a case of bottled beer cost?
<DrMitch> like 10 bucks
<GiftdKook> depends on what kind
<GiftdKook> I can get one for $40
<Idle`> MGD
<DrMitch> it's all **** anyways, so might as well buy the crap kind
<GiftdKook> or i can get one for $15
<Idle`> well, I dont drink. at all
<GiftdKook> I get the $40 one. It lasts forever. :)
<DrMitch> wine is WAAAY better
<Idle`> I'm exchanging beer for computer parts :D
<GiftdKook> each time I pick up a bottle, I'm like, damn! that's an expensive beer.
<gator_> How do I browse the web from outside xwindows?
<Idle`> gator_: links or lynx
<DrMitch> links
<DrMitch> or w3b
<ahgu> how do I grep string preceded with any number "space or tabs"
<DrMitch> ^\s
<Idle`> ahgu: we're not gonna do your homework for you
<DrMitch> ^\s*
<DrMitch> sorry
<DrMitch> we're not...i am
<gator_> Idle`: ftp.lynx.org?
<DrMitch> cause i'm bored and UPS won't hurry the hell up and deliver my video card
<ahgu> I just cannot remember all those, I know there is a way
<Idle`> gator_: no idea
<DrMitch> gator_, http://www.google.com/search?q=lynx
<Idle`> DrMitch: USPS should be getting my phone today or tomorrow for me
<DrMitch> your phone?
<DrMitch> i don't get what you mean
<Idle`> yea, Linksys
<Idle`> Wireless IP phone :D
<DrMitch> oooh, i getcha
<DrMitch> snazzy
<DrMitch> if i had a phone, i'd go with that
<Idle`> ;)
<DrMitch> but my dad pays for a really old plan and he has extra minutes the way it is, so he just gives the minutes to me
<Idle`> and, I got a box OTW to do asterisk
<DrMitch> eheh
<Idle`> well, this is VoIP, not cell phone
<DrMitch> yea i know
<DrMitch> speaking of links/lynx, which one you like better?
<Idle`> neither
<gator_> thanks y'all
<gator_> exit
<DrMitch> hehe
<DrMitch> what a dolt
<DrMitch> me forgot to type a /
<DrMitch> i mean
<Idle`> :S
<DrMitch> so in fluxbox, pasting only works when the original window is still open (if i wanna copy text from firefox into a text file, i have to LEAVE firefox open until after the text is pasted.) Is this normal?
<Idle`> yes
<DrMitch> okay, is there a program you've found to fix this? like KDE's Klipper or somethign
<Idle`> not myself, no
<ahgu> how do I do: i=1;i="$1"+1 ?? I cannot get 2
<DrMitch> i think it's like ($i + 1)
<DrMitch> or something like that
<ahgu> no
<DrMitch> http://www.google.com/search?q=bash%20arithmetic
<cheez> expr.
<kerouacem> I just stalled ubuntu and am having difficulty telnetting in. Is there something I ahve to do to enable this feature?
<cheez> i=1; while [ $i != 100 ]; do i=`expr $i +1`; echo $i; done
<Idle`> (( )) ?
<DrMitch> FINALLY, it's here
<Idle`> I hate expr, its ****ed
<DrMitch> me gotta install this graphics card
<DrMitch> brb
<ahgu> ah, I have to expr,
<ahgu> (( does not work
<cheez> or bc
<cheez> i=1; while [ $i != 100 ]; do i=`echo $i + 1|bc`; echo $i; done
<ahgu> bash script is really sick, man
<cheez> it's for hacks.
<cheez> If you're writing real code in it, you're a sap ;-)
<ian_> kerouacem: telnet port being blocked, like a sane os? :)
<ahgu> what should I use? perl?
<Idle`> ruby, perl, c, hell even php
<kerouacem> ian_: oh, so how do I enable access to it via telnet or ssh?
<Idle`> kerouacem: itll most likely have ssh either installed, or running
<cheez> ruby and perl for real coding, expect for telnet manipulation (unless you like perl's mod_telnet, which I don't)
<kerouacem> Idle: oh, in the event that It is installed, how do I run it? Also, could it be that my router is simply blocking attempts to access it?
<Idle`> yes
<Idle`> port 22 is for ssh
<Swaies> I am a root in my system and I do telnet to my system... The IP address that I do telnet to.. where can I find the file that has that IP ?
<Idle`> you CANNOT telnet
<Swaies> why
<Idle`> because
<Swaies> DUH
<Idle`> telnet is insecure, and VERY depreciated
<kerouacem> Idle: I can't seem to open it up.. do I do portrange forwarding?
<gator_> How do I determine whether my computer is listening for incoming SSH connections?
<xtor> telnet to port 22
<xtor> or better yet ssh to the IP of your computer, or to localhost if you are on your console
<gator_> I tried that, and it did not work.
<xtor> do an nmap on localhost and on eth0's IP address see if 22 is even open
<gator_> But I still do not know whether a) My router is blocking access or b) my machine simply isn't listening for incoming SSH connections.
<xtor> yeah so then run an nmap or nc or telnet on port 22 of your local machine from the console and also run it on the external IP of your router
<gator_> xtor: ok, so I need to download nmap? I don't know what nc is.
<xtor> jsut telnet to port 22 you don't need nmap or nc
<gator_> xtor: ok, how do I determine what the IP address of localhost is?
<xtor> ifconfig -a
<xtor> telnet to eth0's IP address as well as to 127.0.0.1
<DrMitch> oh nvidia how i love you so
<gator_> xtor: ok, I tried to telnet and ssh in to 192.168.1.100 and 127.0.0.1 and it did not work
<gator_> do I now have confirmation that my local machine is not listening for incoming ssh/telnet connections?
<gator_> and if so, I how do I make it listen for ssh connections?
<gator_> yooho?
<gator_> o


Name:

Comments:

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






Return to #linuxhelp
or
Go to some related logs:

#computers
#politics
Delphi PChar E2089
#gamedev
#worldcup
assrock drivers
#gamedev
#computers
#netbsd



Home  |  disclaimer  |  contact  |  submit quotes