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

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

linux - 👨‍💻 Change the default SSH port in 🐧 Linux Server

👨‍💻 Change the default SSH port in 🐧 Linux Server

By default on Linux servers SSH runs on 22 port. We can change the default SSH port for Linux server as an added security measure. NOTE: Before changing the SSH port makes sure the new SSH port does not conflict with any known, used or blocked...

whoami - 4 commands to identify a logged user account in Linux

4 commands to identify a logged user account in Linux

Into this tutorial we will learn how to identify a user account or who is logged into system with commands like who or who am i. If multiple users use a single system, then everyone may have their own user account. At this time, it will be helpful...

Cracking Virtualizor

Virtualizor has a license verification function inside: /usr/local/virtualizor/main/functions.php content is encrypted, but in older versions, it wasn’t, so to bypass license verification you can simply replace the current file content with...

git - SVN vs Git commands

SVN vs Git commands

Back in 2017 when I built my very first WordPress plugin I had trouble uploading it to WordPress.org because I’ve never used SVN before. As a Git guy I’ve never worked with SVN before and at the time I was searching all over the web for...