HP-UX (Hewlett-Packard UniX)

learn more… | top users | synonyms

0
votes
1answer
10 views

Agilent/HP 3070 Series III - HP-UX 10.20

I am attempting to solve a problem where I am unable to compile a file which is attempting to generate a file within the swap larger then whats allowed or free. I assume this to be the case because ...
0
votes
0answers
27 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
57 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
0answers
37 views

Latest version of Date in HP-UX

I am currently running HP-UX B.11.11 U 9000/800 2069695034 unlimited-user license with bash version GNU bash, version 3.00.14(1)-release (hppa2.0w-hp-hpux11.11) Copyright (C) 2004 Free Software ...
0
votes
0answers
39 views

How To Rotate A File in HP-UX

I need to rotate a file in HP-UX of a application. I´ve tried to do a task in the cron with a script (with sed and ed commands) but it was a successfully option (the application continued writing the ...
0
votes
2answers
309 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 ...
0
votes
2answers
674 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 it will get installed ...
2
votes
2answers
117 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
357 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
311 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 ...
7
votes
4answers
3k 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: ...
-1
votes
2answers
803 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
694 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
587 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 ...
0
votes
1answer
320 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
3k 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
696 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 ...
0
votes
1answer
1k 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
1k 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/ ...