makeRIC

Create Something New

Linux Commands

Mon, 2011-02-14 15:12 -- admin

To get started with Drupal, you should familiarize yourself with some command line functions.

Command Description
cd Change Directory
cd .. Change Directory Up One Level
cp copy
li List directory contents
li -1 List directory contents in a column
cp copy
cp * /path/ -rfv Recursively copy all files and subdirectories to the target path and show me what you are doing
tar -xvf filename.gz Extracts contents of file to the current directory
vi name of file

A common editor in linux distrutions.

:q! = Exit without Saving

:x = Save and Exit

Switch between insert and Replace mode withe the insert key on the keyboard

Get out of edit mode so that you can enter the ":" commands with ESC.

wget Web get...allows you to get files from the net from the command line.  I use this a lot with Drupal