Berkeley CSUA MOTD:Entry 18219
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/07/09 [General] UID:1000 Activity:popular
7/9     

2000/5/9-10 [Computer/SW/Languages/Web, Computer/SW/Unix] UID:18219 Activity:nil
5/8     Is there a Visual Basic equivalent to the UNIX system() function?
        \_ ShellExecute or CreateProcess - chiapet
        \_ Shell (command, windowmode)
          \_ Thanks.  Shell seems decent.  Is there any way for Shell
             to return the output to VB?
             \_ Redirect the output to a file and then have VB code read the
                file?  -- yuen
                \_ Yeah, I thought of that, but I was hoping there was
                   a cleaner way.
                   \_ Under windows???  pshaw!
                   \_ There isn't.  If you want you can use that Win32 function
                      that generates a unique filename.
ERROR, url_link recursive (eces.Colorado.EDU/secure/mindterm2) 2025/07/09 [General] UID:1000 Activity:popular
7/9     

You may also be interested in these entries...
2005/1/16-17 [Computer/SW/Languages/Perl, Computer/SW/Languages/Web] UID:35734 Activity:high
1/15    What's the easiest/best thing to use to quickly create small GUI
        tools/apps for Windows? (cross-platform ok too) Like the equivalent
        of a perl script with a Windows GUI. Only for myself right now but
        I need to decide what to invest my time learning. So it might as well
        be cross platform if there's no big downside. I have hardly any
        experience with GUIs. Thanks.
	...
2004/3/24 [Computer/SW/Languages/Web] UID:12831 Activity:nil
3/24    I'm being asked convert a simple ASP script from IIS to Apache.
        The script is written in VB and all it does is echo back the cookies and
        query string params of the HTTP request, along with a hardcoded body.
        What's the easiest way to write something to do the same thing using
        Apache.  Ideas or pointers to sample code is appreciated.
        \_ I think you'll need a scriptng language along with Apache.
	...
2003/4/14-15 [Computer/SW/OS/Windows, Computer/SW/Languages/Misc] UID:28114 Activity:high
4/14    I need to write a script to run under DOS (yes, I know it sucks)
        and I need it to stop a program that can only be terminated by
        hitting Control-C. How can I give that to the script as a
        command? Thanks.
        \_ try installing cygwin (cygwin.com ?) and use their "ps" and
           "kill" functions?
	...
2002/10/18 [Computer/SW/Unix] UID:26243 Activity:high
10.17   anyone have a good unix primer (online) for college freshman? my
        little brother knows ls, pine, pico, who, and talk, but that's about
        it. something that can introduce him to the concept of jobs, processes,
        pipes, but also, simpler stuff, like... i dont know, the stuff that
        the average unix user takes for granted.
        \_ Unix for the Impatient
	...
2001/6/27-28 [Computer/SW/Languages/Misc] UID:21649 Activity:high
6/27    Anyone know how to read Shift-JIS encoded email in Lotus Notes 4.x?
        \_ download njstar communicator for windows. - keithyw
        \_ you can try to import into  notes - it will probably give you
           some username and password BS or unrecognized database format
             so the answer is probably NO you can't read it- but you can try
           Why is it that all these companies think the database is the
	...
2000/8/9-10 [Academia/Berkeley/Classes, Computer/SW/Languages/C_Cplusplus] UID:18929 Activity:high
8/8     How well do UCB EECS and CS newgrads know C/C++? (in general)
        \_ If it makes you feel any better, Stanford undergrads start out
           take 3 quarters of "Introductory Programming" in C instead of
           SICP.
        \_ on average, better than other schools' new grads, with a
           lot more upside
	...
2000/7/16-17 [Computer/SW/Languages/C_Cplusplus] UID:18689 Activity:high
7/16    Back from Microsoft PDC in Orlando.  I feel so dirty.  Giant
        hype machine; .Net strategy an entirely unimplemented joke.  C#
        combines the worst parts of C++ and Java; MS showing definite signs
        of embracing VB as their primary development language.  Thousands
        of clueless and lazy ("fear change!") developers.  Don't let this
        happen to you.
	...
2000/5/9 [Computer/SW/Languages/Perl, Computer/SW/Unix] UID:18206 Activity:very high
5/8     Is there a Visual Basic equivalent to the UNIX system() function?
        I need to write a VB program to run a bunch of dos commands
        and report the results to the user.  If I had a choice, I would
        use perl, python, tcl, bash, or something like that, but I need
        to create a program that will run a standard windows system.  Thanks.
        \_ Yes.
	...
2012/8/29-11/7 [Computer/SW/Security] UID:54467 Activity:nil
8/29    There was once a CSUA web page which runs an SSH client for logging
        on to soda.  Does that page still exist?  Can someone remind me of the
        URL please?  Thx.
        \_ what do you mean? instruction on how to ssh into soda?
           \_ No I think he means the ssh applet, which, iirc, was an applet
              that implemented an ssh v1 client.  I think this page went away
	...
2012/9/20-11/7 [Computer/SW/Unix, Finance/Investment] UID:54482 Activity:nil
9/20    How do I change my shell? chsh says "Cannot change ID to root."
        \_ /usr/bin/chsh does not have the SUID permission set. Without
           being set, it does not successfully change a user's shell.
           Typical newbie sys admin (on soda)
           \_ Actually, it does: -rwsr-xr-x 1 root root 37552 Feb 15  2011 /usr/bin/chsh
	...
2012/9/24-11/7 [Computer/SW/Languages, Computer/SW/Unix] UID:54484 Activity:nil
9/24    How come changing my shell using ldapmodify (chsh doesn't work) doesn't
        work either? ldapsearch and getent show the new shell but I still get
        the old shell on login.
        \_ Scratch that, it magically took my new shell now. WTF?
           \_ probably nscd(8)
	...
2012/3/29-6/4 [Computer/HW/Memory, Computer/HW/CPU, Computer/HW/Drives] UID:54351 Activity:nil
3/29    A friend wants a PC (no mac). She doesn't want Dell. Is there a
        good place that can custom build for you (SSD, large RAM, cheap video
        card--no game)?
        \_ As a side note: back in my Cal days more than two decades ago when
           having a 387SX made me the only person with floating-point hardware,
           most machines were custom built.
	...
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
	...
2012/1/27-3/26 [Computer/SW/Unix] UID:54299 Activity:nil
1/27    Interesting list of useful unix tools. Shout out to
        cowsay even!
        http://www.stumbleupon.com/su/3428AB/kkovacs.eu/cool-but-obscure-unix-tools
        \_ This is nice.  Thanks.
	...
2011/10/26-12/6 [Computer/SW/Unix] UID:54202 Activity:nil
10/24  What's an easy way to see if say column 3 of a file matches a list of
       expressions in a file? Basically I want to combine "grep -f <file>"
       to store the patterns and awk's $3 ~ /(AAA|BBB|CCC)/ ... I realize
       I can do this with "egrep -f " and use regexp instead of strings, but
       was wondering if there was some magic way to do this.
       \_ UNIX has no magic. Make a shell script to produce the ask or egrep
	...
2011/5/19-7/13 [Computer/SW/Languages/Misc] UID:54115 Activity:nil
5/19    If script A runs, and calls script B ..... is it possible for me to exit\
        script A based on results of script B and not continue?
        \_ assume any shell
        \_ Yes.
           \_ without passing the result to some stupid temp file?
              \_ It sounds like you want "scriptb || exit", which will run
	...