PythonPython readlines() MethodBy RahulDecember 29, 2022Have you ever wanted to read a file line by line in Python? Then you should be familiar with the…
LinuxLinux /etc/shadow FileBy RahulDecember 29, 2022Linux-based systems, renowned for their robust security measures, segregate sensitive data to ensure minimal unauthorized access. One such piece of…
DevOps & CloudDocker Build (Creating Docker Images)By RahulDecember 29, 2022Docker is a popular tool for packaging and deploying applications in an isolated environment, and a key part of the…
Shell ScriptingA Beginner’s Guide to Use Bash Functions!By RahulDecember 29, 2022Bash functions are a handy way to group a series of commands that you often use together. They allow you…
PythonHow to Read Text Files in PythonBy RahulDecember 28, 2022While working with the Python application, you would be required to read and write text files in Python. You can…
PythonHow to Connect MySQL in PythonBy RahulDecember 28, 2022Databases are the backbone of any data-driven application or system. They provide a systematic way to organize, retrieve, update, and…
Shell ScriptingChecking If a Command Succeeded in Bash Using the `$?` Special VariableBy RahulDecember 27, 2022In Bash, it is often necessary to check if a command succeeded or failed. For example, you may want to…
LinuxHow to Recursively Change the File’s Permissions in LinuxBy RahulDecember 27, 2022In Linux, the file permissions determine who can access and modify a file or directory. By default, the owner of…
PythonHow to Generate Random String in PythonBy RahulDecember 27, 2022Generating random strings in Python is a common task that can be useful in various scenarios, such as when you…
PythonHow to Generate a Secure Random Password in PythonBy RahulDecember 27, 2022Generate strong random passwords in Python with the secrets module: character rules, custom symbols, tokens, passphrases, a CLI generator and…