I suppose I could use lsb_release -a as a check...but what would be the one line command to check if Red Hat to run an instruction and if not Red Hat and it's Ubuntu to run a different instruction? That's the part I'm having trouble with now. Here is the code I've tried using the python bit I found:
Thank you.
Last edited by greavette; 10-28-2019 at 10:27 AM..
i would like to make a shell script (red hat 9 cmd line only)
to telnet to my local isp's webmail server on port 25 and send it commands
such as helo :) help would be much appreciated, and i found no posts similar that answered my question... the closest i've gotten to an answer from about 8... (3 Replies)
Hello,
I wanted to simple command to encrypt a file. Using google I got a command "crypt". I could test it very well on Sun solaris. My red hat system says "command not found".Can you please tell me if I can find that package on the cd!!! (2 Replies)
Hi
I need to fetch a file using wget command.
In read Hat I have the file I need without any problem while in Ubuntu ( installed on a virtual image ) it doesn't work.
More precisely my wget need to fetch a page from a web site with secure authentication so teh syntax I am using is
wget... (7 Replies)
Gurus,
I want log in locally to my Lucid (10.04) workstation and have my code saved over the network on my samba account
At work, all developers have samba user ids and when we were running Red Hat, we went thru the following procedure to get setup.
* open a shell session to NFS server... (2 Replies)
I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing
set
you can also use them "on the command line when running a script..." and it lists this in a small table:
set -o option Command Line... (5 Replies)
Hi,
I have a unix script, and I have problem, where I work out the variable I need. But it will not excute the variable from the script ?
See my script below for details :
#!/bin/sh
ENVGRP=`hostname |cut -c1-3 | tr '' ''`
ENVINST=${ENVGRP}`hostname -i |cut -d\. -f 4`
echo... (4 Replies)
Have problem to send email from command line according to the posts like this one:
To have the ability to send email from the command line, you will need to install the mailutils and postfix packages with the following commands.
apt-get install mailutils
apt-get install postfix
Now... (1 Reply)
Are basic scripts in awk or bash or perl or other shell scripting languages the same in RHEL red hat as ubuntu? (1 Reply)
Discussion started by: cmccabe
1 Replies
LEARN ABOUT CENTOS
subscription-manager-gui
subscription-manager-gui(8) Subscription Manager subscription-manager-gui(8)NAME
subscription-manager-gui - Launches the UI client of the Subscription Manager.
SYNOPSIS
subscription-manager-gui [--register]
DESCRIPTION
subscription-manager-gui opens the local client tool to manage subscriptions and installed products on Red Hat Enterprise Linux systems.
The same tasks that can be performed by invoking subscription-manager can be performed in the GUI, including registering systems with a
subscription management service, applying and removing subscriptions, and viewing the subscription status of installed products.
The Subscription Manager UI can also be opened by selecting the Red Hat Subscription Manager item from the Applications > System Tools menu
in RHEL 5.x or the System > Administration menu in RHEL 6.x.
OPTIONS --register
If a system has not yet been registered, then the GUI registration page can be opened immediately, as the Subscription Manager GUI
comes up. This is only relevant for unregistered systems; if this is used after a system is registered, the option is ignored.
REFERENCES
For procedures and tasks that can be performed in the Subscription Manager UI, check the Gnome help files (by pressing <F1>) or refer to
the RHEL Subscription Management Guide at <https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Subscription_Management/1.0/html/Sub-
scription_Management_Guide/index.html>.
ASSOCIATED FILES
* /usr/sbin/subscription-manager-gui
* /usr/sbin/subscription-manager
* /etc/rhsm/rhsm.conf
BUGS
This client is part of Red Hat Subscription Manager. To file bugs against this client, go to https://bugzilla.redhat.com, and select Red
Hat > Red Hat Enterprise Linux > subscription-manager.
AUTHORS
Deon Lackey, <dlackey@redhat.com>.
COPYRIGHT
Copyright (c) 2010-2012 Red Hat, Inc. This is licensed under the GNU General Public License, version 2 (GPLv2). A copy of this license is
available at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
version 1.2 December 18, 2012 subscription-manager-gui(8)