Category Archives: linux

Linux is a family of free and open-source software operating systems based on the Linux kernelan operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short). Myrandomtips.com is dedicated to documenting Tips I have found.

RHEL 6 memory usage check: A Manual Tool Inspired by ‘Linux Ate My RAM

Introduction If you’ve ever wondered why your Linux system seems to be gobbling up RAM—or if you’ve stumbled across the classic “Linux Ate My RAM” page at https://www.myrandomtips.com/linux/linux-ate-my-ram/—you’re not alone. That site brilliantly explains how Linux memory management works, debunking the myth that “used” memory is a bad thing by showing how buffers and cache play a role.… Read More »

Red Hat 9 LVM & XFS Setup

I’ve created a handy web-based tool for Red Hat 9 users to simplify setting up and managing LVM with XFS filesystems. Built with HTML, CSS, and JavaScript, this tool generates precise shell commands based on your inputs. You can specify disks (like sdb, sdc), choose to either create a new volume group (VG) or extend an existing one,… Read More »

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 »

FreeNAS default password – How to reset

Having issues logging onto Freenas using the default password? You may find it a pain when your password to logon does not work, this guide will provide simple tip on how to figure out the freenas default password, rather than seeing the dreaded: Please enter a correct Username and password. Note that both fields may be case-sensitive.

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 »

VIM Cheat Sheet

This guide will teach you the basics of VIM and how to get going quickly, and offer you a VIM cheat sheet and other useful resources on where you can learn more. While VIM can appear hard, it is a really powerful text editor and worth the effort as will save you time in editing large amounts of… Read More »