EasyManua.ls Logo

HP 382 - Page 45

HP 382
162 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FINAL TRIM SIZE : 7.5 in x 9.0 in
4
Determining
Y
our
Login
Shell
The
command
echo
$SHELL
displays
the le
name of
the shell
y
ou
en
tered
when
you
logged
in.
$echo
$SHELL
/bin/sh
$
T
emporarily
Changing
Y
our
Shell
Unless
y
ou
are
in
a
restricted
shell,
y
ou
can
temp
orarily c
hange
y
our
shell
b
y
using
this
command:
shel
l
name
where
shel
l
name
is
the
name
of
the
shell
(for
example,
sh
,
ksh
,
or
keysh
).
T
emp
orarily
c
hanging
y
our
shell
lets
y
ou
exp
erimen
t
in
other
shells. By
typing
the name
of
the
shell
y
ou
w
an
t
to
run,
y
ou
invoke
(en
ter)
that
shell,
and
the
correct
prompt
is
displa
y
ed.
After
experimen
ting
in
the
new
shell,
return
to
y
our
original
shell
b
y
t
yping
either
exit
or
4
CTRL
5
-
4
D
5
.
P
ermanently
Changing
Your
Shell
T
op
ermanently
c
hange
y
our
lo
gin
shel
l
(the
default
shell
y
ou
get
when
y
ou
log
in),
use
the
chsh
ch
ange
sh
ell)
command:
chsh
username
shel
l
p
ath
name
where
username
is
y
our user
name and
shel l
p
ath
name
is
the
full
path name
(e.g.,
/bin/ksh
)
of
the
shell
y
ou
w
an
t
as
y
our default.
After y
ou use
the
chsh
command,
you
must
log
out
and
log
in
again
for
the
c
hange
to
take
eect.
F
or
example,
if
terry
c
hanges
the
default
login
shell
to the
Korn
Shell,
the
command reads:
$ chsh terry /bin/ksh
$
Using the Command Line 4-5

Other manuals for HP 382

Related product manuals