Select Page

Author

Ashrafuzzaman Sarker

A technical writer specialising in Vim, Bash, and all things Linux. Despite having a strong background in the technical side of things, he's passionate about Graphic Design, with over 4+ years of experience designing in different mediums, including the Web. Worked with companies like Brown Nuts as a Designer and in Democracywatch as an IT Expert. At present, his aim as a technical writer is to prove pals that Linux and Vim ain't always a nerd's thing, and just about anyone can learn them!
How to find strings that contain regex

How to find strings that contain regex

Introduction A regular expression, also shortened as regex and regexp, is a type of searching pattern inside a text/code editor that supports it, which allows for a deep level of text manipulation. A regular expression can not only search for a given string, but can...

read more
Why you should consider deleting git branches

Why you should consider deleting git branches

Introduction Creating git branches for a project's repo is not uncommon at all among git users. In fact, for development work, most people using git tend to create branches for bug fixes and other small sets of changes they'd like to commit to the project. ...

read more
Why do git conflicts occur?

Why do git conflicts occur?

Introduction 'Git is a version control system' - you've probably heard this more than enough already. But why does it matter?  Version control systems are a means of working together with other chefs to cook a fancy dish (collaborating with other developers on a...

read more
Why is ‘git add .’ not working?

Why is ‘git add .’ not working?

Introduction Staging is definitely one of the best things about Git that makes it stand out from most other version control systems out there. The fact that you can group up a set of changes and commit them on depend gives a deeper level of control on your repo....

read more
How to view the word count in Sublime Text

How to view the word count in Sublime Text

Introduction If you want to keep track of the size of your writeup and the amount you've written inside a Text editor, where do you first get your sight caught at? Easy - it's the word count! Text editors typically have a status line on the bottom where it shows the...

read more
Compare text in Sublime Text

Compare text in Sublime Text

Introduction Sublime Text is one of those modern text editors that has enough potential to keep you wondering, while at the same time maintaining superior levels of simplicity in the overall user interface. After all, it's the best part of the Sublime Text that has...

read more
Is Sublime Text code editor free?

Is Sublime Text code editor free?

Introduction Sublime Text is a very popular code editor that has been residing in the territory of Code Editors since a long time ever before other competitors like VS Code and Atom came into life - well, not as old as Vim or Emacs, but definitely old given that it...

read more
‘gedit: command not found’ in Linux

‘gedit: command not found’ in Linux

Introduction Gedit is a text editing program which is specifically made to be used in the GNOME Desktop Environment. You might be questioning the need to design text editors for specific environments. To be very honest, it actually looks good given that the editor...

read more
Format lines with ‘gq’ in Vim

Format lines with ‘gq’ in Vim

Introduction I can spend hours telling you how important code formatting is. But I hope I won't need to. Consistent code formatting is not only essential when working with solo projects, but is actually more important when working with teams and groups of other...

read more
How to fix ‘ip: command not found’ in Linux

How to fix ‘ip: command not found’ in Linux

Introduction The ip command in Linux is used to configure network interfaces in a Linux machine. It is short for Internet Protocol. It is mostly used by system and network administrators to add, remove, show and manipulate things like network routes, tunnels,...

read more
Fix ‘mongo: command not found’ in Linux

Fix ‘mongo: command not found’ in Linux

Introduction MongoDB is a noSQL database software which is used to store unstructured data. Just as the name suggests, it is the opposite of SQL databases, which store structured data. MongoDB uses a variety of different technologies to make their database system...

read more
How to fix apt-get not found in Docker Image

How to fix apt-get not found in Docker Image

Introduction Web applications have come a long way, and so have the services that host them. One of the most popular ones now is Docker. The concept of sandboxed containers for web applications gives so much more accessibility and control. However, when you're just...

read more
“sudo: command not found” in Docker

“sudo: command not found” in Docker

Introduction In the vast world of Linux, it is important to take security measures to ensure you don't lose your valuable data. In many cases, it doesn't have to be a random stranger trying to wipe off your hard disk, but you yourself could be enough for that. In...

