will this script work? I want to use it in unix.
clear
ans='y'
While test $ans='y'
do
notfound()
{
echo $response " is not logged in"
}
found()
{
echo $response "is logged into " $name
}
name=`ps -eaf | grep "\<$response\>" | cut -b 80-85`
if
;
then
name=`rsh server2 ps -eaf... (7 Replies)
Alright, so I'm interested in using Unix, but I have a couple of pretty basic questions:
1) What's the relationship between Linux and Unix? Are they one and the same, or completely different?
2) Can you use Unix on a laptop?
and
3) Where can you get Unix?
Thanks for listening. (9 Replies)
I have been reading up on starting a website, but i am still lost. I am in much need of assistance. Kind of a step by step because i still don't know where to start. please help. thank you (1 Reply)
First time so excuse my ignorance please.
I may not be accurately describing the issue.
I have inherited a small lab mostly SUN V120s.
We lost power and are trying to recover.
Nope no backups...
The primary issue I have is 1 box is an Oracle Server.
It has 2 36Gb harddrives.
I am able to... (3 Replies)
:eek: im trying to make a website and im on a site that tells how...
but, it says 2 access my unix account to make 1 online and im alrdy confused!! (1 Reply)
Fair warning... I know nothing of Unix. That's why I joined this forum and I need your feedback desperatly. Here is the situation...
I built an app using ASP and Northcode's SWF Studio v3 for a cd launcher tool for a client that develops software. They like the app and it works well on... (2 Replies)
I have been using linux now for about 6 months. I like it although it was quite a learning process. Pretty simple for the most part. Here is my prob...
The first time I installed linux on my computer it went in just fine, no problems.
It did eventually crash though and I had to re-install it.... (2 Replies)
I want to execute my own utilities from my bin folder without having to specify paths at run time - i.e. just enter name on command line - to do
this my search path needs to be set up at login time - when I do this the path is not getting set right apparently(?) - PATH echos OK but the search... (0 Replies)
I am taking an online Linux class, which is mandatory for me to graduate. Unfortunately I got the worst online teacher ever, he never respond to any e-mails. I have no idea what going on in this class so I am turning to you guys.
Here is the questions for the week, Ok I don't expect anybody to... (1 Reply)
Discussion started by: Thunderbunny
1 Replies
LEARN ABOUT SUNOS
strclean
strclean(1M) System Administration Commands strclean(1M)NAME
strclean - STREAMS error logger cleanup program
SYNOPSIS
strclean [-a age] [-d logdir]
DESCRIPTION
strclean is used to clean up the STREAMS error logger directory on a regular basis (for example, by using cron. By default, all files with
names matching error.* in /var/adm/streams that have not been modified in the last three days are removed.
OPTIONS
The following options are supported:
-aage The maximum age in days for a log file can be changed using the -a option.
-dlogdir A directory other than /var/adm/streams can be specified using the -d option.
EXAMPLES
Example 1: A sample of using the strclean command.
This example has the same result as running strclean with no arguments:
example% strclean -d /var/adm/streams -a 3
FILES
/var/adm/streams/error.*
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO cron(1M), strerr(1M), attributes(5)
STREAMS Programming Guide
NOTES
strclean is typically run from cron on a daily or weekly basis.
SunOS 5.10 14 Sep 1992 strclean(1M)