Skip to content

Blog


Categories:

sudo for Windows

Post date:
Author:
Number of comments: no comments

In Windows, with the use of powershell, at some point in time you will feel the need to elevate the privileges while in the same terminal, akin to sudo in Linux. Two options are mentioned below. Using runas verb as below. This launches a new window. Using gsudo from here, which is my personal favorite. […]

Categories:

Kubectl installation on Windows

Post date:
Author:
Number of comments: no comments

I found it easier to keep executable files that are not managed by Windows itself in a custom folders at “C:\Program Files (Folder)”. Executables are placed under their individual folder, path to which gets added to the Windows machine’s Path variable. Find the latest version of kubectl from here. CD into the folder where you […]

Categories:

WSL Issues

Post date:
Author:
Tags:
Number of comments: no comments

How to fix “Access is denied” error when starting WSL? Shutdown WSL using the following command in any terminal. Don’t worry, this will NOT shutdown your windows PC. Once the above command returns, start bash as administrator. WSL should greet you with Linux prompt. How to upgrade WSL – Ubuntu LTS Linux distribution? Update and […]

Categories:

Replacing Bad Hard Drive in Linux

Post date:
Author:
Number of comments: no comments

This is an eventual possibility that one has to deal with someday when dealing with self maintained Linux systems. Due to many possible reasons a hard drive may develop unrecoverable bad sectors. The easiest approach to the solution is described here, not to mention that you have to be a little lucky for the drive […]