Home > Operation and Maintenance > Safety > Operation and maintenance: Have you used any of the commonly used command line clients for Windows?

Operation and maintenance: Have you used any of the commonly used command line clients for Windows?

PHPz
Release: 2023-06-08 14:19:26
forward
2635 people have browsed it

For IT operation and maintenance personnel, dealing with commands is essential. Having a useful CMD command line tool is very necessary to improve efficiency. Today I will share with you commonly used command line clients for Windows. End, hope it can be helpful to everyone!

1. PowerShell

PowerShell is a command line tool that comes with Windows system, with more powerful functions and richer script support.

Official documentation: https://docs.microsoft.com/en-us/powershell/.

Here are some example commands for you. You can study more interesting commands by yourself.

##Restart the serviceRestart-Service Dnscache

2. Cmder

Cmder is a very simple, beautiful and easy-to-use replacement for cmd in Windows environment. It is a cross-platform command line enhancement tool that can integrate windows batch, power shell, git, It integrates multiple command lines such as linux bash and supports most Linux commands, such as grep, curl (without wget), vim, grep, tar, unzip, ssh, ls, bash, perl, etc.

You can also make it more convenient by customizing settings. A very important point is that the overall window appearance is much better than the cmd that comes with Windows. It supports text color differentiation, so that the commands in the window will look very comfortable.

Operation and maintenance: Have you used any of the commonly used command line clients for Windows?

Official website: https://cmder.app/.

Download address:

​https://github.com/cmderdev/cmder/releases/latest.

Recommended download: https://pan.quark.cn/s/314f6482faed.

3. Windows Terminal

Windows Terminal is an enhanced version of the terminal emulator officially launched by Microsoft, supporting multiple tabs, multiple windows and multiple terminal type. The overall style and appearance are much better and cooler than the built-in cmd. You can also download it directly through the Microsoft App Store.

Operation and maintenance: Have you used any of the commonly used command line clients for Windows?

Official website: https://aka.ms/terminal.

4, ConEmu

ConEmu is an open source terminal emulator that supports multi-tab and multi-window display, and can run multiple commands at the same time row window. The overall function is also very good, you can download it and try it out.

Official website: https://conemu.github.io/.

Operation and maintenance: Have you used any of the commonly used command line clients for Windows?

Download address:

​https://pan.quark.cn/s/7bcf2c3db374.

5. Git Bash

Git Bash is a terminal emulator that comes with Git for Windows. You can use Bash commands in the Windows environment. As the most popular code version control tool currently, Git is a must-have command client for programmers.

Operation and maintenance: Have you used any of the commonly used command line clients for Windows?

Official website: https://gitforwindows.org/.

Command function

Example

Set date and time

Set-Date -date "2022-07-02 8:30 AM"

Adjust date and time

Set-Date (Get-Date).AddDays(-1)

Verify whether there is a text named Test.txt on the C drive

Test-Path c:\Test.txt

Rename files and folders

##Rename-Item c:\Test.txt New_Test.txt

##Move files and folders

Move-Item c:\Test.txt d:\Test.txt | Move-Item c:\*.txt d:\txt\

Open the application directly

##Invoke-Item "D:\Program Files\ Huawei\Browser\HuaweiBrowser.exe"

##Open the file using the Windows default program

Invoke-Item D:\Test\Test.docx

Query Windows service status

Get-Service

The above is the detailed content of Operation and maintenance: Have you used any of the commonly used command line clients for Windows?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:51cto.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template