ShellHacks
Command-Line Tips and Tricks

Blog

  • Blog

Ansible: Skip Parameter If Variable Not Defined

Posted on August 3, 2022August 3, 2022by admin

In Ansible, if you run a task that has some module’s parameter with a variable that is not set you will get “The task includes an option with an undefined variable” error. If for some reason you can’t or don’t want to define this variable, you can make it optional. In this case Ansible will […]

Read More
No comments yet
  • Blog

Rename User Folder in Windows

Posted on July 28, 2022July 26, 2022by admin

User profiles in Windows on the most of computers are usually located in the folder C:\users\. By default, the user folder name is the same as you user name. But if you change your user name, the old name of your user folder will remain and you may want to rename it as well. The […]

Read More
No comments yet
  • Blog

PasswordNeverExpires: Disable Password Expiration

Posted on July 27, 2022July 25, 2022by admin

A password expiration is a feature in Windows that forces users to change their passwords after a certain number of days. When it is time to change your password, Windows will send you a “Consider changing your password” notification. In this note i will show several ways of how to disable the password expiration of […]

Read More
No comments yet
  • Blog

Change User Name of Local Account in Windows

Posted on July 26, 2022July 26, 2022by admin

There may be different reasons for changing a local user account name in Windows. For example, you may want to change the name on the sign-in screen to your actual name instead of the nickname or vice versa. This short note describes the easiest way of changing a user name of the local account in […]

Read More
No comments yet
  • Blog

Disable Startup Programs in Windows

Posted on July 25, 2022July 22, 2022by admin

It is quite annoying when some apps are not expected to, but they are automatically opening on startup in Windows. And it raises a perfectly logical question, how to stop such apps from running at startup. In this note i will show the easiest and the most efficient way of how to find ALL startup […]

Read More
No comments yet
  • Blog

You Need Permission to Perform This Action [FIXED]

Posted on July 22, 2022July 25, 2022by admin

While trying to delete, copy, move or rename some files or folders in Windows you may get the error: “You need permission to perform this action” followed by “You require permission from the computer’s administrator to make changes to this file or folder“. This “Access Denied” error means that you are not authorized to make […]

Read More
No comments yet
  • Blog

Kubernetes: Get ServiceAccount Permissions/Roles

Posted on July 21, 2022by admin

A Service Account in Kubernetes is a special type of non-human privileged account that provides an identity for processes that run in a Pod. When you create a Pod, if you do not specify a Service Account, it is automatically assigned the default Service Account in the same Namespace. This note shows how to list […]

Read More
No comments yet
  • Blog

Python: Check Package Version

Posted on July 18, 2022July 20, 2022by admin

While working with Python you may wonder what is the version of a certain Python package (library) that you are using. There are several ways of how to get the version of a package or module in Python. This note describes how to check the version of Python packages from a Python shell, from a […]

Read More
No comments yet
  • Blog

Python: Login to Website – Selenium

Posted on July 18, 2022July 18, 2022by admin

Selenium is an open source tool that automates web browsers and is widely used for automated testing of web applications. With Python and Selenium you can easily create a script that automates login to a website, that is very useful, for example, for web scraping. This note shows how to create a Python script to […]

Read More
No comments yet
  • Blog

Kubernetes: Node ‘NotReady’ [SOLVED]

Posted on July 5, 2022July 5, 2022by admin

When a Node in a Kubernetes cluster crashes or shuts down, it enters the ‘NotReady‘ state in which it can’t be used to run Pods and all stateful Pods running on it become unavailable. Common reasons of the ‘NotReady‘ error include a lack of resources on the Node, connectivity issue between the Node and the […]

Read More
No comments yet

Posts navigation

Older posts

Online Tools

  • Base64 Decode
  • Base64 Encode

Tags

access-control anonymity ansible apache archive arduino artifactory aws bash boot cmd command-line curl dns docker encryption git gitlab java jenkins kubernetes linux macos mail mongodb mysql network openssl password pdf php powershell prometheus python raspberry pi ssh sublime text telegram telnet text-processing tor tsm windows wordpress yum
  • Telegram
  • Twitter
  • RSS
Privacy
Copyright © 2011-2022 | www.ShellHacks.com