When Bash shell fails to read the right environmental variables
The Shell has environment variables which determine its behavior. Exported environment variables are also popular ways of making an application change its behavior.
CATEGORY ARCHIVE
Practical knowledge, one discovery at a time.
52 ARTICLES
The Shell has environment variables which determine its behavior. Exported environment variables are also popular ways of making an application change its behavior.
Sooner or later, you will find yourself adding sensitive data into Ansible playbooks, host or group vars files.Such information might include MySQL DB credentials, A
Web sites store information on local machines of site visitors using cookies. On subsequent visits, the browser sends the data from the cookies on the visitors machi
In Python, you can read from and write to files without import any modules. Python has built-in function "open" which can be used to view and manipulate file objects
This script is written based on the list of U.S. federal holidays I found in Wikipedia - Wikipedia - U.S. Federal holidays. Some of the dates, such as New Year, are
The strace command allows us to trace the system calls made by a program. In this blog, I will show you how you can use strace to capture some of the syscalls made b
The Zen of Python
Users accounts usually get created and removed on most Development or Production servers. It is not uncommon to simply delete the users and yet not either delete or
This is my first attempt in response to a question posed in one of StackExchange sites for Unix/Linux - How do you compare two folders and copy the difference to a t
Getting the URLs in your favorites or bookmarks as a plain list.