ShellHacks
Command-Line Tips and Tricks

windows

  • Blog

How To Check Windows Version – CMD & PowerShell

Posted on September 11, 2021December 2, 2021by admin

Do you wonder how to find out what version of Windows is running? The Windows version can be checked in multiple ways. In this short note i am showing the easiest way to get information about the Windows version using the winver command from the “Run” dialog or using the systeminfo command from a command-line […]

Read More
No comments yet
  • Blog

Change Local Account Password in Windows – CMD & PowerShell

Posted on July 25, 2021December 1, 2021by admin

If you have forgotten a local user password in Windows but you can still log in to the computer with PIN, picture password or another administrator account, you can easily reset the forgotten password from a command-line prompt (CMD) or using a PowerShell. In this note i will show how to change the forgotten local […]

Read More
No comments yet
  • Blog

Check If User Is In Domain – CMD & PowerShell

Posted on July 25, 2021December 8, 2021by admin

In Windows, a Local User is the user created in the local system, whose username and password are stored on the computer itself. A Domain User is one whose username and password are stored on a domain controller (e.g. Active Directory) rather than the computer the user is logging into. In this note i will […]

Read More
1 Comment
  • Blog

Run Batch File (.BAT) on Startup in Windows

Posted on July 24, 2021December 1, 2021by admin

The easiest way to run a batch file on a system startup is to place it in the Windows “Startup” folder or drop there a shortcut. Programs placed in this folder are meant to run automatically whenever the computer boots up. In this note i will show how to run a batch file on a […]

Read More
7 Comments
  • Blog

Create Batch File (.BAT) to Run EXE Program

Posted on July 24, 2021July 24, 2021by admin

In Windows you can run any program with the .exe extention from a batch file that is very useful in different automation scenarios. For example, you may want to create a batch file to use it as a launcher for the program that you want to execute with some parameters. In this note i am […]

Read More
10 Comments
  • Blog

What Is My Router’s IP Address (Default Gateway)

Posted on July 11, 2021by admin

A router is a device that communicates between the Internet (or public network) and the devices in a local network (or private network). A typical home router, that usually acts as a default gateway for the local devices, can be configured using a web-based configuration page that can be accessed from a web-browser if you […]

Read More
No comments yet
  • Blog

Windows: ARP Command – Show Table & Clear Cache

Posted on June 16, 2021February 23, 2022by admin

An ARP (Address Resolution Protocol) is a communication protocol that works on a “Physical (Data-Link)” layer of a TCP/IP stack and is used to discover a MAC address of a device on a LAN (local-area network) based on its IP address. An ARP table is used to store the discovered pairs of the MAC and […]

Read More
2 Comments
  • Blog

Windows: Show Routing Table – Route Print

Posted on June 16, 2021June 16, 2021by admin

Each IP packet contains information about its origin and destination. A routing table contains the information necessary to forward an IP packet along the best path toward its destination. In this note i will show how to display the routing table in Windows using the route print command.

Read More
No comments yet
  • Blog

Windows: Show Proxy Settings – CMD & PowerShell

Posted on May 22, 2021May 20, 2021by admin

You may wonder how to find out what proxy server you are using on a Windows machine. Proxy settings in Windows can be configured system-wide (for all users of the same computer) or per-user. In this note i will show how to display system-wide and user-specific proxy settings in Windows from the command-line (CMD) and […]

Read More
No comments yet
  • Blog

Git Bash: Change Default Directory

Posted on May 21, 2021February 1, 2022by admin

By default the startup directory where you appear when you launch Git Bash is /, that is the installation folder of Git Bash. If you need to find out the path to /, you can run this command: $ explorer . It opens the current directory in the File Explorer so you will see the […]

Read More
4 Comments

Posts navigation

Older posts
Newer posts

Online Tools

  • Base64 Decode
  • Base64 Encode

Tags

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