Friday 30 January 2015

shortcut keys


Shortcut Keys Summary for UNIX/Linux
Keyboard Bindings

Shortcut Keys
Function
Ctrl + Shift + Space
Complete Command
Esc
Complete Command
Home
Cursor to start of line
End
Cursor to end of line
Page Up
Cursor back one page
Page Down
Cursor forward one page
Ctrl + Home
Cursor to top of worksheet
Ctrl + End
Cursor to end of worksheet
Ctrl + Left Arrow
Cursor to previous word
Ctrl + Right Arrow
Cursor to next word
Ctrl + Up Arrow
Move to top of input line
Ctrl + Down Arrow
Move to bottom of input line
Shift + Enter
Soft new line
Tab
Cursor down to next input region
\
Escape next character for entering "^"
Ctrl + Tab
Move forward through multiple open worksheet and document tabs in a Maple window.
Ctrl + Shift + Tab
Move backward through multiple open worksheet and document tabs in a Maple window.

  
For a list of math editing shortcut keys, see 2-D Math Shortcut Keys and Hints.
  
The following is a list of menu accelerators.
Shortcut Keys
Function
Ctrl + N
New Document/Worksheet (based on Options dialog setting)
Ctrl + O
Open Worksheet
Ctrl + F4
Close Current Worksheet
Ctrl + S
Save Worksheet
Ctrl + P
Print Worksheet
Alt + F4
File -> Exit
 
 
Alt + Backspace
Undo
Ctrl + Y
Redo
 
 
Ctrl + X
Cut to Motif Clipboard
Ctrl + C
Copy to Motif Clipboard
Ctrl + Shift + M
Copy Selection as MathML
Ctrl + V
Paste from Motif Clipboard
Ctrl + Delete
Delete an Element
 
 
Ctrl + A
Select All
Ctrl + Alt + Shift + D
Select document block
Ctrl + Alt + Shift + E
Select execution group
Ctrl + Alt + Shift + S
Select section
Ctrl + F
Find/Replace
 
 
F5
Switch between Text and Math mode
F3
Split Execution Group
F4
Join Execution Group
Shift + F3
Split Section
Shift + F4
Join Section
Enter
Evaluate
Alt + Enter
Evaluate and Display Inline (U.S. and International keyboards)
Ctrl + =
Evaluate and Display Inline (U.S. keyboards)
Ctrl + Shift + A
Convert the selected expression into an atomic identifier (2-D math only)
 
 
Ctrl + 0
Zoom to 50%
Ctrl + 1
Zoom to 75%
Ctrl + 2
Zoom to 100%
Ctrl + 3
Zoom to 125%
Ctrl + 4
Zoom to 150%
Ctrl + 5
Zoom to 200%
Ctrl + 6
Zoom to 300%
Ctrl + 7
Zoom to 400%
F9
Show/Hide Execution Group Range Guides
Shift + F9
Show/Hide Section Range Guides
 
 
Ctrl + T
Switch to Text Input
Ctrl + M
Switch to Maple Input
Ctrl + R
Switch to 2-D Math Input
Ctrl + L
Insert Label
Ctrl + Enter
Insert a Page Break
 
 
Ctrl + K
Insert Execution Group Before Current Paragraph
Ctrl + J
Insert Execution Group After Current Paragraph
Shift + Ctrl + J
Insert Paragraph After Current Paragraph
Shift + Ctrl + K
Insert Paragraph Before Current Paragraph
 
 
Ctrl + B
Bold (text or Maple input)
Ctrl + I
Italic (text or Maple input)
Ctrl + U
Underline (text or Maple input)
Ctrl + .
Section Indent
Ctrl + ,
Section Outdent
 
 
F7
Spellcheck
 
 
Ctrl + F1
Help Table of Contents
Ctrl + F2
Maple Quick Reference Card
F1
Quick Help Pop-up Menu
F2
Context-sensitive Help
Shift + Ctrl + E
Launch the startup code editor

Thursday 29 January 2015

path

Path:

Program files (executables) are kept in many different places on the Unix system. Your path tells the Unix shell where to look on the system when you request a particular program.

To find out what your path is, at the Unix shell prompt, enter:
  echo $PATH
 
 
 
 

To modify your path

If you are using csh or tcsh, at the shell prompt, enter:

setenv PATH $PATH\:/dir/path

If you are using sh, ksh, or bash, at the shell prompt, enter:

PATH=$PATH\:/dir/path ; export PATH
 
 
 
 
 
 
 
 
 
 
 
  

Wednesday 28 January 2015

file explorer

File explorer: 

File Explorer, previously known as Windows Explorer, is a file manager application that is included with releases of the Microsoft Windows operating system from Windows 95 onwards. It provides a graphical user interface for accessing the file systems. It is also the component of the operating system that presents many user interface items on the monitor such as the taskbar and desktop. Controlling the computer is possible without Windows Explorer running.

Explorer could be accessed by double-clicking the new My Computer desktop icon, or launched from the new Start Menu that replaced the earlier Program Manager. There is also a shortcut key combination: Windows key + E. Successive versions of Windows (and in some cases, Internet Explorer) introduced new features and capabilities, removed other features, and generally progressed from being a simple file system navigation tool into a task-based file management system.

servers


Definition of Apache server:

 Apache is generally recognized as the world's most popular Web server (HTTP server). Originally designed for Unix environments, the Apache Web server has been ported to Windows and other network operating systems. The name "Apache" derives from the word "patchy" that the Apache developers used to describe early versions of their software.
                                                  The Apache Web server provides a full range of Web server features, including CGI, SSL, and virtual domains. Apache also supports plug-in modules for extensibility. Apache is free software, distributed by the Apache Software Foundation that promotes various free and open source advanced Web technologies


 Application server


