Tag Archives: Command-line interface

Cisco ASA Command Line Basics

This post is for people who are new to the Cisco ASA command line, or seasoned network administrators like myself who need to review or brush up on the command line basics for the ASA console. Instead of using my … Continue reading

Posted in Networking, System Administration | Tagged , , | Leave a comment

GNU findutils

Continuing the theme of standard Unix and Linux command-line tools, I want to pay homage to the GNU findutils. This essential toolkit includes the find and xargs commands. Many system administration tasks can be accomplished and automated by finding files … Continue reading

Posted in Linux | Tagged , , , , , | Leave a comment

VMware ESXi Commands

Thanks to Robert Chase for a very useful list of VMware ESXi shell commands to control your ESXi virtual infrastructure from the low-level hypervisor command-line. See the following article for details. VMware ESXi SSH CLI commands (robertbchase.blogspot.com)

Posted in System Administration | Tagged , , , , , | Leave a comment

Clear Current Command in Bash

If you’re on the Bash command-line and you want to clear the current command, try the following: CTRL+U to clear to the left up-to the cursor, and CTRL+K to klear to the right after the cursor (misspelling intended). More of … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

Delete Old Log Files with Linux Shell

One of the most needed system administration tasks can be surprisingly difficult to do well. Old log files should be deleted or cleaned up to keep the number of files and disk space used manageable. Here is an example using … Continue reading

Posted in Linux, System Administration | Tagged , , , , | Leave a comment

Command Line Email in Cygwin

Cygwin provides a Linux-like environment on Windows, but unfortunately the heirloom mailx (aka nail) email utility is not included as a supported package. I previously recommended mailx for quick command-line email in Linux. For Cygwin users, a similar utility is … Continue reading

Posted in System Administration | Tagged , , , , , | 14 Comments

SQL Script Output

If you use SQL scripts with Microsoft SQL Server, you may want to clean up the output to make your script log messages more readable. Here are some recommendations to beautify the output: SET NOCOUNT ON — suppress output of … Continue reading

Posted in Database | Tagged , , | Leave a comment

Cygwin Default Terminal mintty

As a Linux user on Windows, I often want my familiar Linux shell environment and programs to solve everyday problems or work some quick command-line magic. One thing that always bugged me about Cygwin and the Windows command-line was the … Continue reading

Posted in System Administration | Tagged , , , | Leave a comment