05-13-2002
Try this
link for info on all different UNIX - it has links to the on-line docs you need at the bottom.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Im trying to write something that will report if a filesytem is over 80% but the problem is the output reports on a dir that is a 9%.
any ideas?
this is what I have
*************************************************
if
then
param=90
else
param=$1
fi
df -kl | grep... (1 Reply)
Discussion started by: collie
1 Replies
2. UNIX for Dummies Questions & Answers
hi,
i have written a small script in which i use exec command and redriect output to a file..after sometime i want to switch it off and redirect the output to screen..how to do it
exec >> /tmp/out.txt 2>&1
//set of statements
then i want to switch of these exec as the rest should get... (5 Replies)
Discussion started by: mkan
5 Replies
3. Shell Programming and Scripting
how to use sleep comand for milliseconds? (3 Replies)
Discussion started by: brkavi_in
3 Replies
4. Shell Programming and Scripting
Hi everyone , i am new to shell scripting and am having some problem to test if this line has been executed well and display a pass message on the screen or fail if not
sqlplus XXTEST/$2 <<END > $XXTEST_TOP/log/$0.log
@$XXTEST_TOP/admin/sql/XXTEST_SPE1_XX_QUOTE_DETAILS_TBL.sql XXTEST$2... (2 Replies)
Discussion started by: Lutchumaya
2 Replies
5. Solaris
I need to know the available space in my unix. when making a df -k it shows me the following thing:
/dev/vx/dsk/emc2/vol06
136764867 121542767 1545614 99% /emc06
would need them to explain to me well the command. since under the column avail the resulting value is... (2 Replies)
Discussion started by: roviedo
2 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I have two questions for sorting based on date.
Sample input:
2009/07/23 11:48:44|alpha
2009/07/23 11:48:44|gamme
2009/07/23 11:48:44|beta
2009/07/23 11:48:44|test
2009/07/23 11:48:44|data
2009/07/23 11:48:44|hello
2009/07/23 11:48:44|cat
Output:
2009/07/23... (3 Replies)
Discussion started by: quintet
3 Replies
7. Solaris
Hello peolple i have to check a tape with de dd comand and redirect the exit
dd if=/dev/rmt/0cn ibs=1024k of=/dev/null
i need that the exit from that commando go to a log
if a do this dd if=/dev/rmt/0cn ibs=1024k of=/dev/null > x.log
don`t send me nothing to the log only in the screen. I need... (1 Reply)
Discussion started by: enkei17
1 Replies
8. Red Hat
hi rhel6 gurus
i have set up a rhel6.2 db server.
i have data base admins needing to connect to this rhel6 derver via reflectionx. reflectionx is set correctly but when attempting to test connectivity by 'xclock' the following message pops up : -bash:xclock; command not found.
anyone out... (1 Reply)
Discussion started by: jsynodin
1 Replies
9. Shell Programming and Scripting
Team,
I need unix command to grep directory part from the string
for example I have a texts something like
/apps/opt/data/current/spool/test.dbf
/apps/opt/archive/../../test.dbf
I need only directory part from that string
like my out put will
/apps/opt/data/current/spool/... (1 Reply)
Discussion started by: asappidi
1 Replies
10. Shell Programming and Scripting
Oracle Linux5.6 64 bit
Need some help with use of ‘select' command.
Given the following:
PS3='Select recovery SCN: '
select rcvscn in ` sqlplus -s rman/fubar@rmcat <<EOF1
select db_name,
CHECKPOINT_CHANGE# SCN,
to_char(CHECKPOINT_TIME,'dd-Mon-yyyy... (2 Replies)
Discussion started by: edstevens
2 Replies
LEARN ABOUT DEBIAN
rmadison
RMADISON(1) RMADISON(1)
NAME
rmadison -- Remotely query the Debian archive database about packages
SYNOPSIS
rmadison [OPTIONS] PACKAGE ...
DESCRIPTION
dak ls queries the Debian archive database ("projectb") and displays which package version is registered per architecture/component/suite.
The CGI at http://qa.debian.org/madison.php provides that service without requiring SSH access to ftp-master.debian.org or the mirror on
ries.debian.org. This script, rmadison, is a command line frontend to this CGI.
OPTIONS
-a, --architecture=ARCH
only show info for ARCH(s)
-b, --binary-type=TYPE
only show info for binary TYPE
-c, --component=COMPONENT
only show info for COMPONENT(s)
-g, --greaterorequal
show buildd 'dep-wait pkg >= {highest version}' info
-G, --greaterthan
show buildd 'dep-wait pkg >> {highest version}' info
-h, --help
show this help and exit
-s, --suite=SUITE
only show info for this suite
-S, --source-and-binary
show info for the binary children of source pkgs
-t, --time
show projectb snapshot and reload time (not supported by all archives)
-u, --url=URL[,URL ...]
use URL for the query. Supported shorthands are
debian or qa http://qa.debian.org/madison.php
bpo http://backports.debian.org/cgi-bin/madison.cgi
debug http://debug.debian.net/cgi-bin/madison.cgi
ubuntu http://people.canonical.com/~ubuntu-archive/madison.cgi
udd http://qa.debian.org/cgi-bin/madison.cgi
See the RMADISON_URL_MAP_ variable below for a method to add new shorthands.
--version
show version and exit
--no-conf, --noconf
don't read the devscripts configuration files
ARCH, COMPONENT and SUITE can be comma (or space) separated lists, e.g. --architecture=m68k,i386
CONFIGURATION VARIABLES
The two configuration files /etc/devscripts.conf and ~/.devscripts are sourced by a shell in that order to set configuration variables.
Command line options can be used to override configuration file settings. Environment variable settings are ignored for this purpose. The
currently recognised variables are:
RMADISON_URL_MAP_SHORTHAND=URL
Add an entry to the set of shorthand URLs listed above. SHORTHAND should be replaced with the shorthand form to be used to refer to
URL.
Multiple shorthand entries may be specified by using multiple RMADISON_URL_MAP_* variables.
RMADISON_DEFAULT_URL=URL
Set the default URL to use unless overridden by a command line option.
RMADISON_ARCHITECTURE=ARCH
Set the default architecture to use unless overridden by a command line option. To run an unrestricted query when
RMADISON_ARCHITECTURE is set, use --architecture='*'.
NOTES
dak ls also supports -r, --regex to treat PACKAGE as a regex. Since that can easily DoS the database ("-r ."), this option is not supported
by the CGI and rmadison.
dak ls was formerly called madison.
The protocol used by rmadison is fairly simple, the CGI accepts query the parameters a, b, c, g, G, s, S, t, and package. The parameter
text is passed to enable plain-text output.
SEE ALSO
madison-lite(1), dak(1).
AUTHOR
rmadison and http://qa.debian.org/madison.php were written by Christoph Berg <myon@debian.org>. dak was written by James Troup
<james@nocrew.org>, Anthony Towns <ajt@debian.org>, and others.
Debian Utilities 2013-12-23 RMADISON(1)