read more
How to install Git in Alpine Linux

How to install Git in Alpine Linux

Introduction Alpine is a very lightweight Linux distribution, which uses the musl library for running C applications, instead of the standard libc library. This causes it to lack support for C++ applications out of the box. Nevertheless, the small footprints of Alpine...

read more
git pull “Already up-to-date” in Linux

git pull “Already up-to-date” in Linux

Introduction Git is undoubtedly the most popular version control system on planet Earth. No, I'm not exaggerating at all. But believe it or not, every good stuff has something weird and seemingly unnatural behind the scenes. Git has a command called git pull, and on...

read more
‘pg_ctl: command not found’ in Linux

‘pg_ctl: command not found’ in Linux

Introduction Servers often require to be stopped for maintenance, and started again as soon as it’s done. To do this, you’d probably require some command in the terminal through which you’re managing the server. If your server of choice is PostgreSQL, then the command...

read more
‘aclocal: command not found’ in Linux

‘aclocal: command not found’ in Linux

Introduction If you’ve previously built programs from their source code, or are just to start out, you might already be familiar with certain commands like make and autoconf, which are a necessity for building packages. Particularly, there’s the automake command which...

read more
How to fix ‘snap: command not found’ in Linux

How to fix ‘snap: command not found’ in Linux

Introduction Snap is a third-party package manager for your Linux distribution that has its own repository, maintained by Canonical - the creators of Ubuntu. Snap is easy to use and is becoming more and more popular over time. The best thing about snap is that it...

read more
‘npx: command not found’ in Linux

‘npx: command not found’ in Linux

Introduction NPX is short for “Node Package Execute”, and is a command line program used to run npm packages without even needing to install them. It is not recommended to use it for applications you’d want to run on a regular basis, but only when you need to execute...

read more
Fix ‘emacs: command not found’ in Linux

Fix ‘emacs: command not found’ in Linux

Introduction Whether or not you’re a very techy person, The thing about “Vim vs Emacs” is probably something you’re not unheard of. If you’ve been a long time Emacs user, or are simply willing to give this thing a try, but your terminal returns you with the following...

read more
Fix “git did not exit cleanly (exit code 1)”

Fix “git did not exit cleanly (exit code 1)”

Introduction Git has vastly revolutionized the way code management can work, don’t you agree? It has indeed presented ideas that encourage better code tracking and revival on crash, as well as pushing code from repository to repository without needing to lift your...

read more
Are you using Vim Retab right?

Are you using Vim Retab right?

Introduction Whether you like to use tabs or spaces while writing code is pretty much a personal preference. But both of ‘em have their goods and bads. Some people simply like the idea of using spaces alone and not mix them up with tabs, given how one could fine-tune...

read more
Fix ‘a2enmod: command not found’ in Linux

Fix ‘a2enmod: command not found’ in Linux

Introduction Apache HTTP Server is one of the most popular server softwares found out there. Popular websites such as Ebay, Adobe, and Spotify use Apache behind the scenes. Apache HTTP server has several modules to help you set up your own HTTP server. These modules...

read more
‘no package epel-release available’ in Linux

‘no package epel-release available’ in Linux

Introduction "Extra Packages for Enterprise Linux", shortened as EPEL, is a set of extra packages for RedHat Enterprise Linux, compiled by the community members of the Fedora Project. This package is responsible for providing the programs you'd not find in RHEL...

read more
Fix ‘goimports: command not found’ in Linux

Fix ‘goimports: command not found’ in Linux

Introduction Go is a general purpose programming language aimed at scalability. It is primarily used for system programming and is influenced by the C programming language. Go is a good programming language of choice for beginner programs due to its ease of use, and...

read more
Fix ‘setenv: command not found’ in Linux

Fix ‘setenv: command not found’ in Linux

Introduction The setenv command in Linux can be used for setting environment variables by giving them names and values. It is a built-in command for the C Shell, and its forks. It is similar to the export command found in other POSIX shells, having a slight difference...

