Questions tagged [hp-ux]
HP-UX (Hewlett-Packard Unix) is Hewlett-Packard's proprietary implementation of the Unix operating system.
150
questions
0
votes
1
answer
112
views
How to debug StoreOnce Oracle RMAN plugin on HP-UX?
We have an old Oracle 10g database on old Itanium machine (BL870c i2) which is running HP-UX B.11.31 (it appears to be latest version). Also we have a StoreOnce 3640 (s/w version 4.2.1-1942.21, which ...
0
votes
1
answer
91
views
How can I setup my HPUX profile to use the Linux equivalent of the repeatable commands from history (like !3)?
One thing I really like from Linux is to be able to view my history with the "history" command, and then type !# where # is the command from my history that I would like to run. ...
2
votes
2
answers
671
views
How does find . -type f -print -o -name . -o -prune actually work?
As background, I'm using git on an hp-ux 11.11 (11v1) system. I'm doing an extensive .gitignore file to exclude many many files. My .gitignore is basically "Ignore everything, except these ...
0
votes
3
answers
374
views
How to find every months secound day
How to get second day(date) of current month (e.g 2 August) in HPUX.
date -d doesn't work in HPUX Unix.
0
votes
2
answers
119
views
File layout for file
I have a file with numbers in like this:
1234
5678
3456
How can I get this on one line using a bash shell script with a space between each like this
1234 5678 3456
0
votes
3
answers
476
views
How to use substitute with cd command in Linux
We recently migrated from HP-UX B.11.31 to Linux 3.10.0-1160.15.2.el7.x86_64.
I am trying to achieve the below (which worked in the earlier HP-UX system):
$ pwd
/global/app/opt/prod/ee/01/custo/src/
$ ...
0
votes
1
answer
257
views
HP-UX 11.11 - Incoming connection problem
I have machine with fresh installed HP-UX 11.11.
All seem to work well, but there is one problem - while I have no problem to ping my Ubuntu 20.04 machine, access internet etc from HP-UX machine, I ...
0
votes
1
answer
424
views
HPUX: where is the "environment" file to set the variables?
On Slackware Linux, when I want to set an environment variable I edit this file
vim /etc/environment
On Solaris11, I can set a PATH with nonstandard dirs with those commands(I test the commands in ...
1
vote
0
answers
211
views
Anybody still have HP C8000 discs anywhere by any chance? [closed]
I know it's a long shot, but here goes:
I need an ISO image of the "HP C8000 Core Graphics" CD that came with the HP C8000 PA-RISC workstation. I was not able (and trust me, I've looked VERY ...
0
votes
1
answer
459
views
Migrate from HP-UX to Linux (Shell) [closed]
I want to know what are key things I need to concentrate to migrate HP-UX shell to Linux shell.
Any help will be warmly appreciated!
Note: I didn't find any similar post / question that might help me.
-1
votes
2
answers
651
views
grep on remote host with multiple commands
2nd Command is getting ignored
ssh -q -t -o ConnectTimeout=10 learnserver sudo su - root -c 'hostname' && "/grep PermitRootLogin /opt/ssh/etc/sshd_config/"
0
votes
1
answer
188
views
Converting loop into a single line command to improve shell script performance in HP-UX
I have the following loop in my shell script. What it does is it removed the record which is more then 3000 bytes actually it taking longer time as it read and line by line check byte, and if less ...
0
votes
4
answers
72
views
HPUX large number conversion to avoid numbers like 2.13464e+07
I need to divide 21858717696 by 1024 to get kilobytes on hpux, but using the command below does not work:
echo 21858717696 | awk '{print $1/1024}'
output:
2.13464e+07
On AIX I can use the below ...
0
votes
3
answers
1k
views
HP-UX clean space in directory
My directory /var has reached 92% usage and I need to clean it.
I am trying to identify where I should point at.
I know that df -k gives me the % of allocation from /, but how can I get the same info ...
0
votes
1
answer
989
views
Need help on sed/awk command shell script for checking Sybase Errorlog
I have been using shell script written by great expert of Sybase Mr. Rob Verschoor posted here. This job is called through cron job every hour and it sends email to us in case any keyword matches with ...