Category Archives: centos7

CentOS 7 is a Linux distribution provided for free since July 2014, myrandomtips.com is dedicated to documenting Tips I have found.

Changing Your Shell Prompt

I’m still setting up my Linux systems at work, and one of the things that I like to change is the BASH shell’s prompt. I’ve found when I’m rolling back through shell commands to see the output of past commands, there’s not a good way to separate one command from another with the standard prompt. You end up… Read More »

linux directory size

This guide will teach you several commands I use frequently on how to show the linux directory size in Centos or Redhat and what folders are using the most space all listed in MB. Here is a list of common commands I use that you may find helpful. Search current Centos or RedHat Folder You search the current… Read More »

create ssh key

In Linux and most other Linux distributions you can use ssh key pairs to easily remote into other systems and run scripts remotely. This is extremely useful when managing multiple Linux hosts and if you wish to gather reports from one central source. What are SSH Key Pairs? SSH key pairs are two cryptographically secure keys that can be… Read More »