using "script" in bash

Nikos Alexandris nikos.alexandris at uranus.uni-freiburg.de
Sun Feb 17 13:13:47 GMT 2008


Γεια σου Σωτήρη.

Μόλις το δοκίμασα χωρίς κανένα πρόβλημα.

nik at vertical:~$ script
Script started, file is typescript
nik at vertical:~$ whoami 
nik
nik at vertical:~$ exit
exit
Script done, file is typescript
nik at vertical:~$ cat typescript 
Script started on Sun 17 Feb 2008 14:12:26 CET
nik at vertical:~$ whoami 
nik
nik at vertical:~$ exit
exit

Script done on Sun 17 Feb 2008 14:12:33 CET

Έχεις δικαιώματα στον κατάλογο που δουλεύεις;



On Sun, 2008-02-17 at 15:01 +0200, sotiris wrote:
> Διαβάζω ένα βιβλίο για το bash όπου μας προέκυψε καινούρια εντολή, το
> script. 
> 
> "Script makes a typescript of everything printed on your terminal.  It
> is
>      useful for students who need a hardcopy record of an interactive
> session
>      as proof of an assignment, as the typescript file can be printed
> out
>      later with lpr(1)."
> 
> Το θέμα είναι ότι αφού κάνω
> script
> δημιουργεί μεν  το αρχείο typescript αλλά όταν δίνω διάφορες εντολες
> του τυπου
> date, ls etc...
> παραμένει κενό
> Τι κανω λαθος?
> ubuntu 7.04
> 
> -- 
> sot
-- 
Nikos Alexandris
.
Mobile: +176 22 51 70 18
Skype: Nikos.Alexandris




More information about the Ubuntu-gr mailing list