Quantcast
Channel: cmd | Securitron Linux blog.
Browsing latest articles
Browse All 13 View Live

Some useful Windows commands to use in the cmd window. Get information about...

This command lists the information about your user. C:\Users\homer>net user Administrator User name Administrator Full Name Comment Built-in account for administering the computer/domain User's...

View Article



More useful Windows Server 2012 CMD commands.

The route PRINT command shows the routing table. This gives some insight into your network connections. C:\Users\Administrator>route PRINT...

View Article

How to use the runas command in Windows to elevate privileges.

The runas command in Windows allows a user to elevate their level of privileges to run a command as the Administrator user. The example below shows the usage of the runas command to open another cmd...

View Article

Calculate subnets with the Linux command line and sipcalc.

The sipcalc utility for Linux is used to calculate subnets for IP addresses. The below example shows a /26 address and the available IP addresses and number of network nodes in the subnet. This is a...

View Article

Add BASH styled line editing and persistent history to the CMD window.

This useful utility: http://mridgers.github.io/clink/. Will allow persistent history and line editing in the Windows 10 CMD window. This makes the CMD session much more enjoyable to use. Press Alt-H in...

View Article


How to search for files on a Windows machine with the command line. And some...

This command will search a directory recursively to find files matching a pattern. C:\Users\Homer>where /R C:\Users\homer\Documents *.txt C:\Users\Homer\Documents\age-of-ultron-script-outline.txt...

View Article

How to pipe the output of a Windows command to the clipboard.

Apparently, there is an obscure feature in the Windows CMD prompt that allows users to pipe the output of a Windows CMD command on STDOUT to the Windows clipboard. The clip command allows this. For...

View Article

How to get system information in Windows with CMD.

The systeminfo command for Windows allows a user to get comprehensive system information. The default usage outputs the most system information in one go. C:\Users\Corporal Kerry>systeminfo | clip...

View Article


How to remove windows features with the dism command.

These commands used in a Administrator cmd prompt will cleanup any Windows update files and any other unwanted temporary files on your Windows system. dism /online /cleanup-image /spsuperseded cleanmgr...

View Article


Obscure Windows CMD commands.

There are quite a few Windows CMD commands that users do not know about. I will be showing you a handful to improve your usage of the CMD prompt. The findstr command. This is just like the grep command...

View Article

Very useful CMD commands to use on a Windows machine.

To get system information about a Windows PC, use this simple command in CMD. systeminfo /FO CSV /NH This should give the user a CSV formatted output that can be imported into a spreadsheet. Search a...

View Article

How to resize a window on Linux with the command line.

Resizing a window that has no border can be a problem on Linux. I started MPV with no border to watch a stream of TV and it was larger than I wanted. I could not resize the window by the old...

View Article

Interesting command line tricks on Windows.

There are quite a few interesting command-line tricks for Windows. Create a folder named CON. This is quite difficult to delete. echo "hello" > \\.\C:\Users\shawn\Documents\CON Another interesting...

View Article

Browsing latest articles
Browse All 13 View Live


Latest Images