Documente Academic
Documente Profesional
Documente Cultură
®
TRAINING
C H A PT E R 1
Overview
• L a u n c h a p p l i ca t i o n s i n a G N O M E desktop e n v i ro n me nt.
Lab • Acces s i n g t h e C o m m a nd L i ne
C h a pte r 1 . Acces s i n g t h e C o m m a n d L i n e
-
Access i n g t h e Co m m a n d L i n e U s i n g t h e Loca l
-
Conso l e
-
Objectives
After com p l et i n g t h i s sect i o n , students s h o u l d be a b l e to l o g i nto a L i n u x system on a loca l text -
r-
l [ student@desktopX -]$ -
[ root@desktopX -]#
� - �����
I
i
I
-
L>=-SJ
-�>,
Note -
Virtual consoles -
-
-
Shel l basics
-
-
Important
I n t h e p re-config u re d v i rt u a l i m a g es d e l ivered by Red H a t , l o g i n p ro m pts have b e e n
- d i sa b l ed i n t h e v i rt u a l co n s o l es .
-
Note
I n Red H a t Enterprise L i n u x 5 a n d ea r l i e r, t h e f i rst six v i r t u a l c o n s o l e s a l ways p rovided
-
text login prom pts. When the g ra p h i ca l e n v i ro n m e nt was l a u n c h e d , it ran o n v i rt u a l
c o n s o l e seven (accessed t h ro u g h Ct r l +Al t + F 7 ) .
Shell basics
-
C o m m a n d s entered at t h e s h e l l p ro m pt have t h ree basic pa rts:
• Command to run
-
• Options to adjust the b e h a v i o r of t h e com m a n d
- R H 1 24- R H E L 7-en-1-20140606 3
-
-
C h a pte r 1 . Access i n g t h e C o m m a n d L i n e
-
r·�
[student@desktopX -]$ date
date [OPTION] . . . [+FORMAT]
! - - h elp
I -
Note
T h e man page for a com m a n d h a s a SY N O P S I S sect i o n t h a t p rovi d e s i nfor m a t i o n a b o u t -
R References
in t r o(l), bash(l ) , console(4), p t s (4), a n d man - pages(7) m a n pages -
Note: Some details of the console(4) man page, involving init(B) and inittab(S), are
outdated. -
-
4 R H 1 24- R H E L7-en-1-20140606
-
-
-
Quiz
- I A rg u m e nt jI 18 Command Phys i ca l c o n s o l e
-
j P ro m pt
!B I I
Shell Te r m i n a l Vi r t u a l c o n s o l e
Description Term
-
I
-
T h e n a m e o f a p ro g ra m to r u n .
- T h e pa rt o f t h e c o m m a n d l i n e t h a t a dj u sts t h e
b e h a v i o r o f a co m m a n d .
-
T h e p a rt o f t h e co m m a n d l i n e t h a t s pe c i f i e s t h e
- ta rget t h a t t h e co m m a n d s h o u l d o p e rate o n .
-
T h e h a rd wa re d i s p l a y a n d keyboa rd u s e d t o
i nt e ract w i t h a syst e m .
-
O n e of m u lt i p l e l o g i ca l co n s o l es t h a t c a n e a c h
- s u p po rt a n i n d e pe n d e n t l og i n sess i o n .
- R H 1 24- R H E L 7-en-1-20140606 5
-
-
C h a pte r 1 . Access i n g t h e C o m m a n d L i n e
-
Description Term -
6 RH124- R H E L 7 - e n -1-20140606 -
-
-
Solution
-
Solution
-
Description Term
T h e n a m e of a p rog ra m to r u n . Co m m a n d
-
-
T h e pa rt of t h e c o m m a n d l i n e that s p e c i f i es t h e A rg u m e nt
ta rg et t h a t t h e c o m m a n d s h o u l d o p e rate o n .
-
T h e h a rd wa re d i s p l ay a n d keybo a rd u s ed to Phys i ca l c o n s o l e
-
i nt e ra ct w i t h a syst e m .
·-
O n e of m u l t i p l e l o g i ca l c o n s o l es t h a t ca n e a c h V i rt u a l co n so l e
s u p p o rt a n i n d e p e n d e n t l og i n sess i o n .
-