Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [hp-ux]

HP-UX (Hewlett-Packard UniX)

0
votes
0answers
10 views

building gcc on hp-ux get illegel instruction

I am trying to native build GCC 4.8.5 on the HP-UX cause HP-UX does not support GCC 4.8.5 package installation. What I did is download gcc-4.8.5 src and then configure, make. pwd -> /data5/...
0
votes
0answers
20 views

HP-UX Build GCC 4.8.5 fail during make

I am trying to native build GCC 4.8.5 on the HP-UX cause HP-UX does not support GCC 4.8.5 package installation. What I did is download gcc-4.8.5 src and then configure, make. pwd -> /data5/...
1
vote
1answer
77 views

Safely Transition from RS232 “Dumb Terminal” to RJ45 Telnet/SSH

An HPUX 11i network, running on new hardware, for what they call “mission critical” operations at a unique business, terminates for the user at Sherwood 7000STs. While functional (and lightning fast ...
1
vote
1answer
601 views

On HPUX, how do I list the full path to the executable for all running processes?

What I need: A list of all currently running executables with their full path. Something like this: 1234 /full/path/to/executable 4567 /full/path/to/executable2 Using UNIX95= ps -exo pid,comm I can ...
1
vote
2answers
49 views

Clubbing two files after every 12 lines in hp-ux system

I have two large files .one file contains 0-12 Hrs of data and other contain 13-23 hours of data . I want to merge it in a single file with 23-0 hours for each combination. ex : file1 abcdefg00 ...
1
vote
1answer
42 views

At what Java version did HP change the JNI include folder name?

I access an HP-UX box from time to time. It has Java 1.5, 1.6 and (now) Java 8 installed. I noticed that, between Java 6 and 8, the JNI include folder changed from $JAVA_HOME/include/hp-ux to $...
0
votes
0answers
49 views

How can login to other TRU64 from Linux?

i want to connect to a TRU64 machine from Linux system same as: "login a client to a windows network how can login from all machine from on that network" now i can connect to a TRU64 machine with ...
2
votes
0answers
659 views

How to set up a sendmail relay using HP-UX 11.x

I need to setup and HP-UX 11.23 system as a mail relay to collect mail from other internal HP-UX servers and relay them to the MS Excahnge operated smtp relay for delivering internet bound mail to the ...
0
votes
1answer
840 views

sftpd allows file creation, but not overwriting existing files on HP-UX

one of our operational systems (linux) pushes files to our server (HPUX) using SFTP. Sometimes (..) they need to resend an updated version using the same file_name, but the sftp server doesn't allow ...
2
votes
1answer
76 views

Finding and renaming files

I have about 1000 files containing the character * in the name. I need to find these files and replace the * with a -. I am working with HP UX v11. I am using the following command find . -type f -...
0
votes
2answers
4k views

How to get fully quallified domain name of a hp-ux machine?

How to get full qualified domain name of a HP-UX machine as like of hostname -f in linux? From man pages, hostname command has no options. I could get fqdn by reading the /etc/resolv.conf file, but ...
1
vote
2answers
14k views

What is the default path for sudo command?

What is the default path of sudo command? I checked in some Linux flavours and some solaris flavours, it is: /usr/bin/sudo If a Solaris machine is not bundled with sudo, where will it get installed ...
4
votes
2answers
866 views

Accessing an “unnamed” file

I have this situation in a certain directory: $ ls -al ... drwxr-xr-x 2 me users 8192 Juni 28 15:27 tmp -rw-r--r-- 1 me users 439 Jan. 3 2013 ... How can I access the second ...
3
votes
2answers
976 views

Unix HP-UX ksh recursive find and replace

I am trying to do a recursive find and replace in HP-UX and am missing something. What I have at the moment: find . -name "*.java" | xargs sed 's/foo/bar/g' I know the problem is that it's not ...
0
votes
1answer
761 views

Create a fake or dummy virtual printer on HP-UX

I need to set up a fake printer in HP-Unix.. It doesn't need to do any printing but it needs to act as a printer so that an application thinks there is a printer. Can some help me with a script for ...
8
votes
4answers
14k views

Sorting numerically in a comma-delimited file with Unix

I've got a comma-separated file that looks like this: 100,00869184 6492,8361 1234,31 200,04071 I want to use sort to sort this file numerically by the first column only. Desired Result: 100,...
0
votes
2answers
3k views

Is there a way to pass in a password to the su root -c command?

I'm writing a script that requires root access for HP-UX. I was wondering if there was some way to pass in a password to the su root -c command so that the user would not be prompted for a password. ...
0
votes
2answers
1k views

How to use sudo with rcp command to copy files from linux host to HP-UX host?

I'm having this issue where when I try to use sudo to rcp some files from a Linux host to an HP-UX host (note that the destination directory requires root access to write to), I get the following ...
2
votes
4answers
976 views

Help me with my command (primarily awk)

I just wrote the most contorted command I've ever written and I want to know how I may make it better. I wrote this: grep -E '00[7-9]\.|0[1-9][0-9]\.' filename.log | awk '{print $6}' | sed 's/\(.*\):...
0
votes
2answers
713 views

compiling git on HP-UX

I'm trying to compile git on an HP-UX system. and when i run make all, I get a syntax error on line 252. if i go to line 252 of the makefile, i see uname_O := $(shell sh -c 'uname -o 2>/dev/null |...
0
votes
1answer
5k views

ksh Auto-Completion PuTTY Configuration

I'm having a bit of a problem configuring my PuTTY client to work with the auto-completion feature in the ksh shell. I do a listing on the root with the directories /home and /homeroot and it returns ...
2
votes
1answer
987 views

Symbolic link modification for HP unix

I'm trying to modify the following in order to rename some symbolic links: find /home/user/public_html/qa/ -type l \ -lname '/home/user/public_html/dev/*' -printf \ 'ln -nsf $(readlink %p|sed s/...
0
votes
1answer
2k views

how to check process tree in hpux, just like ptree in Solaris?

how to check process tree in hpux, just like ptree in Solaris ?
1
vote
1answer
2k views

Unable to mount a DVD on HP-UX 11

I'm trying mount a DVD (or a CD) on HP-UX 11.31, like so: $ mount -F cdfs -o rr /dev/dsk/c0t2d0 /dvdrom /dev/dsk/c0t2d0: unrecognized file system I've tried each other devices listed in /dev/dsk/ ...