Today I Learned (TIL)
-
How to remove all files in a directory except specific subfolders in Bash
Today I Learned how to delete all contents of a folder except specific subfolders using Bash.
-
Run python3 as python in Ubuntu 24.04
In Ubuntu 24.04, the python command is not available by default, as the system uses python3 for Python 3.x versions. Package: python-is-python3 The easiest way to fix this is to install the package python-is-python3. Alias You can also add the following line at the end of your ~/.bashrc file: Save the file, and apply the…