Linux

Linux is a family of open-source Unix-like operating systems based on the Linux kernel. Some of the most popular Linux distributions include Debian, Fedora, and Ubuntu.

www.linux.org

perc - How to install PERC/LSI MegaCLI on Dell

How to install PERC/LSI MegaCLI on Dell

Here is how to install PERCS (LSI) MegaCLI utility on a Dell machine: Step 1: Download the latest version of MegaCLI here or use this alternative link. Step 2: Copy the file to your Linux machine. In this case, I will use /var/tmp/ Step 3:...

image 1 - Generate a random number 🔢 in Unix Shell Script

Generate a random number 🔢 in Unix Shell Script

Here is how to generate a random number in a bash shell script. In the bash shell we have environmental variable $RANDOM that can generate a unique random number each time it is referenced. echo $RANDOM And to assign this value to a variable :...

nodejs - Install NODE.JS on CentOS

Install NODE.JS on CentOS

To install Node.js on CentOS perform (as root):

curl -sL | bash -
yum install -y nodejs

It will output each step as it moves along, prompting you to manually install any 3rd party dependencies.

Verify the install with:

node -v

stat - Getting file information using stat

Getting file information using stat

stat prints file information, including last modified, changed or accessed time. On Unix systems every file has 4 timestamps: ctimechange time – when the file was modified, permissions changed, etc.atimeaccessed time – when file was read...

linux - Find out what a command does ❓

Find out what a command does ❓

At the command line, run:

whatis <command>

This will give you a one-line summary of a command.

If whatis doesn’t work, the whatis database may not be built yet. To build the whatis database, enter this:

/usr/sbin/makewhatis

linux - Inter-process communication under Linux 🐧

Inter-process communication under Linux 🐧

There are roughly the following types of inter-process communication under Linux: socketPipes (including anonymous pipes for parent and child processes, named pipes)SemaphoreShared memoryMessage queue socket Socket can be used for local inter...

memory - Checking memory usage with free

Checking memory usage with free

free utility shows the amount of free / used memory. free The biggest misinterpretations that I’ve seen on both Windows and Linux systems are with the swap and cached memory. Cached memory is exactly what it sounds: memory dedicated for...

linux - Basic 🐧 Linux commands

Basic 🐧 Linux commands

lslists files and foldersls -lrtlists files and folders in datel orderls -lalist hidden files and folders and visiblecd /foldercd means to change folder where folder is a valid foldercd /changes you back to the root pathcd ..changes folders back one...