721 reputation
210
bio website linkedin.com/in/melburslan
location *SUN* Diego
age 50
visits member for 1 year, 5 months
seen Apr 1 at 18:34

I'm YAUG (Yet Another UNIX Guy) I question authority but respect it where it is due I am an EE with Bachelors and Masters degrees but in IT field by choice for the last 20+ years. HPUX was my first love but nowadays it is Linux, more than anything else.


Mar
5
comment Sudo changes PATH, yet executes the same binary
In your PATH, /usr/local/bin preceeds /usr/bin. I think it is somehow expected to stop the search and run the executable once it is found. And the location it gets to be found is /usr/local/bin the first time. Unless of course your sudo was compiled with a different default PATH
Mar
5
comment replacement script multiple targets
possible duplicate of case sensitive substitution; same target ids
Mar
5
comment Configuring a tftp server for multiple clients
Together with not being totally confident with this statement, I think you will need to run multiple tftpd instances with different root directory configurations as well as different ip addresses, as tftp is pretty dumb at what it does, hence the "t" at the beginning for "trivial". I saw this article a while ago. You might want to take a look at it: selbytech.com/2009/10/…
Feb
24
comment rsync multiple files to multiple directories
I have never used the --inplace switch but seems like it updates and existing file on the destination. And if your destination is, somehow forcing a confirmation, i.e. hit 'y' or 'n', that might explain why it is hanging. Try making the destination file names such that they will not exists in ther detination location and see if your script will proceed w/o needing a ctrl-c etc. Just a troubleshooting suggestion, not intended to be a solution.
Feb
22
comment Directory mounted under regular user is inaccessible from said user
I am not really familiar with sshfs but since ssh itself is in the mix, it is helpful, if not mandatory to check the ownership permissions of .ssh directory and its contents. ls -ld ~/.ssh and ls -l ~/.ssh outputs may give some useful information.
Nov
18
comment Using alias in another script (ksh)
to reiterate some of the sentiment above, using aliases in a script is a bad idea from the get-go. if you know what that alias is running, why don't you do something like this : (say alias is as such "mycmnd=/usr/sbin/grep") in your script you can use MYCOMMAND=/usr/sbin/grep and then everytime you need to use this command, you can reference it by $MYCOMMAND.
Nov
18
answered Ksh script warnings
Nov
16
awarded  Yearling
Nov
4
comment viewing variable values in a KSH script
if you don't use braces, you are letting the shell take over your variable expansion with the characters on the command line following the variable nae without a known delimiter. IT IS ALWAYS SAFER TO USE CURLY BRACKETS. Usage of double quotes on the other hand, is up to the user, knowing the nature of values, his or her variables can take. If you are dealing with numeric variables and values of the numerals, in the same context you downed my idea, what is the use of double quotes ? If you are doing string evaluation, yes they are of some use.
Nov
4
answered viewing variable values in a KSH script
Oct
28
answered How to check whether my cron job for backup using tar was succesfull
May
15
comment Bizarre Disk Use Problem
not familiar with the NEPOMUK framework, other than a couple of articles I read in the past and accepting the risk of being obvious, did you try disabling it and checking if the problem stops. It might be some other thing triggering the NEPOMUK behavior. Just a thought...
May
2
answered Difference between sudo su - user and sudo -iu user
Apr
25
awarded  Autobiographer
Apr
25
awarded  Analytical
Apr
25
awarded  Enthusiast
Apr
16
comment Update HP-UX 11i software
unfortunately, the version of HP-UX in the original question, 11.11, is long out of support. Unless you are paying through the nose for an extended support contract, (Which I believe nobody should) your chances of finding 11.11 software update is next to nil. Consider upgrading to 11.23 at the least. I hope your organization have a support contract with HP.
Apr
12
comment 'df' command doesn't list /home directory
yes, very much so... But if you are using LVM (logical volume manager) every filesystem doesn't have to reside on a different partition. One partition can be made looking like multiple partitions. Hence the name, Logical.
Apr
12
answered 'df' command doesn't list /home directory
Apr
12
comment FreeBSD telnet does not take root login
@M.Kjorling .. the answer you are adding comments to. That's what I was referencing...