9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
#! /bin/bash
# ask what the user would like to do
CMD=$CMD
MBA=$MB
RS=$RS
CT=$CT
echo
echo -n "What would you like to do??
REMEMBER WHEN PROGRAMMING ICP's TO SELECT CORRECT COMMAND ACCORDING TO
NECCESSARY TYPE CODE!
Please enter a command
ct = program ctek
... (5 Replies)
Discussion started by: tdalyman
5 Replies
2. Shell Programming and Scripting
Any ideas how to clear this error as it seems I dont understand if,do,while and els commands
#!/bin/ksh
set -x
print "This script creates test messages"
print "Please enter test case name"
read testcasename
echo $testcasename
skipfield=Y
while
print "Do you want to skip this field... (4 Replies)
Discussion started by: andrew.p.mcderm
4 Replies
3. Shell Programming and Scripting
Hello, I have the following piece of code that tries to retrieve the result of a .sh:
. $HOME/prueba/Scripts/Recogida/recogida_sedra.sh
resultado=$?
echo "el resultado es : $resultado"
if ; then
echo "Se va a preprocesar los archivos"
In the code of recogida.sh I have the... (8 Replies)
Discussion started by: danietepa
8 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I am having problems with using less on
Linux version 2.6.18-92.1.17.el5 (brewbuilder@hs20-bc1-7.build.redhat.com) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)). I am using csh but have the same problems on bash.
If I pipe something to less it works perfectly i.e. cat file | less... (9 Replies)
Discussion started by: z1dane
9 Replies
5. UNIX for Advanced & Expert Users
Hi everybody,
I'm new using unix/linux and I have a sdlt tape wich has 2 segy files. I realise the tape isn't tar so when I use dd if=/dev/rmt/*bn of=filename bs=100000 to get the files after 10 Gb for file 1 an error message appear I/O error and I'm sure that I didn't get completly the first... (5 Replies)
Discussion started by: Titas
5 Replies
6. UNIX for Advanced & Expert Users
Hi,
I,ve a Unixware 7.1.3 working correctly for two years ago, since a several weeks I've a problem with the command last . The information that this command return is :
For example :
1.- The user root , time login : 12:15 h, time logoff 12:15 h (the real time is 14:00). Connected time is... (3 Replies)
Discussion started by: By_Jam
3 Replies
7. HP-UX
Greetings
I looking for the drivers for an sdlt tape drive for hp-ux 11.0. I think the drivers i need are stape and tape2 does anyone know where i can get them
Thanks
Alan (2 Replies)
Discussion started by: Flipper_Al
2 Replies
8. Solaris
Hii alll
Thanks for the support, iam facing a problem regarding tanberg sdlt . iam trying to connect tanberg sdlt 160 to sun fire 880 r .As SUN FIRE DOSENT HAVE SCSI CONTROLLER IAM CONNECTING A ULTRA 2 SCSI CONTROLLER IN PCI SLOT AND FROM THERE IAM CONNECTING THE TANBERG SDLT 160.
MY FIRST... (1 Reply)
Discussion started by: solaris8in
1 Replies
9. UNIX for Advanced & Expert Users
I'm trying to compile and install both most recent version of 'make' and the
most recent version of 'openssh' on my Sparc20.
I've run into the following problems... and I don't know what they mean. Can
someone please help me resolve these issues?
I'm using the 'make' version that was... (5 Replies)
Discussion started by: xyyz
5 Replies
updadmin(8) System Manager's Manual updadmin(8)
NAME
updadmin - Invokes the Update Installation Cleanup utility to remove or archive backup files created by an Update Installation
SYNOPSIS
/usr/sbin/updadmin
DESCRIPTION
The updadmin command invokes the Update Administration Cleanup utility, which removes or archives the backup files that were created by
an Update Installation process. There are no flags or options associated with this command. Running this utility is an optional step after
performing an Update Installation, but it is recommended if you want to recover disk space being consumed by these backup files.
The backup files that are created by an Update Installation have these extensions: *.PreMRG - A file saved to a extension is a backup copy
of a customized protected system file. System files in this category are system files that are expected to be customized by users, for
example, /etc/passwd and /etc/hosts. If the automatic merge process fails to merge the new version of the file with your customizations to
the file, your customizations must be merged manually into the new version of the file when the Update Installation is complete. The
*.PreMRG version is a copy of the file as it existed before the Update Installation and only will be present if the automatic merge fails.
*.PreUPD - A file saved to a extension is a backup copy of a customized unprotected system file as it existed before the Update Installa-
tion. System files in this category are system files that are not expected to be customized by users, for example, /usr/bin/X11/netscape.
If an unprotected system file is altered in any way, customizations must be merged manually into the new version of the system file when
the Update Installation is complete.
When you are finished merging your customizations into the new version of the file, these backup files no longer are needed, and they can
be removed or archived.
The Update Installation Cleanup utility gives you the option to archive or remove all backup files, or to select only the files you want.
You are prompted to enter an archive destination if you decide to archive the files.
The Update Installation Cleanup utility uses the tar(1) command to create the archive, and the archive destination can be any archive des-
tination supported by the tar command, including tape devices. The default archive location is the backup.tar file in the /var/adm/update/
directory. You can use any file name you want, but if you want the file to have a extension, you must enter it as part of the file name. If
the file name exists, it is overwritten. You have the option to compress the archive file with the gzip utility; if you do, a extension is
appended automatically.
Unless you compress the archive file, the space savings realized by archiving to a tar file on disk will be only in moving the files from
the / (root), /usr, or /var file systems to the file system containing the archive. To save disk space, archive the files to tape.
To archive to a tape device in tar format, enter archive destinations similar to the following: /dev/tape/tape0c - archives to a default
density rewind tape (with compression) /dev/ntape/tape0_d0 - archives to a nonrewind tape device 0. The _d0 suffix specifies the density.
If you are archiving to a nonrewind tape device, it is recommended to use a brand new or erasable tape.
On systems capable of graphical display, the updadmin command invokes a graphical user interface to the Update Installation Cleanup util-
ity. On systems that are not capable of graphical displays, a text-based, menu-driven user interface is invoked. The Update Installation
Cleanup utility is also available as a task from the SysMan Menu.
To view the online help for the Update Installation Cleanup utility without running the utility, use the following command: #
/usr/dt/bin/dthelpview -h /usr/dt/appconfig/help/C/updadmin.sdl
RESTRICTIONS
You must have root privileges to use the Update Installation Cleanup utility.
If your system has not been updated to the next version of the operating system by the Update Installation process, the Update Installation
Cleanup utility cannot be invoked.
FILES
Update Administration Cleanup utility Contains the online help for the Update Administration Cleanup utility. Default location of the ar-
chive file
SEE ALSO
Commands: tar(1), gzip(1), sysman(8), installupdate(8)
Installation Guide
updadmin(8)