Unix/Linux commands Quick reference

Quick Reference: Unix Commands and options

The following format is used for commands:
Italic indicates a variable that you supply
Bold indicates exactly what you type
[ ] Square brackets indicate that the thing which they surround is optionally typed. The square brackets themselves are not to be typed.

To display a command description from the Unix Manual and can be used to get more information on each command. Type following on shell prompt to see the manual:
man command
Example: man ls to find more about the command ls

If you are not sure of the exact command name, you can use man with the -k option to help you find the command you need. To see one line summaries of each reference page that contains the keyword you specify, enter: man -k keyword Read more…

Jun 24th, 2009 | Posted by Tushar Thakker | Filed under Linux/Unix/Solaris, Shell scripting, Unix administration

Unix commands Quick reference

Special commands and characters:

Converting DOS commands to UNIX commands

There are a few command line questions that are asked very often. These questions, with answers that should be typed at your shell prompt are printed below:

DOS                 UNIX
dir ............... ls
cls ............... clear
del ............... rm
copy .............. cp
move / rename ..... mv
type .............. cat
cd ................ cd
more < file ....... more file
md ................ mkdir
rd ................ rmdir
win ............... startx
(Note:  Unlike DOS, commands and their arguments MUST be separated by a space. 
For example, "cd/" doesn't work, but "cd /" does.)

Redirection

< Routes input to command from file
> Routes output from command to file
>> Appends output to existing file
| Routes output between commands

Read more…

Jun 24th, 2009 | Posted by Tushar Thakker | Filed under Linux/Unix/Solaris, Shell scripting

PL/SQL quick reference

Oracle PL/SQL Quick Reference

 

PL/SQL Block Structure

DECLARE --Optional   --Variables, Cursors, User-defined exceptions BEGIN --Mandatory   --SQL statements   --PL/SQL statements EXCEPTION --Optional   --Actions to perform when errors occur END; --Mandatory Read more...
Jun 24th, 2009 | Posted by Tushar Thakker | Filed under Database programming, Oracle, Oracle Database, Oracle developers, Oracle PL/SQL