Questions tagged [hp-ux]
HP-UX (Hewlett-Packard Unix) is Hewlett-Packard's proprietary implementation of the Unix operating system.
152 questions
6 votes
2 answers
2k views
Why wasn't this `ls` bug about file sizes on NFS mounts from HP-UX systems ever fixed?
I was reading the info file on my GNU/Linux system for the ls command, when I encountered the following under the -s/--size option: For files that are NFS-mounted from an HP-UX system to a BSD system,...
2 votes
2 answers
252 views
Hpux and TCB, how to enable login console?
I'm on hpux 10.20 (for testing), is TCB-enabled when I try a login from a serial console this m essage appear GenericSysName [HP Release B.10.20] (see /etc/issue) login: root Cannot obtain database ...
0 votes
1 answer
175 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
178 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
861 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
498 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
163 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
637 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
363 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
552 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
305 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
630 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
694 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
228 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
105 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 and ...