How to remove all files but one from command line?

To remove all files but a given one do: find . -type f -not -name "application.make" | xargs rm To also remove the directories do: find . -not -name "application.make" | xargs rm -r …

Read this article

View logfiles while logs update

To view logfiles while they update do: tail -f path/to/logfile_name Thanks Jeroen for the tip.…

Read this article

Visualize latest commits from all branches in git

Use git show-branch to know which branch last was committed to. git show-branch --color It visualizes all branches with their last commits.…

Read this article