read more
ngrok: command not found’ in Linux

ngrok: command not found’ in Linux

Introduction Ngrok is an HTTP Tunneling software which allows you to expose a local server in your machine to the Internet. When you expose a program which is stored in your local machine by using ngrok, it takes your port number and hosts it under a subdomain of...

read more
How to fix ‘jq: command not found’

How to fix ‘jq: command not found’

Introduction The jq command is a Command Line tool which is primarily used to format JSON files, right from the command line. It is also referred to as a JSON Processor, to that account. The reason why anyone would really wish to use a command line tool to format JSON...

read more
All things git diff (on specific files)

All things git diff (on specific files)

Introduction The git diff command is used to differentiate two sets of data inputs, and write down the changes in stdout which are required to merge the two inputs into one. At least, that’s what the diff function is meant for. But in git, the diff subcommand has a...

read more
Fix ‘Cannot be resolved to branch’ in Git

Fix ‘Cannot be resolved to branch’ in Git

Introduction Whether or not you like it, git is case-sensitive. This gives rise to a lot of flexibility over the the names you could give to your branches in a repository, but at the same time, it raises concerns, such that lead many to see the following error...

read more
How to undo a git cherry-pick

How to undo a git cherry-pick

Introduction The cherry-pick command in git allows you to move a group of commits from a given branch to another branch. This command gives rise to a different approach to git merge, and at times is used as an alternative for it. For instance, instead of using the git...

read more
When to use ‘git rebase –skip’ and why?

When to use ‘git rebase –skip’ and why?

Introduction Oftentimes, if not always, there will be situations where you will wish to, or more frankly, need to skip doing a commit due to some reason, the most frequent of which is due to some sort of conflict, as most people suggest. For such scenarios, the --skip...

read more
git: ‘lfs’ is not a git command. See ‘help’

git: ‘lfs’ is not a git command. See ‘help’

Introduction Git LFS (Large File System) is basically just a command used to store and maintain very large files in a different git repository than your project’s one. How it works is that it uses pointers instead of the actual files which links your repository with...

read more
How to undo ‘git commit –amend’

How to undo ‘git commit –amend’

Introduction Oftentimes in a project, you might wish to make small changes to your most recent git commit. Using the git commit command directly will create a new commit for you which will include the staged changes, but doing this for every small tweak can create a...

read more
All things checkout in Git

All things checkout in Git

Introduction The git checkout command is responsible for changing your current branch into something else inside a terminal. When you create a new branch using git, you’d need to use the checkout command to navigate to it. However, the checkout command is not only...

read more
What does –unset-upstream flag do in git?

What does –unset-upstream flag do in git?

Introduction Branches are one of the coolest things in git, and you must agree with me on that. Creating a branch allows you to manage your project workflow in a way you wouldn’t be able to do otherwise. When working on large projects, creating branches allows you to...

read more
‘Failed to start snappy daemon’ in Linux

‘Failed to start snappy daemon’ in Linux

Introduction In a Linux machine, there are countless ways you can install a specific application. One, you can install an application using a distribution’s package manager. Two, by compiling that program from its source code using build tools. And three, use a third...

read more
Fix ‘unmount: command not found’ in Linux

Fix ‘unmount: command not found’ in Linux

Introduction Oftentimes in a Linux machine, you’re required to handle filesystems as well as their partitions using different commands. This is essential in various ways. Starting from the installation of a Linux Environment inside a disk, all the way to transferring...

read more
Fix ‘eslint: command not found’ in Linux

Fix ‘eslint: command not found’ in Linux

Introduction Eslint is yet another linting program like JSLint and JSHint which helps you analyze, debug and fix code errors in JavaScript. When writing javascript code, the only common way to catch eros without using linters is through a browser. Linters make the...

read more
‘rpmbuild: command not found’ in Linux

‘rpmbuild: command not found’ in Linux

Introduction The rpmbuild command is used to create source code packages and or binary files for Linux Distributions like RedHat, CentOS, Fedora, etc. It is necessary for building RPM packages. initially, RPM packages were only meant to be used in RedHat Enterprise...

