Professional Documents
Culture Documents
WHAT IS SHELL
• Shell is an command language interpreter that
executes commands read from the standard
input device (keyboard) or from a file.
BASH ( Bourne- Brian Fox and Free Software Most common shell in Linux. It's Freeware
Again SHell ) Chet Ramey Foundation shell.
CSH (C SHell) Bill Joy University of The C shell's syntax and usage are very
California (For similar to
BSD) the C programming language.
KSH (Korn David Korn AT & T Bell Labs Originally available in rpm-based systems
SHell) as part of the pdksh package.
TCSH SHELL Bill Joy -- TCSH is an enhanced but completely
compatible version of the Berkeley UNIX C
shell (CSH).
ASH SHELL Kenneth -- Lightweight version of Berkeley Unix sh
Almquist shell.
Good shell for embedded system.
SHELL INTERFACE
SHELL INTERFACE DESCRIPTION
Shell prompt •The shell is the program that interacts between you and the
operating system.
•For Linux system has no GUI
•Default prompt for regular user : $
•Default prompt for root user : #
Terminal windows •A program that opens up a window and then runs a shell in that
window.
•For Linux system has GUI
•To launch : Application Accessories Terminals
Virtual terminals •Ways to have multiple shell session open at once outside of GUI.
•Can switch between virtual terminals like switch between workspace
on GUI.
•Press Ctrl + Alt + F1 (or F2, F3, F4, F5 and F6) to display on of six
virtual terminals.
•To return to GUI press CTRL + Alt + F7
LINUX TEXT EDITOR
TEXT EDITOR DESCRIPTION
vi editor Vi has two modes: Command mode to edit, save,
or quit; Text mode to type.
Use the Esc key to change from one mode to the
other.
pico (PIne Start the Pico editor by typing pico at the prompt
COmposer) followed by a file name. Exp: pico newfile.txt
editor The blinking cursor indicates where may begin
typing.
joe (Joe’s Own A terminal-based text editor for Unix systems,
Editor) available under the GPL.
Use control and arrow keys to move around.
Press Ctrl + C to exit without save and Ctrl – X to
save and exit
TEXT EDITOR DESCRIPTION
mcedit editor A free cross-platform orthodox file manager.
(Midnight a console application with a text user interface. The
Commander main interface consists of two panels which display the
Editor) file system.
Arrow keys control file selection, the insert key is used to
select files and the Function Keys perform operations
such as renaming, editing and copying files.
emacs (Editor Emacs falls somewhere between the straightforward
MAcroS) editor Pico and the complicated Vi.
Typing emacs followed by a file name at the prompt.
To type : hold down the Ctrl key and press a letter.
Graphical text Nedit: 'Nirvana Editor' is a text editor and source code
editors: Nedit, editor for the X Window System.
Xedit Xedit: XEDIT performs the role of user interface manager
for many programs. For example, the FULIST program
which is a general purpose file manager on VM is written
as XEDIT macros
FILE SYSTEM TYPES
TYPE DESCRIPTION
Bfs Boot file system
Ext2 Second Extended file system
Partition
Disk
USB # mount /dev/usbdisk /mnt/usbdisk # umount /mnt/usbdisk
storage
MONITOR FREE SPACE ON MOUNTED FILE
SYSTEM