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

linux - 🐧 Simple Network Troubleshooting

🐧 Simple Network Troubleshooting

You will eventually find yourself trying to fix a network related problem which usually appears in one of two forms. The first is slow response times from the remote server, and the second is a complete lack of connectivity. These symptoms can be...

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...