Tag bash

Running Sudo commands without password

While working with Linux, we find that access to some files or performing sensitive operations requires users to have elevated privileges. The sudo command temporarily elevates user privileges allowing a user to execute sensitive commands or access files without restrictions.…

Create and use Python virtual enviroment

A virtual environment is a way to have multiple, parallel instances of the Python interpreter, each with different package sets and different configurations. Each virtual environment contains a discrete copy of the Python interpreter, including copies of its support utilities.

Using HEREDOCS in Bash

Here Documents are useful when you want to create a file or append something to a file. When writing my own documentation and guides I always use here documents because I don’t want to use editors just command copy

How To Disable SELINUX

SELINUX (Security-Enhanced Linux) is a Linux kernel security module that provides a mechanism for supporting access control security policies, including mandatory access controls. SELinux is a set of kernel modifications and user-space tools that have been added to various Linux…