Category Archives: Command Line

Command Line encompasses everything about your native programming language. These posts are generally hacks and modifications to your system for extreme customization.

CMD: Batch Files

If you just want to know how to make Batch files, scroll to the bottom.   While batch files are not exactly related to CMD, they use similar commands and therefore I’ve put them together. A batch file is like a set of CMD commands that you can save as a file to be run […]

Emacs in Terminal

GNU Emacs is the text editor of Terminal. But that’s not all. Emacs comes preloaded with multitudes of useful programs from its text editor to its games. This article will show you how to take advantage of it. Emacs First off, open Terminal by: Using the spotlight Going to Applications > Utilities > Terminal Type […]

Terminal: Folder Commands

This is a tutorial similar to the one for CMD. Take a look at some useful Terminal scripts here. 1. Navigating Folders To move through folders, use the “cd” command: cd Desktop/myfolder This will navigate from you root folder (“Username”) to a folder called “myfolder” on your Desktop. If you have a folder with a […]

Command Prompt: Shutdown Scripts

This article will teach you how to shutdown you computer in [many] different ways using CMD.   The Syntax The command used to shutdown you computer is: shutdown [switches] It is rather simple, but you have to use the following switches: -s Performs shutdown. -t xxx Performs selected action after xxx seconds. -c “comment” Displays […]

Command Prompt: Files

This is a continuation of the CMD tutorial. Read part 1 about looks here, and part 2 about folders here.   1. Moving Files After using “cd” and “dir”, you might need to move adocument from your Desktop to your USB Flash Drive. Here’s how, assuming you are in your Desktop: move filename.ext c:\usb-drive-name Notice, […]