An application server can be either a software framework that provides a generalized approach to creating an application-server implementation, regard to what the application functions are, or the server portion of a specific implementation instance. In either case, the server's function is dedicated to the efficient execution of procedures (programs, routines, scripts) for supporting its applied applications.

Application Server vs Web Server

1. Application Server supports distributed transaction and EJB. While Web Server only supports Servlets and JSP.
 
2. Application Server can contain web server in them. most of App server e.g. JBoss or WAS has Servlet and JSP container.
3. Though its not limited to Application Server but they used to provide services like Connection pooling, Transaction management, messaging, clustering, load balancing and persistence. Now Apache tomcat also provides connection pooling.
4. In terms of logical difference between web server and application server. web server is supposed to provide http protocol level service while application server provides support to web service and expose business level service e.g. EJB.
5. Application server are more heavy than web server in terms of resource utilization.

linux basic commands

                                 linux commands

   

The pwd Command
  pwd, which stands for present working directory. This command shows the name and location of the current directory, which is the directory (also called a folder on some operating systems) in which the user is currently working. All that is necessary in order to use this command is to type the word pwd in at the keyboard as follows and then press the ENTER key:



The ls Command
ls is another of the most basic and frequently used commands on Unix-like operating systems. It is equivalent to DIR on MS-DOS systems, and it lists the contents of a directory. When used just by itself, it provides a list of the names of the objects (i.e., files, directories and links) in the current directory, i.e.,
ls

for hidden files
 ls -a

Another common option for ls is -s, which shows the size of each file (but not directory 3) in kilobytes. This option is often used together with the above two options as
ls -als


The cd Command
The last of what are perhaps the three most basic commands on Unix-like operating systems is cd, which is used to change the current directory. This is equivalent to the CD and CHDIR commands in MS-DOS.
Thus, for example, to change the current directory to the /bin directory, the following would be used:
cd /bin
Likewise, to change to the root directory, the following would be used:
cd /
Any user can return to its home directory by using a tilde as the argument for cd. A tilde is a short, wavy, horizontal line that represents the home directory of the current user, and this character is located in the upper left hand corner on most standard English language keyboards. That is, any user can return immediately to its home directory by typing the following and then pressing the ENTER key:

cd ~


The touch Command
The touch command is the easiest way to create new, empty files. Its syntax is
touch [option] file_name(s)
No options are required for basic file creation. Thus, for example, to create a new file named file1 within the current directory (i.e., the directory in which the user is currently working), all that is necessary is to type the following command and then press the ENTER key:
touch file1

The mkdir Command
The mkdir command is is used to create new directories (which are also referred to as folders in some operating systems). Its syntax is
mkdir [option] directory_name(s)

The rm Command
The rm command is often the most efficient way to remove files and directories. Its syntax is
rm [option] file_name(s)
Thus, for example, to delete file1, the following would be used:
rm file1


This can become tedious if it is desired to delete a large number of files, such as all of the files within a directory. A much more efficient (but also more dangerous) way to do this is to use wildcards, which can be used to represent anything. For example, the star (*) character is a wildcard that can represent any string (i.e., any sequence of characters). Therefore, the following would delete every file in the current directory:
rm *
And the following would remove everything in the directory dir1:
rm dir1/*
As another illustration of the great versatility that wildcards add to the command line, the following would delete all files in the current directory that have a file name extension of .html but would leave all others intact:
rm *.html
 
The rmdir Command
The rmdir command provides another way to remove empty directories. Its syntax is:
rmdir [option] directory_names
When used without any options, rm will delete any empty directories whose names are supplied as arguments.


The cp Command
The cp command is used to copy files and directories. The copies become independent of the originals (i.e., a subsequent change in one will not affect the other).
cp's basic syntax is
cp [options] name new_name
If a file with the same name as that assigned to the copy of a file (or a directory with the same name as that assigned to the copy of a directory) already exists, it will be overwritten. By default, cp only copies files and not directories.
When a copy is made of a file or directory, the copy must have a different name than the original if it is to be placed in the same directory as the original. However, the copy can have the same name if it is made in a different directory. Thus, for example, a file named file4 which resides in the current directory could be copied with the same name into another directory, such as into /home/john/, as follows:
cp file4 /home/john/file4
Any number of files can be simultaneously copied into another directory by listing their names followed by the name of the directory. cp is an intelligent command and knows to do this when only the final argument is a directory. The files copied into the directory will all have the same names as the originals. Thus, for example, the following would copy the files named file5, file6 and file7 into a directory named dir6:
cp file5 file6 file7 dir6
cp's -r option, which can also be written with an upper case -R, allows directories including all of their contents to be copied. Thus, for example, the following command would make a copy of an existing directory called dir7, inclusive of all it contents (i.e., files, subdirectories, their subdirectories, etc.), called dir8:
cp -r dir7 dir8
The mv Command
The mv command is used to rename and move files and directories. Its basic syntax is:
mv [options] source target




The mv Command
The mv command is used to rename and move files and directories. Its basic syntax is:
mv [options] source target
for example, to rename a file called file8 to file9, both in the current directory, the following would be used:
mv file8 file9


Detailed information (including all options) about mv as well as all of the other commands discussed above can be obtained by using their --help option. 
mv --help

df reports the amount of free disk space available on each partition.

ln creates links between files.

Examples:
To make a soft (symbolic) link "hello" to the file "/home/alice/code/bin/world":
$ ln -s /home/alice/code/bin/world hello