To disable IPv6 on Linux it is required to modify Linux kernel parameters. IPv6 can be temporary disabled at runtime, using sysctl command or it can be disabled permanently using either sysctl configuration file or the required kernel parameters can be passed at boot time using GRUB configuration. In this note i am showing how […]
Blog
Windows: Zip | Unzip – Command Line
In the past it was not possible to create Zip files and Unzip archives in Windows without installing third-party programs like WinZip and 7-Zip. But now Windows has a built-in capability to Zip files and folders and Unzip archives from the command line using PowerShell. Starting from Windows 8 with PowerShell 3.0 and .NET Framework […]
Git – Show Config – List Global & Local Settings
Git stores configuration data in three different scopes: local, global and system. Using the git config command we can list all Git config settings as well as only local, global or system settings. For each scope, Git stores settings in different config files and it may be useful to know how to locate those files. […]
Windows: Install Telnet Client – CMD & PowerShell
The telnet client in Windows is disabled by default. Before using the telnet command in Windows it is needed to enable the telnet client, otherwise you’ll get a result similar to the below messages: CMD: ‘telnet’ is not recognized as an internal or external command, operable program or batch file. PowerShell: The term ‘telnet’ is […]
[SOLVED] CMD does not support UNC paths as current directories
If you try to cd to a network drive from the Windows CMD, you will get the following error: CMD does not support UNC paths as current directories Instead of cd command in CMD you can use a pushd command, that creates a drive mapping to the network share and then changes into a path […]
PowerShell: Clear History of Previous Commands
This is not obvious, but the Clear-History command in PowerShell won’t clear the history of the previous commands. The Clear-History clears only the commands entered during the current session, that could be displayed by the Get-History command. To clear the history in PowerShell, it needs to delete the file in which the previous commands are […]
Windows: PowerShell – Download File From URL
Windows PowerShell can be used for downloading files via HTTP and HTTPS protocols. In PowerShell, as an alternative to the Linux curl and wget commands, there is an Invoke-WebRequest command, that can be used for downloading files from URLs. In this note i am showing how to download a file from URL using the Invoke-WebRequest […]
Windows: Safe Mode – Start from Boot|Reboot & CMD
Safe Mode in Windows is a special diagnostic mode that allows to use Windows with basic drivers and can help to troubleshoot various problems. Windows can be started in Safe Mode in different ways, depending on the OS version (Windows 10, 8, 7, XP) and the hardware vendor (Lenovo, DELL, HP, Asus, Acer). In this […]
Windows: Start Service – CMD & PowerShell
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. […]
Windows: List Processes – TaskList Command – CMD
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 […]