Sponsored Content
Full Discussion: C Brain Teaser
Top Forums Programming C Brain Teaser Post 302116937 by jim mcnamara on Wednesday 9th of May 2007 10:34:03 AM
Old 05-09-2007
Does not work on HPUX 11i, as expected.
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Brain Bench Certification

Hi, Can anybody provide me Pointers to Practice tests or any Material to prepare for Brainbench certification in Unix Shell Scripting? Also how good is this Certification for UNIX programmers. Is it worth it? I'm planning to take this certification in 2 weeks. Kindly let me know all the pros... (0 Replies)
Discussion started by: pavan_emani
0 Replies

2. Shell Programming and Scripting

This might be a programming teaser!

Hi gurus, I have done my best to be as precisely as possible with this. Besides giving the format of file a and file b and the result file I have also given the algorithm as I have figured out. I will try to do this and I hope that some of you could help me to solve this or better yet... (1 Reply)
Discussion started by: ljankok
1 Replies

3. Programming

Brain Teaser Extended

Hi Gurus, To the Brain Teaser, if I add another condition, say the executable should not be altered, how the program should be altered? (no perl please, purely C). I forgot to mention this condition my staff had mentioned. ( forgot then and got now :D ) The program executed the first time... (4 Replies)
Discussion started by: vrk1219
4 Replies

4. What is on Your Mind?

The Human Brain project

A global group of scientists are spending the next ten years and a billion dollars to try and develop a computer simulation of the brain: https://www.humanbrainproject.eu/ I always found it fascinating that the brain can understand itself. This almost sounds like in a few years the computer... (0 Replies)
Discussion started by: figaro
0 Replies

5. Shell Programming and Scripting

sed regexp teaser

G'day, Here's a teaser for a sed guru, which I surely am not one, as even my basic sed skills are rusted from years of not practising ... lol Ok ... we have a string of digits such as: 632413741610252847552619172459483022433027602515212950543016701812771409213148672112 we want it split... (9 Replies)
Discussion started by: naderra
9 Replies

6. What is on Your Mind?

Cyber Dystopia Teaser (720 HD)

Working on a new cybersecurity, dystopian world series and made a short 2 min teaser today. Cyber Dystopia (720 HD) https://www.youtube.com/watch?v=g9Ca07J_YC8 If anyone has any ideas for the story, please write out some story lines in the comments and join the production team! (1 Reply)
Discussion started by: Neo
1 Replies
update-ux(1M)															     update-ux(1M)

NAME
update-ux - updates the HP-UX operating system from new HP-UX media SYNOPSIS
option=value] software_file] [[sw_selections]...] DESCRIPTION
The command updates the HP-UX operating system to a newer version. Use when updating the operating system (OS), and installing or changing operating environments (OEs). works only with source depots con- taining the OS and OEs such as HP-UX 11i OE DVDs. When using other non-OE media as the source (such as AR), use swinstall(1M) instead. will always attempt to update the OS. In order to update a system successfully, an Operating Environment must exist in the source. A bun- dle name does not need to be specified on the command line. By default, update-ux will install the software from the source that matches and updates the software that is installed on the system. However, if a system does not contain a previous version of an OE, one must be specified on the command line or in the interactive Terminal User Interface (TUI). If the current OS is 11.11 or 11.22 , first install onto the existing system. For example: source_location where source_location is the path to a depot containing the 11i Update-UX product. Options supports these options: Perform the OE update in the interactive terminal user interface (TUI). For more information, see the swm(1M) manpage. Previews an update task by running the session through the analysis phase only. Turns on verbose output to stdout. (The logfile is not affected by this option). Specify the source location. Possible locations are a local directory, a mounted DVD containing an SD depot, or a remote machine and depot combination. If source_location is a DVD, expects to install from one DVD. If source_location is a remote machine and depot combination, the remote machine should be specified first, followed by the absolute path to the remote depot, separated by a colon with no spaces; for example: Print the usage statement. Set swm(1M) options. Read the list of sw_selections from software_file instead of (or in addition to) the command line. sw_selections Software selections support the same syntax as the SD commands plus the syntax outlined in below (see swin- stall(1M) for details on SD's supported syntax). Software Selections In addition to the SD syntax, the following syntax is supported for pattern-matching-expression Where version can be: Where op can be: or The (equals) relational operator lets you specify selections with the shell wildcard and pattern-matching-expressions: The syntax causes that selection to be deselected even if it was listed on the command line as part of other selections. RETURN VALUE
The command returns a value when it is not successful: Error during execution; update aborted. DIAGNOSTICS
Standard Output: An session writes messages for significant events, including: o Begin-session and end-session messages. o Major task messages. Logging: Errors are recorded in: and EXAMPLES
To update from the OE depot on an HP-UX 11i OE DVD mounted at enter: The example above updates the HP-UX 11i Operating Environment (OE). To install all bundles and products in sw_server that match and update software that is installed on the system: Which is equivalent to: The syntax selects all software in the source that matches what is already installed on the system. To select only software in HPUX11i-OE that matches the software on the target system: The syntax selects only software in the specified bundle that matches what is already installed on the system. To update to HPUX11i-OE and include the HP-UX Bastille Security Configuration bundle: To interactively select software for an update, use the option: To update the operating environment (OE), explicitly to the MCOE: To update all the software that is part of the OE except Mozilla: To select all of HPUX11i-OE except for Perl, which is part of HPUX11i-OE, you could specify the following: The only exception to this is if the selection is in the Operating Environment's required contents list, in which case it cannot be deselected without deselecting all of the Operating Environment. Note that deselections have precedence over selections. Thus the order is not important. The example above would be the same as the following command: AUTHOR
was developed by HP. FILES
The command. The log file. The log file. SEE ALSO
swm(1M), swinstall(1M). These manuals are available on the HP-UX 11i Instant Information CD and at o o o o update-ux(1M)
All times are GMT -4. The time now is 01:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy