2012/5/8-6/4 [Computer/SW/Unix] UID:54383 Activity:nil | 5/8 Hello everyone! This is Josh Hawn, CSUA Tech VP for Spring 2012.
About 2 weeks ago, someone brought to my attention that our script
to periodically merge /etc/motd.public into /etc/motd wasn't
running. When I looked into it, the cron daemon was running, but
there hadn't been any root activity in the log since April 7th. I
looked into it for a while, but got lost in other things I was
...
|
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/7/30-8/10 [Computer/SW/Languages/Misc] UID:54148 Activity:nil 66%like:54150 | 7/29 Happy Sysadmin Day
\_ our "sysadmin" today deleted /home. When we asked her why
she said she didn't do it. When I checked the sudo logs,
I found these two commands in order:
COMMAND=/bin/rm -r /home testuser
COMMAND=/bin/rm -r /home/testuser
...
|
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
...
|
2010/4/22-5/10 [Computer/SW/Languages/Misc] UID:53797 Activity:nil | 4/22 In Linux is there an easy way to rename the scripts in /etc/rc?.d ?
For example I want to set all the /etc/rc?.d/S91apache to S100apache
so that it'll run the ramdisk BEFORE going to apache.
\_ Sure, just move them.
\_ I mean is there a script that will rename all of them
for me? Like: setrc apache2 0 0 1 1 1 1
...
|
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/5/5-6 [Computer/HW/Laptop] UID:52950 Activity:moderate | 5/5 Is there a good (or standard) way to make an offline copy of a w
ordpress blog (mine, not someone else's)? tia.
\_ oh man.
\_ I could cobble something together with curl / wget, but I'd
rather not if there is a standard way of doing this. I'm
pretty new to wordpress / blogging and I just want to keep
...
|
2009/1/14-22 [Computer/SW/Languages/Perl, Computer/SW/Languages/Misc] UID:52378 Activity:nil | 1/13 I want to extract a couple integer from an xml file, mainly,
xml file from http://weather.com so I can put it on my xplanet marker
file. has anyone done similar things (parse and extract data
from xml) using shell script instead of python/perl?
in the world of perl, it make sense to dump things into a hash
which i can easily extract key/value pair. can i achieve similar
...
|
2006/1/22-24 [Computer/Networking] UID:41477 Activity:nil | 1/21 I am trying to setup a small network for my girlfriend's
mom's company. They just bought an accounting package
which requires windows 2003 server. And they want internet
access from each computer. How should the network be setuped?
Would it be dumb to use static IP for each computer and a
computer as internet gateway?
...
|
2005/3/23-24 [Computer/HW/Laptop, Computer/HW/Printer] UID:36824 Activity:kinda low | 3/23 Any recommendations for an Ethernet print server for a
USB printer. Ideally would like it to work with XP and OS X.
\_ Just use your PC as the server and let other PCs print to it.
\_ If OP wanted to do that, they wouldn't be asking about standalone
print servers, would they?
\_ Correct. OP is working with a single laptop setup. -op
...
|
2005/3/7-8 [Computer/HW/CPU] UID:36555 Activity:high | 3/7 Anyone know where I can get old PC components? For example, I want to
get a replacement Pentium CPU. (The good old Pentium)... Thx.
\_ ebay or craigslist.
\_ Seconded, but you might have to wait a while to see anything come
up. There's Wierd Stuff and SurplusComputers both around
Sunnyvale / North San Jose, and they will have what you need for
...
|
2004/12/1 [Computer/HW/CPU, Computer/SW/OS/Solaris] UID:35146 Activity:high | 12/1 open source sadness, SUN being destroyed by linux..
\_ More like Sun stupidity by refusing to either
A) Make Solaris x86 free until it was too late.
B) Give up on the stupid "java thin client" crap
C) Open Source Solaris and let people actually write
drivers for 3rd party peripherals.
...
|
2004/1/2 [Computer/HW/Memory, Computer/HW/CPU] UID:11644 Activity:high | 1/1 I got a IBM R40e recently with windows Xp. I'm wondering what I should
run (if anything) to stress the computer out. I heard that if a
laptop is going to break it's going to break in the first few months of
use. Should I worry about this? I'd much rather ship this back in
30 days to the seller rather than deal with IBM warranty. Thanks.
\_ setiathome
...
|
2003/12/22-23 [Computer/SW/Mail] UID:11563 Activity:high | 12/22 I have Linux running from my PC. Before today, I'd never
tried to send mail directly from my PC to the outside world.
While connected to the internet, using pine, I sent out a
couple messages to my yahoo account as a test. They didn't
go through. They didn't bounce either.
\_ The pain.. The pain... Are you running sendmail? postfix?
...
|
2003/10/20-21 [Computer/SW/OS/Windows, Computer/SW/Unix] UID:10699 Activity:kinda low | 10/20 What is the new UCLINK gonna be? What OS? What software? What/When?
\_ TRS-DOS, VSN.
\_ Software: Communigate Pro, Stalker.
Hardware: ~three front-end, two back end PC servers running Linux,
with NetApp for storage.
Schedule: Primary implementation December/January, additional
...
|
2003/8/26-27 [Computer/Networking] UID:29464 Activity:high | 8/26 I've ended up with two dsl lines at my house till the
end of the year or so. I would like to run some sort
of routing protocol so that I can maximize my bandwidth
by using both lines. I'm not sure how to go about setting
this up, any pointers/ideas? I'm running *bsd if that
makes a difference. tia.
...
|
2003/1/8-9 [Computer/SW/OS/Windows, Computer/SW/OS/OsX] UID:27030 Activity:very high | 1/8 I'm really tempted to buy a powerbook. The design and the OS is
what I like. But I'm worried about the small things. I know that
there's MS office, so no problem there. But what about:
1. sharing info on floppy with a PC?
\_ get a USB disk drive.
2. ability to use network printers with winNT print servers?
...
|
2002/11/26-27 [Computer/HW/CPU, Computer/HW/Drives] UID:26639 Activity:very high | 11/26 A serious question about this: http://www.apple.com/xserve
I have zero experience with recent apple hardware or software.
My company needs rock solid NFS hosts at low cost. Performance isn't
an issue. The clients will be Solaris 2.7 and Linux 2.4. Do any of
you have any experience with this? Does it sound good/bad to you and
why? Any info, urls, whatever is much appreciated. BTW, this isn't
...
|
|