read more
Fix ‘sshpass: command not found’ in Linux

Fix ‘sshpass: command not found’ in Linux

Introduction Sshpass is a password authentication tool for Linux which allows you to automatically login to an SSH shell non-interactively. You can use the command to login to an SSH server in several different ways. A more common use for sshpass is inside a bourne...

read more
‘ps: command not found’ in Linux

‘ps: command not found’ in Linux

Introduction The ps command is used to display information about the processes that are currently running on your Linux terminal. It is the short form of Process Status, which is quite good at explaining what it does. The ps command is also required as a dependency...

read more
Is there an Ableton for Linux?

Is there an Ableton for Linux?

Introduction Ableton Live Suite is the DAW to go for professional Music Producers, and is irreplaceable in the Music Industry. In fact it has gotten so popular to the point where musicians would look nowhere else if their machines can run the program. Yes, that’s a...

read more
Fixing ‘protoc: command not found’ in Linux

Fixing ‘protoc: command not found’ in Linux

Introduction The protoc is an important piece of command in Linux. It is developed by Google, and is necessary for compiling the protocol buffers and their definitions. It is capable of producing output for several different languages, including C++, Java, and Python....

read more
nc: command not found in Linux

nc: command not found in Linux

Introduction Netcat is one of the many open source network-related tools, which is not only used for listening and scanning posts, but also for a number of other functionalities. It is also quite popular among both ethical and unethical hackers. It is not meant for...

read more
Fix ‘tracert command not found’ in Windows

Fix ‘tracert command not found’ in Windows

Introduction Traceroute is a popular command used for troubleshooting network routes that a network packet has to travel through. It is not only available in UNIX systems like Linux and MacOS, but is also available for the Windows Operating System. In fact, it is...

read more
What is Linpus Lite Linux?

What is Linpus Lite Linux?

Introduction Linpus Lite is a stripped down version of Linpus Linux, which itself is based on Fedora Linux. It is specifically targeted at Asian users, which almost supports the full Unicode glyphs of Japanese and Mandarin Languages. Linpus Lite is basically a lighter...

read more
Using Ctrl + D in Linux and Bash

Using Ctrl + D in Linux and Bash

Introduction Linux terminals are hilariously efficient and technically marvelous when you need to carry out repetitive jobs. The ability to automate commands and run them the way you want is one of the best things about using terminals rather than using a mouse in a...

read more
What does Ctrl + Alt + F1 do in Linux?

What does Ctrl + Alt + F1 do in Linux?

Introduction Linux, Linux, and Linux. The operating system for power users. Don’t agree with me? What about the terminals? When hackers in movies are seemingly spamming their keyboard to appear as if they had hacked the whole world, what is the medium where they...

read more
Ctrl + C not working in the Linux Terminal

Ctrl + C not working in the Linux Terminal

Introduction A terminal is what differentiates a Linux user from a Windows user. Yes, there is the command prompt in Windows. But how reliable is it, and how many occasions are there for a user to actually use it? Not many. But in Linux, whether or not you may want to...

read more
unzip: command not found in Linux

unzip: command not found in Linux

Introduction If you’re new to Linux, and have just migrated from Windows, it’ll probably take a bit of time to get used to. But don’t worry. I know the Linux Terminal seems quite intimidating at first, but you must believe this - it is not as hard as you think it is,...

read more
Fix “traceroute: command not found” in Linux

Fix “traceroute: command not found” in Linux

Introduction You probably already know that the traceroute command in Linux allows you to troubleshoot the route through which a network packet has to travel. It is available in many UNIX distributions like MacOS and Linux. However, a few recent versions of Linux...

read more
Using Ctrl + C in a Linux Terminal

Using Ctrl + C in a Linux Terminal

Introduction It has not been long since big-brained humans had invented the Graphical User interfaces (GUI). Just before it had emerged, everyone had to use a terminal only for all of their computing tasks. At least, it was all people knew about computers in the early...

