Blog
Page 564 of my articles, tutorials, and thoughts
Latest Articles
What does "rc" mean in dot files
ššš„ What Does "rc" Mean in Dot Files? A Beginner's Guide! š„šš If you've ever stumbled upon files with names like ".bashrc", ".vimrc", or ".screenrc" in your Linux home folder and wondered what the mysterious "rc" stands for, you're in the right plac
How do I run a program with a different working directory from current, from Linux shell?
# How to Run a Program with a Different Working Directory from the Linux Shell š Are you struggling to run a program in the Linux shell with a different working directory? Don't worry, we've got you covered! In this blog post, we'll address this common i
Command to get time in milliseconds
# š” Get the Time in Milliseconds with a Simple Shell Command in Linux Have you ever found yourself needing to get the time in milliseconds in Linux? Maybe you're working on a script or trying to measure the performance of a specific process. Whatever the
How can I format my grep output to show line numbers at the end of the line, and also the hit count?
# Formatting grep Output with Line Numbers and Hit Count: A Complete Guide If you're a regular user of the `grep` command, you might have come across the need to format the output to show line numbers and the hit count. This can be particularly useful whe
How to terminate a python subprocess launched with shell=True
# How to Terminate a Python Subprocess Launched with shell=True So, you're trying to terminate a Python subprocess that was launched with `shell=True`, but it keeps running in the background even when you try to use `p.terminate()` or `p.kill()`. Don't wo
How to limit depth for recursive file list?
š **Limiting Depth for Recursive File List in Linux** š¤ Have you ever found yourself needing to get a file listing in Linux but only interested in the ownership and permissions information for the first level subdirectories? š š Fear not! We've got a
sed command with -i option failing on Mac, but works on Linux
# Command Line Magic: Fixing the `sed -i` Command on Mac š§āāļøš» So you've been using the powerful `sed` command on Linux to search and replace text, but when you tried it on your Mac, it blew up in your face? Fear not, my fellow tech sorcerer! We are abo
How can I run dos2unix on an entire directory?
š Welcome to my tech blog! Today, I'll show you how to run dos2unix on an entire directory. š So you've found yourself in a situation where you need to convert an entire directory using dos2unix, but you're not quite sure how to go about it. Don't worry
How do I escape spaces in path for scp copy in Linux?
š **How to Escape Spaces in Path for SCP Copy in Linux?** Have you ever encountered the frustrating "No such file or directory" error message while using the `scp` command in Linux? Fear not, as we have the solution to this common problem. Let's dive in







