Skip to content

Instantly share code, notes, and snippets.

View andrewschott's full-sized avatar

Andrew Schott andrewschott

View GitHub Profile
@tuxfight3r
tuxfight3r / 01.bash_shortcuts_v2.md
Last active November 18, 2024 14:16
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line
@dcode
dcode / gist:5642af68166ac8bb471a
Created August 10, 2014 18:53
# Convert RHEL7 to CentOS7
# Convert RHEL7 to CentOS7
mkdir TMP
yum remove rhnlib abrt-plugin-bugzilla redhat-release-notes*
rpm -e --nodeps redhat-release* redhat-indexhtml
rm -rf /usr/share/doc/redhat-release*
cd TMP
curl -O http://mirror.centos.org/centos/7/os/x86_64/Packages/centos-release-7-0.1406.el7.centos.2.3.x86_64.rpm -O http://mirror.centos.org/centos/7/os/x86_64/Packages/centos-indexhtml-7-9.el7.centos.noarch.rpm -O http://mirror.centos.org/centos/7/os/x86_64/Packages/yum-3.4.3-118.el7.centos.noarch.rpm -O http://mirror.centos.org/centos/7/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.31-24.el7.noarch.rpm