Search Results

Search: Posts Made By: Nitrodist
2,543
Posted By Nitrodist
What does set${ID} do? What you need to do...
What does set${ID} do?

What you need to do is build up a file with the appropriate commands and then feed that to bteq afterwards.



CMD_FILE=/tmp/a

echo ".logon $LOGON_STRING_DEV;" >...
3,447
Posted By Nitrodist
Fully qualify the array by using...
Fully qualify the array by using ${XmlPath[$Path_Counter]} when you're echoing it out -- assignment looks OK. tldp explanation (http://tldp.org/LDP/abs/html/arrays.html).
2,543
Posted By Nitrodist
Can we see the entire script, please?
Can we see the entire script, please?
Forum: HP-UX 07-28-2011
9,317
Posted By Nitrodist
Unable to useradd on 11.31
Running into a bit of a problem on one of our HP-UX nodes.

I'm unable to add users through useradd.

We can edit the passwd file normally or through vipw, just fine. Once you remove the...
1,909
Posted By Nitrodist
I wouldn't imagine it as a risk, no. Just against...
I wouldn't imagine it as a risk, no. Just against policy and, sometimes, sanity :)
1,909
Posted By Nitrodist
Depends on where you're working, I imagine. At my...
Depends on where you're working, I imagine. At my current workplace, it doesn't matter -- we have binaries in many varied places (/opt, /bin, /usr, /home, etc.).
11,436
Posted By Nitrodist
The shell that you're using is bash, so you need...
The shell that you're using is bash, so you need to either A.) change your login shell (located in /etc/passwd), B.) run the csh shell and use that interactively (aka, just run /bin/csh or wherever...
11,436
Posted By Nitrodist
Do echo $SHELL in your interactive terminal (not...
Do echo $SHELL in your interactive terminal (not the script).
5,151
Posted By Nitrodist
In windows, it's found under your System...
In windows, it's found under your System Properties, in the Advanced tab, in the button 'Environment Variables' button.

On Unix, it's defined usually in the /etc/environment file and subsequent...
5,151
Posted By Nitrodist
Try C:/PROGRA~2/blah/blah
Try C:/PROGRA~2/blah/blah
5,151
Posted By Nitrodist
Are you sure that that 'path' variable is...
Are you sure that that 'path' variable is supposed to be set as an array?
5,151
Posted By Nitrodist
Have you tried... two backslashes? I'm serious.
Have you tried... two backslashes? I'm serious.
35,585
Posted By Nitrodist
Try it with 'vim' now, to see if you have vim...
Try it with 'vim' now, to see if you have vim installed.

Alternatively, you can run the setup.exe file from cygwin again and you can install more packages from there (without reinstalling cygwin...
5,151
Posted By Nitrodist
Have you tried escaping the space with a...
Have you tried escaping the space with a backslash? e.g.,


set path=(c:/Program\ Files/blah/blah)
35,585
Posted By Nitrodist
Try find / -name 'vi' -not -path "/cygdrive*"...
Try find / -name 'vi' -not -path "/cygdrive*" 2>/dev/null (guessing on the '-not' bit to avoid searching in your windows drives -- if this doesn't work, just do find / -name 'vi' 2>/dev/null and wait...
2,574
Posted By Nitrodist
itkamaraj, interesting, thanks for the link. Is...
itkamaraj, interesting, thanks for the link. Is there a difference between doing a LEFT OUTER JOIN on the original versus a minus operation?
1,909
Posted By Nitrodist
Are the two files using the same version of ksh? ...
Are the two files using the same version of ksh? Are the permissions on the file set the same? Could either file be changed by a non-root user due to the permissions on the directories or files?
2,376
Posted By Nitrodist
Do you need to know which jar it came from?
Do you need to know which jar it came from?
5,929
Posted By Nitrodist
Here is an article with everything you need to...
Here is an article with everything you need to know:

ORACLE-BASE - Killing Oracle Sessions (http://www.oracle-base.com/articles/misc/KillingOracleSessions.php)
2,574
Posted By Nitrodist
What kind of SQL syntax is 'minus' ? Anjali,...
What kind of SQL syntax is 'minus' ?

Anjali, you're probably looking for a JOIN between the tables (http://en.wikipedia.org/wiki/Join_(SQL)).

To answer your question as to the same column name...
2,988
Posted By Nitrodist
Can you give us the raw data?
Can you give us the raw data?
1,773
Posted By Nitrodist
'Home/abin > ' being PS1 and PS2, I mean.
'Home/abin > ' being PS1 and PS2, I mean.
1,773
Posted By Nitrodist
Corona688, sure it could if it's like ...
Corona688, sure it could if it's like

Home/abin > test1.sh
ksh: Test1.sh: cannot execute

and he has his current directory in his PATH.

Chaits, as shell_life indicates, your file permissions...
1,773
Posted By Nitrodist
As to the status, the variable $? contains the...
As to the status, the variable $? contains the return code of the previous command, so you could put after each line echo "abc001 finished with a return code of $?"
2,014
Posted By Nitrodist
$title expands to whatever the value of it was....
$title expands to whatever the value of it was. So, how would you grep a file for a string with spaces in it? With quotes of course -- in this case, use double quotes because single quotes makes...
Showing results 1 to 25 of 28

 
All times are GMT -4. The time now is 05:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy