How to Get Total Inodes of Root Partition

On Linux and other Unix-like operating systems, an inode stores information that describes a file or directory (also a file – because everything is a file in Unix) except its name and content or its actual data. Therefore, each file is indexed by an inode which is metadata about the file. An inode contains information … Read more

How to Install Yii PHP Framework on CentOS 8

Yii is an open-source, high-performance, flexible, efficient and secure PHP framework for rapidly building modern Web applications. It is a generic and full-stack web programming framework for writing code in an object-oriented fashion and provides many proven and ready-to-use features. Yii Features Here are some of Yii’s key features: A pure OOP-based framework. A component-based … Read more

How to Install LAMP Server on CentOS 8

LAMP, an acronym for Linux, Apache, MySQL, and PHP, is a popular free and open-source stack used by website administrators and developers alike to test and host dynamic websites. The LAMP server comes with 4 core components: the Apache web server, MySQL or MariaDB database and PHP which is a popular scripting language that is … Read more

How to Install Arduino Software (IDE) on Linux

Arduino is a widely-used, open-source electronics platform used to create devices that interact with their environment using sensors and actuators. It consists of a programmable hardware board and a software (Integrated Development Environment(IDE)) for writing and uploading programs to the board. Before you can start building projects using Arduino, you need to set up the … Read more

install Bluefish on centos

Bluefish is a free and open source software that text editor with a variety of tools for programming and development of dynamic websites. It supports HTML, XHTML, CSS, XML, PHP, C, C++, JavaScript, Java, Ada, D, SQL, etc. It can be also used via integration with GNOME or as a standalone application. This tutorial covers … Read more

Install LibreOffice on CentOS

1. Download LibreOffice Linux Package LibreOffice  64-bit version wget http://download.documentfoundation.org/libreoffice/stable/6.1.3/rpm/x86_64/LibreOffice_6.1.3_Linux_x86-64_rpm.tar.gz LibreOffice  32-bit version wget http://download.documentfoundation.org/libreoffice/stable/6.1.3/rpm/x86/LibreOffice_6.1.3_Linux_x86_rpm.tar.gz 2. Change to root User su – ## OR ## sudo -i 3. Extract LibreOffice Package and Access Directory LibreOffice tar -xvf LibreOffice_* cd LibreOffice_* LibreOffice tar -xvf LibreOffice_* cd LibreOffice_*   4. Install / Update LibreOffice RPM packages Install … Read more

How to List All Files Ordered by Size in Linux

Linux yum

How to List All Files Ordered by Size in Linux This articles about listing files using the popular ls command, we covered how to list and sort files by last modification time (date and time) in Linux. To list all files in a directory, open a terminal window and run the following command. Note that when ls invoked … Read more

Example of linux find command

find command linux

Example of linux find command Find Command is one of the most important and frequently used command command-line utility in Unix-like operating systems. Find command is used to search and locate the list of files and directories based on conditions you specify for files that match the arguments. Find can be used in a variety of … Read more

shell embedding and options

shell embedding Shells can be embedded on the command line, or in other words, the command line scan can spawn new processes containing a fork of the current shell. You can use variables to prove that new shells are created. In the screenshot below, the variable $var1 only exists in the (temporary) sub shell. You … Read more