1
7/3/2010
CSH (C Shell)
The C shell's syntax and usage are very similar to the
C programming language.
TCSH
TCSH is an enhanced but completely compatible
version of the Berkeley UNIX C shell (CSH).
"terminal emulators.“
2
7/3/2010
CLI
Because of the memorization and familiarity needed
to operate a command line interface new users find it
much more difficult to successfully navigate and
operate a command line interface.
GUI
Although new users may have a difficult at time
learning to use the mouse to operate and use a GUI
most users pick up this interface much easier when
compared to a command line interface.
3
7/3/2010
CLI
Users have much more control of their file system
and operating system in a command line interface.
For example, users can easily copy a specific type of
file from one location to another with a one-line
command.
GUI
Although a GUI offers plenty of control of a file
system and operating system often advance users or
users who need to do specific task may need to
resort to a command line to complete that task.
CLI
Because command line users only need to use their
keyboards to navigate a command line interface and often
only need to execute a few lines to perform a task an
advanced command line interface user would be able to
get something done faster then an advance GUI user.
GUI
A GUI may be easier to use because of the mouse.
However, using a mouse and/or keyboard to navigate
and control your operating system for many things is
going to be much slower than someone who is working in
a command line environment.
4
7/3/2010
CLI
A computer that is only using the command line
takes a lot less of the computers resources.
GUI
A GUI will require a lot more system resources
because of each of the elements that need to be
loaded such as icons, fonts, etc. In addition video
drivers, mouse drivers, and other drivers that need
to be loaded will also take additional resources.
CLI
Although many command line environments are
capable of multitasking they do not offer the same
ease and ability to view multiple things at once on
one screen.
GUI
GUI users have windows that enable a user to easily
view, control, and manipulate multiple things at
once and is commonly much faster to do when
compared to a command line.
5
7/3/2010
CLI
A command line interface enables a user to easily
script a sequence of commands to perform a task or
execute a program.
GUI
Although A GUI enables a user to create shortcuts,
tasks, or other similar actions to complete a task or
run a program it doesn't even come close in
comparison to what is available through a command
line.
CLI
Often when accessing another computer or networking
device over a network a user will only be able to
manipulate the device and/or its files using a command
line, CLI, or other text only manipulation.
GUI
Although remote graphical access is becoming popular
and is possible. Not all computers and especially not all
network equipment will have this ability.
6
7/3/2010
7
7/3/2010
Notes:
1Directories follow a designed order starting
8
7/3/2010
Inconsistencies
9
7/3/2010
10
7/3/2010
11
7/3/2010
12
7/3/2010
13
7/3/2010
a bogus filesystem
14
7/3/2010
15
7/3/2010
16
7/3/2010
17
7/3/2010
pwd
The directory you are standing in is called the
working directory
To find the name of the working directory, use the
pwd command.
18
7/3/2010
ls
list all the files in the working directory
Commonly used options are:
-l : Shows you huge amounts of information
(permissions, owners, size, and when last modified.)
-a: Shows you all files, even files that are hidden
(these files begin with a dot.)
19
7/3/2010
cd
To change your working directory (where you
are standing in the maze) you use the cd
command. To do this, type cd followed by the
pathname of the desired working directory
Pathnames can be specified in one of two
different ways; absolute pathnames or relative
pathnames.
20
7/3/2010
file
As you wander around your Linux system, it is
helpful to determine what a file contains before
you try to view it.
examine a file and tell you what kind of file it
is.
To use the file program, just type:
file name_of_file
21