6,268 reputation
723
bio website timkennedy.net
location Virginia
age 43
visits member for 3 years, 10 months
seen Dec 18 at 14:59
Father, Husband, SysAdmin, Brother, Son. In reverse chronological order.

Jun
11
comment Why `host` and `nslookup` on Solaris 10 resolves hostnames while `ping` and `telnet` does not?
@AdamSiemion keep in mind that many of Solaris' largest customers are closed environments where DNS may not necessarily be used, and instead NIS holds sway. (or LDAP sometimes). Sun used to focus most of it's energy on it's top 50 customers. DNS stuff was added for the rest of their customers, but not made the default, because revenue from the top 50 > the rest. Oracle likely plays a similar game.
May
28
answered Solaris - permanently update PATH for all users
May
24
comment Automating tasks on a website on a headless server
You can use the Firefox Live HTTP Headers plugin to record a session between your browser and the website, so that you understand the full path interaction, too. What cookies do you need to store? Present? What forms are called with what variables and hidden variables, etc. Once you have all that, it should be achievable to automate the task.
May
24
comment Comparing file times in ksh
what platform are you using that doesn't have stat? if it's AIX, check if you have istat.
May
21
comment Portable way to get script's absolute path?
i like it! so far, that's pretty portable. works on Solaris, OmniOS, Linux, Mac, and even Cygwin on Windows 2008.
May
21
answered What do you use the -t “tag” option for in logger?
May
20
comment Is it common to split larger script into multiple scripts and source them in the main script?
especially given that even the older OSes like Solaris are shipping with perl, and python, etc, now. one reason older systems used shell scripts is that the shell was guaranteed to always be available, but bigger Unices, like HP-UX and Solaris, and AIX, couldn't be guaranteed to include other tools.
May
18
comment Setting file permissions in bash script
@JamesAndino the /o=rwx filter is a permissions filter that looks for r(read), w(write),x(execute) bits being set. The o means to compare the filter to the other field. You could also specify u for user, or g for group. or combinations, like -perm -u=rwx,o=rwx to match on both the user and group permissions.
May
18
revised Setting file permissions in bash script
added 359 characters in body
May
18
comment Setting file permissions in bash script
thanks for the correction.
May
17
answered Setting file permissions in bash script
May
17
answered Solaris 11 randomly crashed
May
17
awarded  Informed
May
17
comment What is rpc.statd, what ports should it be listening on, and how to kill it?
Yes. The NFS client will use rpc.statd and portmapper, both.
May
17
answered What is rpc.statd, what ports should it be listening on, and how to kill it?
May
17
comment Utility script framework
+1 for script templates. the real key is education of those writing scripts. define policies, eg: All scripts will send email on failure. All scripts will log output to /var/log/scriptname.log. All scripts will rotate X iterations of logfiles. etc.
May
17
comment Rename two files
sorry @scottmarriott. i gave you a terribly unclear answer. hopefully the edit provides you the information you need to successfully execute your task.
May
17
revised Rename two files
improved formatting, expanded on answer.
May
17
comment Rename two files
was trying to provide a simple answer. I'll edit for clarity.
May
17
comment Line endings when using GNU Screen
echo $TERM. probably a difference in the screen termcap entry, and whatever your TERM is when not running screen.