The services in Windows can be started using the Service Manager tool. To start the Service Manager GUI, press Win keybutton to open the start menu, type in services to search for the Service Manager and press Enter to launch it. The services can also be started using the command-line prompt (CMD) or the PowerShell. […]
All processes in Windows can be listed on the command-line prompt (CMD) using the tasklist command. The tasklist command in Windows is the Linux ps command equivalent. In this note i am showing how to list all processes on the command-line prompt (CMD) in Windows using the tasklist command, how to sort the process list […]
The services in Windows can be listed using the Service Manager tool. To start the Service Manager GUI, press Win keybutton to open the start menu, type in services to search for the Service Manager and press Enter to launch it. The services can also be listed using the command-line prompt (CMD) or the PowerShell. […]
Sometimes it may be complex to debug Git errors, like “fatal: repository not found” or “fatal: authentication failed” with the default level of verbosity in Git. To debug different network, security, performance and many other issues in Git it is very helpful to know how to increase verbosity. In this note i am showing how […]
The which command in Linux is used to identify the location of executables. The where command is a Windows which equivalent in a command-line prompt (CMD). In a Windows PowerShell the alternative for the which command is the Get-Command utility. In this note i will show how to find paths of executable commands in Windows.
Sometimes when an application in Windows hangs, freezes and stops responding the only way to terminate it is to kill from the command-line. The taskkill command in Windows serves for terminating tasks by name or by process id (PID). In this note i am showing how to find and kill a process by its name […]
A Git commit ID is a 40 digits long SHA-1 hash, that can be abbreviated up to the shortest 4 digits version (7 by default). In this note i am showing how to abbreviate the long hash to a short hash in Git and how to display the abbreviated hashes in the outputs of the […]
In Git we can gracefully revert all changes to the specific commit without using the potentially dangerous git reset command. In this note i am showing how to undo local changes by making a rollback to the specific commit and how to revert a commit that has already been pushed to remote.
It may be useful to run an Ansible playbook on a local system. For example for putting a playbook in a crontab or for a new host provisioning. In this note i am showing the several ways to run Ansible playbook locally.
During troubleshooting of Ansible issues it is useful to know how to enable debug mode and increase the level of verbosity. To enable debug and increase verbosity in Ansible you can pass the corresponding environment variables on the command line or define these settings in Ansible configuration file. Warning: The debug output can also include […]