• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

rhel

Missing RHEL Prompt on Bash

February 20, 2023

Here’s how to restore or set the Bash prompt on RHEL systems.

echo "PS1='\u@\h \w]\$'" >> ~/.bashrc
source ~/.bashrc

echo "PS1='\u@\h \w]\$'" >> ~/.bashrc source ~/.bashrc

Filed Under: Linux Tagged With: bash, missing, prompt, restore, rhel, set

Yum localinstall

December 24, 2020

Here’s how to install a RPM locally. Download the RPM first.

wget https://domain.com/path/to/file/rpmfile1.rpm
wget https://domain.com/path/to/file/rpmfile2.rpm

wget https://domain.com/path/to/file/rpmfile1.rpm wget https://domain.com/path/to/file/rpmfile2.rpm

Then install RPM from a local file.

yum localinstall /path/to/rpmfile1.rpm
yum localinstall /path/to/rpmfile2.rpm

yum localinstall /path/to/rpmfile1.rpm yum localinstall /path/to/rpmfile2.rpm

Filed Under: Linux Tagged With: install, local, rhel, rpm, yum

  • Home
  • About
  • Archives

Copyright © 2023