PROXY  WHOIS  RQUOTE  TEXTS  SOFT  FOREX  BBOARD
 Music  Philosophy  Code  Literature  Russian

= ROOT|Technical|LinuxGazette|issue109.txt =

page 8 of 112



   On a certain other Linux site, I saw an unanswered question about getting
   the time format of ls -l to have a leading zero on single digit dates, like
   AIX does, instead of padding with a space as GNU ls does.

   I was not aware of this (before I went to the man page), but GNU ls will
   format the date any way you like, if you use the --time-style switch. To use
   'date' style formatting, you prefix it with a '+'.

   So, AIX-style ls -l is:

ls -l --time-style=+"%b %d %H:%M"

     [Brad] Does ls support any environment variables to do this? Something
     like

export TIME="%b %d %H:%M"
ls -l

     or do you have to use an alias in your ~/.*rc files?

     [Kapil] According to "info ls":

     You can specify the default value of the `--time-style' option with the
     environment variable `TIME_STYLE'...

     So the correct environment variable is TIME_STYLE not TIME.

     Kapil.

   You still need to have the '+', so it's 
export TIME_STYLE=+"%b %d %H:%M"
ls -l
            ____________________________________________________

POP3 for Yahoo Mail

   Breman ([85]012832161 from mobitel.com.kh)
   Question by Breman (012832161 from mobitel.com.kh)
   Answered By Thomas Adam, Kapil Hari Paranjape

   - What is pop3/smtp of yahoo mail? 

     [Thomas] There isn't any freely available as yahoo removed that service.
     That  said, you can "emulate" it using a program called 'yahoopops'
     available here:

     [86]http://yahoopops.sourceforge.net

     [Kapil] There is also fetchyahoo at [87]http://fetchyahoo.twizzler.org

     Also available as a [88]Debian package under "testing".
            ____________________________________________________

DHCP Relay

   Bill P ([89]#hants IRC Channel)
   17:09 < billp> /usr/local/sbin/dhcrelay -i xl0 -i xl2 -i ed2 dhcpserver
   17:09 < billp> I knew it was something simple
   17:11 <@Dee> what is it then? :)
   17:11 < billp> How you forward dhcp serive across differenent interfaces on
   ones firewall
   17:11 < billp> dhcp services*
   17:11 * Wicket sniffs billp
   17:13 < billp> So I have a dhcp server running on a hostname "dhcpserver",
   and it sends lease offers to networks it is not actully connected to, via
   connected interfaces on the firewall
   17:14 < billp> So, a Linux firewall connecting a subnet with a dhcp server
   to two subnets without dhcp servers, would go something like:
   17:14 < billp> /usr/sbin/dhcrelay -i eth0 -i eth1 -i eth2 dhcpserver
   17:16 < billp> where dhcpserver is the hostname of your dhcp server. Dead
   useful,  especially  for  having  untrusted  network segments, like an
   open-access wireless one
   17:16 <@Dee> i see
     _________________________________________________________________

      This page edited and maintained by the Editors of Linux Gazette
HTML script maintained by [90]Heather Stern of Starshine Technical Services,
                       [91]http://www.starshine.org/ 
     _________________________________________________________________

   Published in Issue 109 of Linux Gazette, December 2004

The Answer Gang

   [92]LINUX GAZETTE 
   ...making Linux just a little more fun!

                          (?) The Answer Gang (!)
By Jim Dennis, Karl-Heinz Herrmann, Breen, Chris, and... ([93]meet the Gang)
                ... the Editors of Linux Gazette... and [94]You! 

    We have guidelines for [95]asking and [96]answering questions. Linux
                          questions only, please.
  We make no guarantees about answers, but you can be anonymous on request.
 See also: The Answer Gang's [97]Knowledge Base and the LG [98]Search Engine
     _________________________________________________________________

  Contents:

   [99]ΒΆ: Greetings From Heather Stern
=8=

1|2|3|4|5|6|7| < PREV = PAGE 8 = NEXT > |9|10|11|12|13|14|15|16|17.112

UP TO ROOT | UP TO DIR | TO FIRST PAGE

Google
 


E-mail Facebook Google Digg del.icio.us BlinkList Fark Furl Ma.gnolia Netscape NewsVine Reddit Slashdot Spurl StumbleUpon Technorati YahooMyWeb LiveJournal Blogmarks TwitThis Live News2.ru BobrDobr.ru Memori.ru MoeMesto.ru

0.0151069 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU)