How To Find a Directory On Linux Based System

To find a directory on a Linux-based system, you can use the find command. Here’s the basic syntax: $ find /path/to/search -name “directory-name” Replace /path/to/search with the path to the directory where you want to start the search and directory-name with the name of the directory you’re looking for. For example, to search for a … Read more

MacOS – Set / Change $PATH Variable Command

To set or change the $PATH variable in macOS, you can modify the .bash_profile file in your home directory. Open Terminal Open the .bash_profile file: $ nano ~/.bash_profile To add a new directory to the $PATH, add the following line: export PATH=$PATH:/path/to/new/directory Replace /path/to/new/directory with the actual path to the directory you want to add. … Read more

Ubuntu Linux LTS: Force Kernel Package Updates Which Have Been Kept Back

To force the installation of kept-back kernel packages in Ubuntu Linux LTS, you can use the following command: sudo apt-get install linux-image-generic-lts-<version> linux-headers-generic-lts-<version> Replace <version> with the desired version number. This command will install the latest version of the specified kernel packages, even if it’s being kept back. Note: Updating the kernel packages may require … Read more