02-18-2016
8 More Discussions You Might Find Interesting
1. Red Hat
Hi, I'm new to the concept of paying for linux, as such I'm not sure what packages I can compile/install while maintaining system integrity in RHEL 5.x.x?
Can someone inform me if installing programs, for example 'irssi', that are not available from RHN will adversely affect the system/package... (1 Reply)
Discussion started by: biorhythm
1 Replies
2. Red Hat
Hi,
Once we get a subscription (activation key), how to register a RHEL machine with RHN?
Which port to be open on my RHEL machine? How exactly it will connect to Red Hat Network?
Please give me some steps.
Regards,
Uday (2 Replies)
Discussion started by: uday123
2 Replies
3. Red Hat
Hi,
I'd like to know more about RHN and their RHN PROXY.
- If I will buy PROXY, do I need to get licenses for all my RHELs to have them updated? What are benefits of proxy?
- If I will buy (doubt it) Satellite, will I be able to connect all my boxes to Satellite and have them upgraded... (5 Replies)
Discussion started by: columb
5 Replies
4. UNIX for Advanced & Expert Users
Friends,
Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ?
For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies
5. Ubuntu
Hi
I would like to ask in ubuntu or linux on how to list all my package or software the i installed via source code( compile installed in dir default is /usr/local) just like i solaris in which if you installed a package in ur choosing default root installation dir you can just issue a command... (2 Replies)
Discussion started by: jao_madn
2 Replies
6. Shell Programming and Scripting
Hi,
I have Redhat 5.6
I would like to have the script that will don a NONE interactive mode to register Linux Redhat to Satellite server without any interaction from user.
i found command but i never get to working:
#rhnreg_ks
i want also to at the same time upload all rpm... (0 Replies)
Discussion started by: lamoul
0 Replies
7. AIX
Hi,
How can I list running services, corresponding package name and status on the AIX host?
On Linux (Centos), I use the below code snippet:-
for i in `chkconfig --list | awk '{ print $1}'`; do
status=`/sbin/service $i status`
packagename=`rpm -qf /etc/init.d/$i`
done
Is there... (2 Replies)
Discussion started by: Vipin Batra
2 Replies
8. HP-UX
Hi,
I am trying to list down list of running services, corresponding package name and status on HP-UX box. The output will be a CSV in a fashion:- Service Name, Package Name, Status.
While working on Linux centos, I used chkconfig to do the same. Below was the snippet:-
for i in `chkconfig... (3 Replies)
Discussion started by: Happy83
3 Replies
LEARN ABOUT CENTOS
yum-aliases
yum-aliases(1) yum-aliases(1)
NAME
yum aliases plugin
SYNOPSIS
yum [options] alias
DESCRIPTION
This plugin changes other commands in yum, much like the alias command in bash. There are a couple of notable differences from shell style
aliases though. The alias command has three forms:
* alias
* alias command
* alias command result
The first form lists all current aliases with their final result, the second form looks up a "command" and shows it's final result or an
error message. The last form creates a new alias.
Explanation of alias to final result conversion
When you type an aliased command, like "yum --disableexcludes UPT lsu" using the default aliases, the yum-aliases plugin first takes the
first "command", by skipping over any options, and then looks up the result (in this case "UPT" is converted to "--enablerepo=updates-test-
ing"). If there is a match, then it will replace the aliased "command" in the argument list and try again (again skipping over any
options). By convention, in the default aliases list, alias "commands" that are in all CAPS only add options so you can join together a
chain of them before any real command or aliased command.
There are two things that can alter the above, if you have the "recursive" configuration option set to off then alias processing will stop
after the first alias to command substitution. Also, like in shell aliases, if the result starts with then alias processing will stop.
EXAMPLES
To create a new alias command called "rm" which does the same thing as the command "remove" use:
yum alias rm remove
To always add the --skip-broken --disableexcludes=all --obsoletes options to the update command (but leaving the upgrade option alone), you
could use:
yum alias update update --skip-broken --disableexcludes=all --obsoletes
To override the default "up" alias to use the above update command, and never ask for confirmation, you could use:
yum alias up update -y
AUTHORS
James Antill <james@and.org>
SEE ALSO
yum-utils(1) yum(1)
James Antill 31 March 2008 yum-aliases(1)