Sponsored Content
Top Forums Shell Programming and Scripting Error in executing ksh from Windows Post 302289252 by AnneAnne on Thursday 19th of February 2009 06:05:39 AM
Old 02-19-2009
I have now installed Cygwin. But I get Command not found error for Commands like date and mail... Is there any problem with the Installation???
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Executing ksh script from cgi

Hi all, I'm developing a system which requires me to run a ksh script from within a cgi script. What sort of syntax will I need to do this, I'm sure it's simple but can't find out how anywhere! Thanks. (1 Reply)
Discussion started by: hodges
1 Replies

2. Shell Programming and Scripting

executing variables in ksh scripts?

In a ksh script on an AIX box running a jillion oracle database processes, I'm setting a variable to one of two possible arguments, depending on cmd line arguments. FINDIT="ps -ef | grep oracle | grep DBexport | grep rshrc" -or- FINDIT="ps -ef | grep oracle | grep prod | grep runback" I... (3 Replies)
Discussion started by: zedmelon
3 Replies

3. Shell Programming and Scripting

Full path of executing script in ksh?

Hello all, Here's the scenario: I've got a script, let's call it script1. This script invokes another script, which we'll call set_env, via the dot "." command, like so: File: #!/bin/ksh # region_id=DEV . set_env ${region_id} and so on. Script set_env sets up an... (2 Replies)
Discussion started by: BriceBu
2 Replies

4. UNIX for Dummies Questions & Answers

Specified Ksh but executing in bash

Hi, I am a new bie to unix shell programming. I have specified ksh as the first line in my script but when executed it complains. *********** Script=test******************** #!/usr/bin/ksh echo hello print -p 123 ************************************ ++++++++ Execution... (7 Replies)
Discussion started by: akhilnagpal
7 Replies

5. Shell Programming and Scripting

Executing multiple kshs from parent ksh

Hi, I have to migrate files from one server to another .For this I am using a mapping file and ksh .The mapping file contains the source and destination directories of the files to be migrated.Each line in the mapping file corresponds to one file that is to be migrated.The ksh upon execution... (3 Replies)
Discussion started by: Kishore_1
3 Replies

6. UNIX for Dummies Questions & Answers

Difference Between executing llike ./myscript.ksh and . ./myscript.ksh

Hi , What is the diffence between executing the script like ./myscript.ksh . ./myscript.ksh I have found 2 difference but could not find the reason 1. If i export a variable in myscript.ksh and execute it like . ./myscript.ksh the i can access the other scripts that are present in... (5 Replies)
Discussion started by: max_hammer
5 Replies

7. UNIX for Dummies Questions & Answers

problem in Executing script in ksh

Hi, I am in ksh. below mentioned 3 commands I executed at command prompt & got the expected results. csh source csh_infa <special command> Now I have to do this in the script in ksh. I entered it as it is. #!/bin/ksh csh source csh_infa <special command> Now after... (1 Reply)
Discussion started by: girish_kanak
1 Replies

8. Shell Programming and Scripting

AWK Program Not Executing On Linux with KSH

Overview: I have an AWK program that parses thru a database backup server log file and outputs ths following parameters SRNO DATE : TIME SIZE IN(KB) DATABASE NAME DUMP TYPE 1 May 16 2012: 13:30:00 6874 TestDB database 2 May 16 2012: 13:30:44 11462 master database Problem: This program has... (5 Replies)
Discussion started by: JolietJake
5 Replies

9. Shell Programming and Scripting

executing ksh script

I am trying to call a ksh script from another ksh script. in the called script , i am doing sum calculation(used typeset etc) suppose a.ksh is the calling script and b.ksh is the called script . . b.ksh (used this inside a.ksh) this execution gives some error like bad number. but when i... (1 Reply)
Discussion started by: urfrnddpk
1 Replies

10. Shell Programming and Scripting

Two for loops in ksh script only one not executing

Hello, I have two "for loops" in my script and the second one is not executing the way i want. Script: #!/bin/ksh IFS=' ' printf "Enter Account name: " read A B C D E F G H I J K L M N O for i in ${A} ${B} ${C} ${D} ${E} ${F} ${G} ${H} ${I} ${J} ${K} ${L} ${M} ${N} ${O};... (3 Replies)
Discussion started by: seekryts15
3 Replies
installupdate(8)					      System Manager's Manual						  installupdate(8)

