2005/11/22-23 [Computer/SW/OS/Solaris, Computer/SW/Unix] UID:40690 Activity:nil | 11/22 Is there a native process in Unix (SunOS 5.7) that logs port traffic?
Barring that, do you know of any good software that would do the trick?
SdTFW for "logging port traffic unix" but not finding what I'm looking
for. TIA. --erikred
\_ tcpdump -w
\_ snoop. Ethereal. -John
...
|
2005/6/23-25 [Computer/SW/OS/Solaris] UID:38267 Activity:nil | 6/23 Stoopid Tech Q: Is there a version of CDE for SunOS 5.7?
\_ Updated Q: how the hell do I get the CDE running from the
command line?
\_ /usr/dt/bin/dtsession?
\_ got it, thanks.
\_ turns out /usr/dt/bin/dtlogin -daemon does the trick.
...
|
2005/3/9 [Computer/SW/Unix, Computer/SW/OS/Solaris] UID:36604 Activity:low | 3/9 After I start an xterm in SunOS 5 and Linux, is there any command to
change the title of the xterm window? Thanks.
\_ Check ~geordan/bin/retitle
\_ That 2 should probably be a 0 -- that way the new title stays
even when the window is minimized (or whatever the standard
X term for that is). -alexf
...
|
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/5/8-9 [Computer/SW/OS/Linux, Computer/SW/Unix] UID:30108 Activity:very high | 5/8 On the linux ls discussion from the other day, this is my take:
Using/learning linux specific flags is all fine and good, and
adding new features to old tools is too, but when I have to
switch between 5 different OSes in a given day, it's simply a
waste of my time. There are many ways to solve a given problem.
Linux's solution always seems to be "add another flag". If you're
...
|
2004/3/8 [Computer/SW/OS/Solaris] UID:12561 Activity:high | 3/8 Are there any commands on soda equivalent to prtinfo/psrinfo/isainfo
on SunOS 5? Thanks.
\_ The correct term is "Solaris", not "SunOS 5".
\_ whats sunos5?
\_ SunOS foo 5.7 Generic_106541-08 sun4u sparc
\_ That'd be Solaris 7.
...
|
2003/10/1-2 [Computer/SW/OS/Solaris] UID:10403 Activity:nil | 10/1 I'm on solaris and trying to increase the number of open file descriptors
my processes can have. I've used limit and ulimit under zsh and bash,
respectively, to set these to say, 400. limit and ulimit -a apparently
confirm these changes. But when I write a program to test this out,
it still fails after the default of 256 open files. Any idea what I
might be doing wrong? Thanks.
...
|
2002/9/12 [Computer/SW/OS/Solaris] UID:25855 Activity:high | 9/11 On SunOS 5, how do I use the -k option in "sort" to specify multiple
sort fields? I tried "-k start1,stop1 -kstart2,stop2",
"-k start1,stop1+start2,stop2" and "-k start1,stop1 start2,stop2" but
none works. The man page doesn't descript this. Thanks.
\_ I never got -k working sanely. I use the +n format just fine. I
use perl if I get desperate.
...
|
2002/7/18-19 [Computer/SW/OS/Linux] UID:25382 Activity:very high | 5/17 If I'm running debian potato and add a testing site in my apt sources,
will I magically be upgraded to woody? Any problems in doing this?
(Using dselect)
\_ i don't want to hear about your magic woody.
\_ Yes. debian >> redhat. debian ?? bsd ports. -op
\_ X will break. Other than that, i've had no probs yet.
...
|
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/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/20-26 [Computer/SW/Unix] UID:52420 Activity:low | 1/20 I have a rather common shell-scripting problem, but I am not sure
how to do it in csh/tcsh. I want to check the ctime (last
modified time) of a file. If it is older than, let say, 1
hours, do something, older than 3 hours, then do something +
something else. Any hints on how to do this? do i need to
convert it to epoch to perform such manipulation? thanks
...
|
2009/1/20-26 [Computer/SW/Languages/Java, Computer/SW/Languages/Misc] UID:52425 Activity:nil | 1/20 I've been using tcsh as shell program tool (i know, bad shell to
do scripting). One thing I've noticed when I extract xml file
is that the variable type automatically change from
integer/string to... almost an array-like data structure when
the output of the xml key/value is more than one (it's more
like a string separated by space, but I was very impressed as
...
|
2009/1/13-22 [Computer/Theory] UID:52367 Activity:kinda low | 1/13 I am writing a commandline parser for a class and I could use some
tips for algorithms to use. (The project is over and done so I am
not cheating, but I am dissatisfied with my end result.) I STFW and
didn't come up with too much I liked. I read the source for some
shells like tcsh and that is *WAY* too complicated and relies on
a lot of other code. I know that browsers and other apps have
...
|
2007/10/9-11 [Computer/SW/Unix] UID:48269 Activity:nil | 10/9 It's great that soda's been more or less up for the past few months,
but I really hate Linux and all this gnu shit... ELinks, crappy vi,
etc. I miss links and a tcsh that works.
\_ What's wrong with the current tcsh on soda? Why don't you just ask
root to install links or build it yourself? Also, barring things
that actually need to talk to the kernel, e.g. threading libraries,
...
|
2006/10/30-11/1 [Computer/SW/Unix] UID:45041 Activity:high | 10/30 My favorite command in UNIX is "cal". What is your favorite?
\_ Nein, I vill be. A German and a Jerry, danke, und Heil! -John
\_ PARSE ERROR. Are you on drugs again John?
\_ That's just my troll farm being rambunctious. Use new
Extra Strength Troll-Gro for healthy and frisky trolls!
\_ Based on frequency of use, gonna have to go with tcsh
...
|
2006/9/1-3 [Computer/Networking, Computer/HW] UID:44235 Activity:nil | 9/1 I want to add a quick and dirty alias for a server on my local machine.
So instead of using some-really-long-host-name, I want to use srlhn:
scp me@srlhn:foo
But if I put that into /etc/hosts, it requires an IP address, and this
server may be changing its IP address from time to time. I'm not
running DNS. Any suggestions?
...
|
2006/5/23-28 [Computer/SW/Languages/Perl, Computer/SW/Unix] UID:43168 Activity:nil | 5/23 I'm trying to learn sh, bash, and csh programming. What's a good
site that has sample syntax of the following ***psuedocode*** for
each of the shells?
foreach $file in (<dir/*>) do;
echo I have file $file
done;
...
|
|