Idézet:
Originally Posted by ennstate
Azt hiszem, azt akarjuk, hogy rögzítse a terminál session, akkor használja parancsaihoz.
A héj promptot
Kód:
script capture-this-session.txt
férfi script for more info.
Köszönöm
Nagarajan G
|
Sajnálom, hogy tényleg nem segít, akkor van értelme, hogy neked, de sajnos nem nekem.
Itt van a probléma:
Én ezt a parancsot egy bash shell: history | grep "emacs"
és I get:
35 emacs new.txt
37 emacs new.txt
41 emacs new.txt
48 cd emacs / bob /
50 emacs Feb1lul.txt
62 grep emacs newbob.txt
63 grep "emacs" newbob.txt
65 history | grep emacs
85 history | grep "emacs"
107 history | grep "emacs"
Szeretném, ráadásul a szám és a parancs is, a kemény könyvtárban. Szóval ez hogyan szeretnék megtekinteni története
35 emacs new.txt / név / sub_dir / new.txt
37 emacs new.txt *
41 emacs new.txt *
48 cd emacs / bob / / emacs / bob
50 emacs Feb1lul.txt / emacs/work.../Feb1lul.txt
és így tovább
62 grep emacs newbob.txt
63 grep "emacs" newbob.txt
65 history | grep emacs
85 history | grep "emacs"
107 history | grep "emacs"
any help appreciated