How To Use Some Monitor Server Resources such as top, htop Part:1

Introduction: To perform computer system for proper administration and monitoring. How to monitor system Processes. top One of the most common tools to check the resource utilization of processes is “top“. Command: top Output: The top portion has some system statistics, including load averages for last 1 minute, 5 minutes, and 15 minutes. It also shows memory and swap usage and count of …

How to use rm and rmdir utilities to remove or delete files and directories in Linux

Introduction: Use sudo with rm command for those files which are having root user and group permissions or if getting message  Access Denied. Sudo rm text2.txt rm text.txt How to delete a files and directory in linux In Linux operating system if needs to delete directory use following commands: rmdir command – removes empty directories/folders rm command – removes a directory/folder along with all the …

What is chattr attribute and how it use to make files undeletable or immutable

Introduction: Most of the time Linux based Operating system machine is used by different users. So there are high chances that the users will access a common set of files. This practice will cause of problems like accidental deletion or modification of important files. There is an existing command – chattr – that’s developed to help you in specifically these kinds of …

Use of Basic Commands & utilities on Linux.

Introduction Lets start the command line utilities based on linux platforms. Pre-requisities In this blog we do learn some basics commands. 1- pwd This command is to find the current working directory pwd. /root The /root directory is the home directory of the root (administrative) user. If you are logged in with another user the you will see something …

How to Install and Deploy python django application using Nginx and Postgres in Ubuntu

Prerequisites : 1- Postgres database 2- Nginx 3- Gunicorn Step 1: After installed Python 3.6 and upgraded the pip version with the following command. sudo -H pip3 install –upgrade pip   Step 2: Install and create a python environment with the name of env inside a workstation folder. cd /opt/workstation sudo -H pip install virtualenv python3.6 …