read more
What does Ctrl + Z do in Linux?

What does Ctrl + Z do in Linux?

Introduction Linux is amazing, but only when you know what you are doing, as well as by learning about the Stone of Miles you could achieve along. As compared to Windows users, they are significantly more established in terms of technical knowledge. Why is that?...

read more
Failed to load canberra-gtk-module

Failed to load canberra-gtk-module

Introduction Canberra-gtk-module - it can sing you sweet sounds and de-stress your jagged up neurons, or even be a reason to destroy your whole night’s sleep. Yes you heard it right. It essentially is a library that plays event sounds on your system when you do stuff....

read more
failed to load ldlinux.c32

failed to load ldlinux.c32

Introduction Basically, when trying to boot from a bootable USB stick containing a linux ISO, it is possible that you get the error message stating “failed to load ldlinux.c32”. This is mostly a problem caused by the Syslinux bootloader for Linux. Distros line SUSE...

read more
bourne again shell: vim: command not found

bourne again shell: vim: command not found

Introduction Linux and Vim alike are not your everyday bread like Windows and MacOS. While it truly is becoming easier to transition to Linux from an easier operating system like Windows with the emergence of beginner-friendly desktops like Zorin OS, there’s still one...

read more
How to navigate in Vim Insert Mode

How to navigate in Vim Insert Mode

Introduction Vim has a plethora of modes for all sorts of different tasks - 6 basic modes and a few advanced ones only of knowledge to those people. For the most part, what any beginner in Vim would bother about is to type text, save the file, and then exit Vim....

read more
Backspace key not working in Vim?

Backspace key not working in Vim?

Introduction Vim is like a resident of a different world. It tends to ignore at least half of all other code editor characteristics. And that is both a good thing and a bad one. If you talk about the good sides, it increases the efficiency and the way it works always...

read more
Vim Mode in Xcode

Vim Mode in Xcode

Introduction It hasn’t been long since XCode had announced a feature that could delight a lot of coding souls. It has now a dedicated Vim Mode, that can be accessed from the toolbar without any use of any plugins at all! Oh my! This gives rise to amazing...

read more
nnoremap in Vim | What it is and how it works

nnoremap in Vim | What it is and how it works

Introduction Vim mappings are one way of boosting your productivity in Vim. From simple mappings like “delete current line and insert a new one”, all the way to your very own code snippet that does more than just paste the code. It’s customizable to the point where...

read more
Vim Intelligence | Nope, it’s ‘Intellisense’

Vim Intelligence | Nope, it’s ‘Intellisense’

Introduction Vim is an old gold. And like every other good ol’ thing, Vim has its flaws too. Even so, don’t neglect the fact that Vim is extensible - far more extensible than you might anticipate. Vim, despite its growing age, has auto completion features built into...

read more
Ctrl + Z in Vim | or so it seems

Ctrl + Z in Vim | or so it seems

Introduction If you use Vim, it should not surprise you that Vim tries to stay as uncommon as it can. Following this very root, Vim will not help you in undoing stuff if you try the traditional Ctrl + Z to do so. Vim uses the letter “u” instead. But unfortunately,...

read more
Command and Jump with Ctrl + O in Vim

Command and Jump with Ctrl + O in Vim

Introduction I’ve said this a thousand times. But I won’t be tired of saying that once again. Vim is just too good to have a single command assigned to a single task. Once again, Vim proves how fancy it could get with its Modal-Editing scheme. This time, we’re talking...

read more
How to Freeze Vim | Or rather unfreeze it

How to Freeze Vim | Or rather unfreeze it

Introduction Vim was designed for a terminal when it first got released. Even to this date, Vim’s primary interface is still a terminal, though there are some versions of it like Gvim that give rise to a graphical interface. Nevertheless, there were some good ol’...

read more
Using “w” commands in Vim

Using “w” commands in Vim

