next up previous
Next: Przykład pliku konfiguracyjnego .cshrc Up: wyklad10 Previous: Historia poleceń:

Odwoływanie się do historii poleceń:

[adam@etoh ~]$ !257
set | grep filec

[adam@etoh ~]$ ls -l log
-rw-r--r--   1 adam     users          25 Oct 30 10:56 log

[adam@etoh ~]$ !!
ls -l log
-rw-r--r--   1 adam     users          25 Oct 30 10:56 log

[adam@etoh ~]$ more flagg
Flagg's law of communication
When all other means of communication fail, try words.
[adam@etoh ~]$ more veilind 
Veilind's law of experimentation:

(1) If reproducibility may be a problem, conduct the test only once.
(2) If a straight line fit is required, obtain only two data points.

[adam@etoh ~]$ 
[adam@etoh ~]$ !-2
more flagg
Flagg's law of communication
When all other means of communication fail, try words.

[adam@etoh ~]$ ^flagg^veilind
more veilind
Veilind's law of experimentation:

(1) If reproducibility may be a problem, conduct the test only once.
(2) If a straight line fit is required, obtain only two data points.



Adam Liwo 2002-03-07