NAME
installupdate - Invokes the Update Installation procedure SYNOPSIS
/sbin/installupdate [-nogui] [-u] {ris_server:} /sbin/installupdate [-nogui] [-u] {[cdrom_device], [cdrom_mount_point]} OPTIONS
On systems with graphics capability, this option invokes the text-based, menu driven user interface rather than the graphical user inter- face. Invokes an unattended Update Installation. Unattended means that barring any problems during the Update Installation, there is no user interaction required. This option builds a kernel with all kernel components, automatically removes blocking software, and does not provide the option to archive obsolete files before the Update Installation process deletes them. DESCRIPTION
The installupdate command invokes the Update Installation. An Update Installation updates the base operating system software to the next released version of the operating system. The Update Installation preserves user files, data files, print and network configurations, user accounts, and any other system setup and customization you may have done. An Update Installation does not update layered products, but you can still perform an Update Installation if your system is installed with layered products. Some layered products operate properly with the new version of the operating system and others must be reinstalled with a version that is compatible with the new version of the operating system. You are notified accordingly. You can delete these products dur- ing the Update Installation process and then reinstall them on the updated system. There are two distribution methods for an Update Installation: From the operating system CD-ROM (from a mount point or CD-ROM device) Over a network connection to a Remote Installation Services (RIS) server that is serving the most recent version of the operating system The Update Installation is performed from single-user mode. You must be superuser or the user root to bring a system down to single-user mode. Do not boot to single-user mode to perform an Update Installation. Whether you are using CD-ROM or RIS, the Update Installation process is started by entering the /sbin/installupdate command from the com- mand line. The functions performed during the Update Installation process include: Detecting and deleting obsolete system files, files that were pre- viously shipped with the older version of the operating system but are not in the new release. You have the option to archive these files to a file name of your choice before they are removed from the system. Checking for file types that you have changed since the last ver- sion of the operating system. Certain file type conflicts prevent the Update Installation from continuing, and you must resolve these con- flicts before you can restart the Update. This feature preserves the integrity of the new operating system about to be installed. Checking for adequate free disk space to ensure the Update Installation has enough room for temporary processing and there is enough disk space for the new software subsets that were introduced in the new version of the operating system. Saving unprotected customized files to files with extensions to preserve customizations that were made to unprotected system files. These files are not expected to be modified and are not merge protected from the Update Installation, therefore they are saved with the extension. Performing merges of protected system files. These are files that are shipped as part of the operating system that are expected to be customized (for example, the /etc/hosts file). These files are merge protected, which means that user customizations are preserved and newly introduced functionality is merged into the already customized file. Using the setld command to load new software subsets. Subsets previously installed are updated as well as any new mandatory subsets that were introduced in the new version of the operating system. Base operating system subsets and Worldwide Language Support (WLS) subsets are updated. Building a custom kernel and rebooting the system with that kernel. Executing user-supplied update_preinstall and update_postload files, if they exist, to perform customizations on the updated system. An Update Installation completes in 45 to 120 minutes. Actual time varies depending on your processor type, the number of software subsets that have to be updated, network traffic, and the speed of the CD-ROM device. You need to respond to prompts only during the initial analy- sis phase of the Update Installation Postinstallation tasks may include manually merging file customizations into those files that were not done automatically and rebuilding the kernel with layered product kernel components. It is recommended that you review the Update Installation log files located in the /var/adm/smlogs directory when the Update Installation is complete. FILES
Contains a log of the output that was displayed to the screen during the Update Installation. Contains a list of the files that were saved to a extension. Contains a list of the files that were saved to a extension. Contains a list of the protected system files that failed to automatically merge during the Update Installation. SEE ALSO
Commands: doconfig(8), fitset(8), ris(8), setld(8), updadmin(8) Installation Guide Installation Guide -- Advanced Topics Update Installation Quick Reference Card Sharing Software on a Local Area Network installupdate(8)
All times are GMT -4. The time now is 07:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy