11-06-2008
run your install command
grep installp_cmd $HOME/smit.script | tail -1
and append "-Y" at the end of the command
8 More Discussions You Might Find Interesting
1. AIX
I'm a AIX novice - please bear with me..
I'm trying to install Java14_64_sdk on an Aix 5.2 server (P690)
I've copied the ff files to a separate directory:
Java14_64.ext
Java14_64.license
Java14_64.sdk
I then run smitty installp, point to the above directory and choose the Java14_64.sdk... (0 Replies)
Discussion started by: morgan_g
0 Replies
2. Forum Support Area for Unregistered Users & Account Problems
what is the smit.script file and does it ever need to be cleaned up or deleted (0 Replies)
Discussion started by: PamRainwater
0 Replies
3. Solaris
Hi
I am trying to debug an issue with an automated install I have set-up. So to start I just ran a simple
ok; boot cdrom - install
but when it came to the IP address field it would only take the following format 123.123.123.12 and would not let me enter the last digit
Anybody got any... (9 Replies)
Discussion started by: eeisken
9 Replies
4. AIX
Hi everyone,
I'm trying to keep my smit logs in other directory diferent than the user's home.
I know with -l and -s you can change this settings but I'm wondering if there is any environment value that I can set.
It can be done using alias too ...
Thanx. (3 Replies)
Discussion started by: mfons
3 Replies
5. HP-UX
Hi,
I have a scenario in which i execute and rsh command from Solaris to HPUX to execute a script in HPUX.
a) rsh <HPUX_SERVER_IP> /opt/launchMozilla
The script in HPUX has a command to launch the mozilla.
---BEGIN:launchMozilla-----
#!/usr/bin/ksh
HOME=/home/netmgr
export $HOME
... (4 Replies)
Discussion started by: suha228
4 Replies
6. Solaris
Hi all.
Solaris 9.
After I change the hostid, how can I change it back without rebooting the machine?
Thanks (2 Replies)
Discussion started by: jamie_collins
2 Replies
7. AIX
Hi All,
Have a few doubts on SMIT.
1. Is SMIT available in seperate packages if it is not installed by default with the AIX ?
2. how to check the smit version.. is there anything of that kind ?
3. what is the effect of smit.cat file ?
4. What are all the files present in /etc/objrepos/... (4 Replies)
Discussion started by: BalajiUthira
4 Replies
8. Shell Programming and Scripting
Hi All,
I have a XML file : System.xml in which I want to update the license tag with the new data from file licence.xml.
The content of files is in following format:
System.xml:
<?xml version="1.0"?>
<!DOCTYPE Configuration SYSTEM "SystemVariables.dtd">
<usageConfiguration... (2 Replies)
Discussion started by: Pramod_T
2 Replies
LEARN ABOUT DEBIAN
plan9-tail
TAIL(1) General Commands Manual TAIL(1)
NAME
tail - deliver the last part of a file
SYNOPSIS
tail [ +-number[lbc][rf] ] [ file ]
tail [ -fr ] [ -n nlines ] [ -c nbytes ] [ file ]
DESCRIPTION
Tail copies the named file to the standard output beginning at a designated place. If no file is named, the standard input is copied.
Copying begins at position +number measured from the beginning, or -number from the end of the input. Number is counted in lines, 1K
blocks or bytes, according to the appended flag or Default is -10l (ten ell).
The further flag causes tail to print lines from the end of the file in reverse order; (follow) causes tail, after printing to the end, to
keep watch and print further data as it appears.
The second syntax is that promulgated by POSIX, where the numbers rather than the options are signed.
EXAMPLES
tail file
Print the last 10 lines of a file.
tail +0f file
Print a file, and continue to watch data accumulate as it grows.
sed 10q file
Print the first 10 lines of a file.
SOURCE
/src/cmd/tail.c
BUGS
Tails relative to the end of the file are treasured up in a buffer, and thus are limited in length.
According to custom, option +number counts lines from 1, and counts blocks and bytes from 0.
Tail is ignorant of UTF.
TAIL(1)