How can I connect to a Windows server using a Command Line Interface? (CLI)

There are several fairly easy options available for remotely managing a remote Windows Server using a command line, including a few native options. Native Options: WinRS/WinRM Windows Remote Shell/Management tool is the easiest way to remotely manage a remote Windows server in a command line utility, and as with most Windows command line utilities, ss64 … Read more

How to display certain lines from a text file in Linux?

sed -n ‘10000000,10000020p’ filename You might be able to speed that up a little like this: sed -n ‘10000000,10000020p; 10000021q’ filename In those commands, the option -n causes sed to “suppress automatic printing of pattern space”. The p command “print[s] the current pattern space” and the q command “Immediately quit[s] the sed script without processing … Read more