IN-Decent

Re-decentralizing internet with free software

Recent posts

May 29, 2021
Use CDPATH Env Variable to Fast Switch Directories cd command and cd builtin provided by various shells use a special environment variable called CDPATH which takes a PATH like colon(:) separated list of directories to search for the directory given as an argument.…
Apr 10, 2021
Edit Remote Files Locally With Vim Vim has a feature to edit remote files locally using network protocols such as scp, rsync, sftp, ftp etc. This feature is provided by netrw plugin which is included as a standard plugin from vim versions 6+.…
Mar 20, 2021
Continue Following Files With tail After Recreation tail command can be used to follow files real time as data is being written to it with tail -f. But if the file being tracked is deleted or renamed and new file is created in its place tail -f will still continue tracking old file and contents written to new files will not be displayed by tail.…
Mar 19, 2021
Debugging a Mysterious Process Termination Bug Debugging a mysterious process termination bug in production using strace
Feb 7, 2021
SQL Dynamically Replace Strings in a Table With UPDATE and SELECT There are times when you have to search and replace a substring for all values of a string in a column,this can be easily done by combining UPDATE statement with a SELECT statement to dynamically update values depending on the existing value in the row.…