HP-UX (Hewlett-Packard Unix) is Hewlett-Packard's proprietary implementation of the Unix operating system.

learn more… | top users | synonyms (1)

6
votes
4answers
8k views

Is there a way to sum up the size of files listed?

This is the command I am using to list some files: find . -name \*.extract.sys -size +1000000c -exec ls -lrt {} \; -rw-r--r-- 1 qa1wrk15 test 1265190 Sep 29 01:14 ...
2
votes
1answer
3k views

Start a service on HPUX at boot

I'm trying to start a service on HPUX 11.31 at boot time. I generated the appropriate symlinks, but the system is not starting it up. If I run the script once the system is up, everything works as ...
2
votes
1answer
2k views

Static routes in HP-UX

I need to set static route in HP-UX. I edited /etc/rc.config.d/netconf file and added new entry for my route: ROUTE_DESTINATION[1]="10.105.2.0" ROUTE_MASK[1]="255.255.255.0" ...
2
votes
1answer
502 views

Which Linux distro resembles HP-UX?

I'm looking for a Linux distro (or some Unix flavor...) that is similar to HP-UX so that I practice the command line as well as other things. This is in order to get CSA Certification. Which distro ...
1
vote
2answers
256 views

How can I add a space automatically after every command I type in bash?

Due to some unknown reason I am not able to edit/delete the last character of any bash command from the bash history i.e. when I access last bash command using 'up' arrow I cannot change or delete the ...
1
vote
1answer
1k views

How to Mirror one more disk on existing filesystem

In my test machine I can see the filesystem list using bdf commands. $bdf Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 58916864 6242747 49386840 11% / ...
3
votes
1answer
293 views

hpux leaves files that start with a # behind after I uninstall a program. Is this normal and how do I delete them?

I have tried using rm -f on these files, and I am running as root, so I should be able to delete them. So why does this program leave behind these files and how can I remove them. Here is what the ...
2
votes
2answers
784 views

HPUX setacl leaves uid behind

I have a shell script that I execute after uninstalling a web application. The script is meant to clean up permissions that were needed during the execution of the application. find /opt/path -exec ...
2
votes
2answers
2k views

How to use STL in unix and linux?

How to use STL(standard template library) in HP-Unix . How to compile and run the program with STL functions?
15
votes
5answers
4k views

How can I edit a large file in place?

I have a few files sized > 1 GB each. I need to remove last few bytes from the files. How can I do it? I prefer to edit file in place to save disk space. I am on HP-UX.
4
votes
3answers
398 views

Any alternative of “man -a” on UNIX?

man -a <xyz> opens all the man pages one by one which contain xyz. On my unix servers man -a <xyz> doesn't work. Is there any alternative for this on unix? EDIT: I am on HP-UX. Following ...