linux-command-which

Today, I’m going to give you a quick guide on how to use the which command in Linux. The which command is very useful when you want to locate the path of a specific command. Let’s say you have a command that you can execute in the shell because it’s in the shell path, but you’re curious about its location. In this case, you can use the which command to find out where it is stored....

Persisting Aliases and Configuration in the Fish Shell

One often overlooked aspect of configuring the Fish Shell is the persistence of aliases and other settings. While it might be convenient to define these configurations on the fly within the terminal, it’s important to know that they will be lost after a system reboot. To avoid this, it’s recommended to add these configurations to the ~/.config/fish/config.fish file. For instance, let’s say we want to set the ls command as an alias for exa, a modern replacement for the conventional ls command....