Introduction Vim is huge. Trust me. It’s huge. You think 12 different modes for editing and other tasks in a text editor to be a joke? Who does? Those who don’t know the power of it. This article should be a proper explanation for why Vim is such a huge thing. In Vim,...

read more
Using “e” commands in Vim

Using “e” commands in Vim

Introduction If you’ve used Vim for some time now, you must already know how deeper and deeper you can get in Vim, when it’s about text manipulation. Actually, Vim by itself is pretty much about the manipulation thing, because if it weren’t prominent enough in this,...

read more
Delete Blank Lines in Vim like a Pro

Delete Blank Lines in Vim like a Pro

Introduction While coding, we usually like to give a lot of space between blocks and other elements so as to make it easier for us to read and interpret the code. However, when you do it too many times on a single block, it gets messier. When navigating between lines,...

read more
Edit Multiple Lines in Vim

Edit Multiple Lines in Vim

Introduction Editing multiple lines together is a cool feature first introduced in the Sublime Text Editor version 21 back in 2014. Since then, a lot of modern IDEs and Text Editors have incorporated it. Meanwhile, Vim is an old-gold, having way older footprints than...

read more
Vim: Warning: Output not to terminal

Vim: Warning: Output not to terminal

Introduction It’s one heck of an error, that’s got no single fix. Let me explain. It is an error message you get in your system when trying to pipe another command when starting a Vim instance. It has something to do with how your OS handles stdin (standard input) and...

read more
Vim vs Gvim | Which one should you use?

Vim vs Gvim | Which one should you use?

Introduction All Vim users are aware of the fact that there are several forks of it, most prominent of which is Neovim, and the latter being Gvim. However, Vim’s own developer, Bram Moolenaar, provides a GUI version of Vim from his official Vim website. So how does it...

read more
Vim vs VS Code | The Ultimate face-off

Vim vs VS Code | The Ultimate face-off

Table of Contents 1 Introduction 2 Text Manipulation 2.1 Motion, Mode, Maneuver 2.2 Combo Jumbo 3 Customizability 4 Server Savy's Home (SSH) 5 Startup time comparison 6 Lightness & Portability 7 Availability 8 The G Madness 9 So why is VS Code more popular? 9.1...

read more
Vim Navigation Cheat Sheet

Vim Navigation Cheat Sheet

Introduction If you primarily use Vim for all your coding tasks, you’d probably need to navigate a lot from pane to pane and file to file using just your keyboard. There’s support for mouse as well, but it sets you back from what Vim is all about - Speed and...

read more
Navigate in Vim using HJKL

Navigate in Vim using HJKL

Introduction Vim is already ahead of every other code editor in terms of text manipulation, as you may know. But Vim, as always, is too good to be happy acing in just a single thing! Besides its unbeatable power of manipulating text, there is one very important aspect...

read more
Vim ZZ and Vim zz | Do you know the difference?

Vim ZZ and Vim zz | Do you know the difference?

Introduction Shift + ZZ is an elegant way to save and exit a file in vim. But true power users have more uses under the hood. Just exclude the Shift to get your screen moving miles! Combine it with search and investigate your files like a coding wizard! Do you waste a...

read more
Using Vim as a Hex Editor

Using Vim as a Hex Editor

Introduction No pro programmer is unaware of the fact that all the day to day coding they carry out in any given programming language, are essentially being converted into numbers by the computer, known as "Binary". They are a composition of 0s and 1s arranged in...

read more
How to fix “Jar: Command not found” in Linux

How to fix “Jar: Command not found” in Linux

Introduction You have a .war or a .jar, or even a .rar file and you’re all ready to extract its inner fruits, but your terminal gives you the back side, “bourne again shell: jar: Command not found”. In another scenario, you've got all your clothes stacked, but cannot...

read more
What on Earth is ^M in Vim?

What on Earth is ^M in Vim?

Introduction Trust me. We've all been there. The first battle a newcomer has to go through is already a horrific experience. "Unable to quit Vim". Sounds familiar? Great. But hold on. It doesn’t end there. Ever realized trying to copy a string of text from the browser...

read more