208 reputation
29
bio website att.com/shop/wireless
location Bellevue, WA
age 58
visits member for 2 years, 1 month
seen Oct 27 '13 at 13:04

I have been employed as a programmer-type since 1983, but always in non-IT positions. My principal interests are in applications, data analysis and reporting using SAS software on Windows and UNIX environments. I also am quite fluent with the Teradata and Oracle database, especially with respect to data extraction using SQL.


Oct
25
comment Can I change the output format of the “last” command to display the year?
I plan to write a script to run that "touch" command using my application account and setuid it to remove the 777 problem. Never done it before myself, but I think it should be easy so that's what I'm working toward.
Oct
25
comment Can I change the output format of the “last” command to display the year?
I'm going to go ahead an accept this answer because it does address my question. Unfortunately, I just learned that the accounting file is "rolled" every day, so the last command is useless to me. I came up with a different solution to my original problem: I added touch /var/lastlogin/$USERNAME to my /etc/profile, which will create or update a file whenever someone logs in. Other than having to create that directory with 777 permissions, this meets my needs. Going to figure out that next.
Oct
4
comment How do add GNU findutils into an existing location
@unixhacker2010 Very useful to me; unfortunately, in our "corporate environment", our SysAdmins are only allowed to install "standard approved software" and unless it's part of the standard deployment, applications must install other things themselves (often by untrained people like myself). According to another comment, all of this is in Solaris 11, but I'm on Solaris 10 right now. Solaris 11 is not yet "approved".
Oct
4
comment How do add GNU findutils into an existing location
This makes sense after I think about it more; after all, the default writes to /usr/local so it would not overwrite everything. Never doing this before caused me to ask.
Oct
3
comment How do add GNU findutils into an existing location
1) I'm on Solaris, not Linux. 2) I'm trying to ADD these "findutils" to my system; I could install them into a clean directory but thought is made sense to add them into my "standard" GNU directory 3) Not really "just learning". I need the GNU find command for a script (actually just the -maxdepth option).
Sep
26
comment What is the STATE column of the TOP command on Solaris?
Yep, that's it. The link to the man page provided by slm in a comment has a complete description.
Sep
26
comment What is the STATE column of the TOP command on Solaris?
@slm Thanks for the link; that man page does describe the meaning of that number after the slash (as answered below). It's not in the man page on my system.
Sep
26
comment What is the STATE column of the TOP command on Solaris?
Sorry, but I'm asking about the number following the word "cpu" in the report, in this case cpu/147. I don't know what the 147 means.
Sep
26
comment What is the STATE column of the TOP command on Solaris?
@slm I added info to the question, thanks.
Oct
24
comment Skip first 3 byte of a file
Don't know about AIX, but on Solaris you must use /usr/xpg4/bin/tail, at least on my machine. Good tip nonetheless!
Jul
5
comment Startup script not executing after reboot on Solaris
We are on Solaris 10.
Jul
5
comment Startup script not executing after reboot on Solaris
The entry is a link to /etc/init.d/apache2, which is set executable (1). The first line is '#!/sbin/sh' and seems correct (2). After rebooting, we start Apache manually as root using the same link (i.e. /etc/rc3.d/S75Apache2 start) (4). All the required paths are defined in the script itself (5). Can you think of anything else to check?
Jul
1
comment How to set environment variable JAVA_HOME that will be saved on exit?
I don't know Suse, but wouldn't it be better to define this in the system profile? JAVA_HOME is defined in /etc/profile on my Solaris server (a system with many accounts).