Berkeley CSUA MOTD:Entry 31599
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/04/03 [General] UID:1000 Activity:popular
4/3     

1994/5/15-17 [Academia/Berkeley/CSUA, Computer/SW/Unix, Recreation/Media] UID:31599 Activity:insanely high
5/12    The Unofficial CSUA End-of-Semester Adam Glass Memorial Beer Bash
        & Final Episode of Startrek Party is scheduled to take place on
        May 23, 7:00 PM, in the 'old' CSUA office.
            \_ That's 343 Evans, right?
        \_ Party on, dudes!

BBBBBEEEEEEEEYYYYYOOOOOOTTTTCCCCCCCHHHHHHHHHHHHHHHH!!!!!!111!!
2025/04/03 [General] UID:1000 Activity:popular
4/3     

You may also be interested in these entries...
2013/10/24-2014/2/5 [Computer/SW/Apps, Academia/Berkeley/CSUA] UID:54741 Activity:nil
10/4    Where is the CSUA IRC channel?
        \_ on freenode, it is rad, you should join us -ausman
	...
2013/10/24-2014/2/5 [Academia/Berkeley/CSUA/Motd, Computer/SW] UID:54746 Activity:nil
9/26    I remember there was web version of the motd with search function
        (originally due to kchang ?).  The last time I used it it was hosted
        on the csua website but I can't remember its url (onset of dementia?)
        now. Can somebody plz post it, tnx.
        \_ http://csua.com
           \_ for some reason I couldn't log in since Sept and the archiver
	...
2012/4/27-6/4 [Computer/SW/Languages/Misc, Computer/SW/Unix] UID:54372 Activity:nil
4/27    I wrote a little shell script to collect iostat data:
        #!/bin/bash
        DATE=`date +%m%d`
        DATADIR=/var/tmp/user
        OUTPUTFILE=$DATADIR/$DATE.out
        while true
	...
2009/12/9-2010/1/13 [Computer/SW/Unix] UID:53586 Activity:nil
12/8    Is there a bash equivalent to tcsh's history-search-backward ?
        \_ There's something similar called... history-search-backward. It
           is a bit more limited, in that it only searches for strings and
           not glob patterns. You may find reverse-i-search to be useful also.
	...
2009/10/27-11/3 [Computer/SW/Unix] UID:53475 Activity:nil
10/27   http://www.maxgames.com/play/flash-mind-reader.html
        how does this work?
        \_ sh -c 'for ((i=0;i<10;i++)); do for ((j=0;j<10;j++)); do echo "$i$j-(\
$i+$j)" | bc; done ; done' | uniq
        \_ bash -c 'for ((i=0;i<10;i++)); do for ((j=0;j<10;j++)); do echo "$i$j\
-($i+$j)" | bc; done ; done' | uniq
	...
2009/8/18-9/1 [Computer/SW/Unix] UID:53284 Activity:nil
8/18    Is it possible to truncate your path name in your prompt in tcsh?
        Tsch veterans REPRESENT!  I know this is how to do it in bash:
        # truncate path: returns $1 truncated to $2 chars, prefixed with ...
        truncate_path () {
                if [ -z "$1" -o -z "$2" ]
                then
	...
2009/8/19-9/1 [Computer/SW/Unix] UID:53285 Activity:nil
8/18    Hi again, new freebsd guy here again, in bash I was able to go
        LD_LIBRARY_PATH=/opt/foo/lib ./runmyapp
        I managed to do this in tcsh by using setenv in a shell script
        that setenv's the lib path and then executes $1, just wondering
        if there was a way to do it in 1 line from the cmd line as in bash?
        Thanks, btw %2c or %3c worked.  Freebsd, tcsh and vi forever!
	...
2009/1/5-8 [Computer/SW/Unix] UID:52313 Activity:kinda low
1/3     no hurry but do you know of:
        $ chsh
        Password:
        Enter the new value, or press return for the default
         Login Shell [/usr/local/bin/bash]: /bin/zsh
        failed: Insufficient access
	...
2008/11/24-28 [Computer/SW/Unix] UID:52090 Activity:nil
11/23   How do you find the max # of forkable threads in a unix
        environment? Is it system or user based?
        \_ getrlimit, or ulimit -a (in bash)
	...
2008/8/18-21 [Computer/SW/Unix] UID:50894 Activity:kinda low
8/18    How long has the command "seq" been around? I just saw it in
        one of my coworkers shell scripts and wish I had known about it
        years ago...
        \_ what does it do?  - bash fan #1
           \_ It prints out a sequence of numbers from FIRST to LAST in
              a specified increment.
	...
2008/7/14-16 [Computer/SW/Languages/Perl, Computer/SW/Unix] UID:50557 Activity:moderate
7/14    Shell Programming question: I want to call a script with 1 arg
        and have it figure out whether $1 is a MAC address or an IP address
        and then do call the appropriate function.  What is the best way
        to do this, given that sh/bash/ksh do not have something like
        the =~ in perl.  Check for exit status of grep, or is there a
        a better way?  For the moment, let's just say the two tests are:
	...
2012/8/12-10/17 [Recreation/Media] UID:54456 Activity:nil
8/12    Bored, watching TV, and came across this synopsis nugget
        for a Three's Company episode:
        "[Janet's boss] Tina blackmails Jack into being at her
         beck and call; otherwise she'll fire Janet."
        The 70s were a weird time.
         \_ there is a _Friends_ episode that could be described zactly the same
	...
2009/1/28-2/1 [Recreation/Dating, Politics/Domestic/Election] UID:52480 Activity:nil
1/28    the baby borg episode of star trek:voyager is so sad!
        \_ Jeri Ryan's firm rear end gave us Obama.  God bless her.
           \_ What about the front?
           \_ How was this supposed to have come about?
           \_ I thought I rehashed this for the motd.  Jeri Ryan used to be
              married to an Illinois senator.  They had a messy divorce.
	...
2008/12/15-29 [Recreation/Computer/Games, Computer/HW/Laptop] UID:52248 Activity:nil
12/15   Anyone have opinions on media streamers that connect to your tv and
        let you play all those bittorrented movies?  I'm getting sick of
        my xbox refusing to play every other video.
        \_ My current solution is an old pc with a cheap video card, using
           Synergy on my laptop.  This plus every episode of MST3K has provided
           much entertainment.
	...