Журнал лабораторных работ

Содержание

Журнал

Вторник (11/27/12)

/dev/pts/2
19:25:00
$cp -v /etc/* /tmp/etccopy 2>&1|less
19:25:00
$cp -v /etc/* /tmp/etccopy 2>&1|less
19:25:00
$cp -v /etc/* /tmp/etccopy 2>&1|less
19:25:00
$cp -v /etc/* /tmp/etccopy 2>&1|less
19:25:00
$cp -v /etc/* /tmp/etccopy 2>&1|less
19:25:00
$cp -v /etc/* /tmp/etccopy 2>&1|less
19:25:00
$cp -v /etc/* /tmp/etccopy 2>&1|less
/dev/pts/0
19:25:10
$cp -v /etc/* /tmp/etccopy 2>&1 /tmp/dirlist 2>&1
cp: /tmp/dirlist is not a directory
19:25:24
$cp -v /etc/* /tmp/etccopy > mp/dirlist 2>&1

19:25:42
$cp -v /etc/* /tmp/etccopy > /tmp/dirlist
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
cp: /etc/skel is a directory (not copied).
cp: /etc/X11 is a directory (not copied).
cp: /etc/opiekeys: Permission denied
cp: /etc/opieaccess: Permission denied
cp: /etc/nsmb.conf: Permission denied
cp: /etc/master.passwd: Permission denied
cp: /tmp/etccopy/localtime: Permission denied
cp: /tmp/etccopy/termcap: Permission denied
cp: /etc/spwd.db: Permission denied
cp: /tmp/etccopy/rmt: Permission denied
19:25:44
$cat /etc/passwd | sort | tee sorted_passwd | less
/dev/pts/2
19:25:53
$cp -v /etc/* /tmp/etccopy 2>&1 | less
/dev/pts/2
19:26:54
$cp -v /etc/* /tmp/etccopy less
cp: less is not a directory
19:26:54
$cp -v /etc/* /tmp/etccopy less
cp: less is not a directory
19:26:54
$cp -v /etc/* /tmp/etccopy less
cp: less is not a directory
19:26:54
$cp -v /etc/* /tmp/etccopy less
cp: less is not a directory
19:26:54
$cp -v /etc/* /tmp/etccopy less
cp: less is not a directory
19:27:04
$cp -v /etc/* /tmp/etccopy |ess
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
/etc/nsswitch.conf -> /tmp/etccopy/nsswitch.conf
/etc/nscd.conf -> /tmp/etccopy/nscd.conf
/etc/newsyslog.conf -> /tmp/etccopy/newsyslog.conf
/etc/networks -> /tmp/etccopy/networks
/etc/network.subr -> /tmp/etccopy/network.subr
/etc/netstart -> /tmp/etccopy/netstart
/etc/netconfig -> /tmp/etccopy/netconfig
/etc/motd -> /tmp/etccopy/motd
/etc/manpath.config.bak -> /tmp/etccopy/manpath.config.bak
/etc/manpath.config -> /tmp/etccopy/manpath.config
19:27:04
$cp -v /etc/* /tmp/etccopy |ess
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
/etc/nsswitch.conf -> /tmp/etccopy/nsswitch.conf
/etc/nscd.conf -> /tmp/etccopy/nscd.conf
/etc/newsyslog.conf -> /tmp/etccopy/newsyslog.conf
/etc/networks -> /tmp/etccopy/networks
/etc/network.subr -> /tmp/etccopy/network.subr
/etc/netstart -> /tmp/etccopy/netstart
/etc/netconfig -> /tmp/etccopy/netconfig
/etc/motd -> /tmp/etccopy/motd
/etc/manpath.config.bak -> /tmp/etccopy/manpath.config.bak
/etc/manpath.config -> /tmp/etccopy/manpath.config
19:27:04
$cp -v /etc/* /tmp/etccopy |ess
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
/etc/nsswitch.conf -> /tmp/etccopy/nsswitch.conf
/etc/nscd.conf -> /tmp/etccopy/nscd.conf
/etc/newsyslog.conf -> /tmp/etccopy/newsyslog.conf
/etc/networks -> /tmp/etccopy/networks
/etc/network.subr -> /tmp/etccopy/network.subr
/etc/netstart -> /tmp/etccopy/netstart
/etc/netconfig -> /tmp/etccopy/netconfig
/etc/motd -> /tmp/etccopy/motd
/etc/manpath.config.bak -> /tmp/etccopy/manpath.config.bak
/etc/manpath.config -> /tmp/etccopy/manpath.config
19:27:04
$cp -v /etc/* /tmp/etccopy |ess
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
/etc/nsswitch.conf -> /tmp/etccopy/nsswitch.conf
/etc/nscd.conf -> /tmp/etccopy/nscd.conf
/etc/newsyslog.conf -> /tmp/etccopy/newsyslog.conf
/etc/networks -> /tmp/etccopy/networks
/etc/network.subr -> /tmp/etccopy/network.subr
/etc/netstart -> /tmp/etccopy/netstart
/etc/netconfig -> /tmp/etccopy/netconfig
/etc/motd -> /tmp/etccopy/motd
/etc/manpath.config.bak -> /tmp/etccopy/manpath.config.bak
/etc/manpath.config -> /tmp/etccopy/manpath.config
19:27:04
$cp -v /etc/* /tmp/etccopy |ess
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
/etc/nsswitch.conf -> /tmp/etccopy/nsswitch.conf
/etc/nscd.conf -> /tmp/etccopy/nscd.conf
/etc/newsyslog.conf -> /tmp/etccopy/newsyslog.conf
/etc/networks -> /tmp/etccopy/networks
/etc/network.subr -> /tmp/etccopy/network.subr
/etc/netstart -> /tmp/etccopy/netstart
/etc/netconfig -> /tmp/etccopy/netconfig
/etc/motd -> /tmp/etccopy/motd
/etc/manpath.config.bak -> /tmp/etccopy/manpath.config.bak
/etc/manpath.config -> /tmp/etccopy/manpath.config
19:27:04
$cp -v /etc/* /tmp/etccopy |ess
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
/etc/nsswitch.conf -> /tmp/etccopy/nsswitch.conf
/etc/nscd.conf -> /tmp/etccopy/nscd.conf
/etc/newsyslog.conf -> /tmp/etccopy/newsyslog.conf
/etc/networks -> /tmp/etccopy/networks
/etc/network.subr -> /tmp/etccopy/network.subr
/etc/netstart -> /tmp/etccopy/netstart
/etc/netconfig -> /tmp/etccopy/netconfig
/etc/motd -> /tmp/etccopy/motd
/etc/manpath.config.bak -> /tmp/etccopy/manpath.config.bak
/etc/manpath.config -> /tmp/etccopy/manpath.config
19:27:04
$cp -v /etc/* /tmp/etccopy |ess
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
/etc/nsswitch.conf -> /tmp/etccopy/nsswitch.conf
/etc/nscd.conf -> /tmp/etccopy/nscd.conf
/etc/newsyslog.conf -> /tmp/etccopy/newsyslog.conf
/etc/networks -> /tmp/etccopy/networks
/etc/network.subr -> /tmp/etccopy/network.subr
/etc/netstart -> /tmp/etccopy/netstart
/etc/netconfig -> /tmp/etccopy/netconfig
/etc/motd -> /tmp/etccopy/motd
/etc/manpath.config.bak -> /tmp/etccopy/manpath.config.bak
/etc/manpath.config -> /tmp/etccopy/manpath.config
19:27:04
$cp -v /etc/* /tmp/etccopy |ess
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
/etc/nsswitch.conf -> /tmp/etccopy/nsswitch.conf
/etc/nscd.conf -> /tmp/etccopy/nscd.conf
/etc/newsyslog.conf -> /tmp/etccopy/newsyslog.conf
/etc/networks -> /tmp/etccopy/networks
/etc/network.subr -> /tmp/etccopy/network.subr
/etc/netstart -> /tmp/etccopy/netstart
/etc/netconfig -> /tmp/etccopy/netconfig
/etc/motd -> /tmp/etccopy/motd
/etc/manpath.config.bak -> /tmp/etccopy/manpath.config.bak
/etc/manpath.config -> /tmp/etccopy/manpath.config
19:27:04
$cp -v /etc/* /tmp/etccopy |ess
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
/etc/nsswitch.conf -> /tmp/etccopy/nsswitch.conf
/etc/nscd.conf -> /tmp/etccopy/nscd.conf
/etc/newsyslog.conf -> /tmp/etccopy/newsyslog.conf
/etc/networks -> /tmp/etccopy/networks
/etc/network.subr -> /tmp/etccopy/network.subr
/etc/netstart -> /tmp/etccopy/netstart
/etc/netconfig -> /tmp/etccopy/netconfig
/etc/motd -> /tmp/etccopy/motd
/etc/manpath.config.bak -> /tmp/etccopy/manpath.config.bak
/etc/manpath.config -> /tmp/etccopy/manpath.config
19:27:04
$cp -v /etc/* /tmp/etccopy |ess
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
/etc/nsswitch.conf -> /tmp/etccopy/nsswitch.conf
/etc/nscd.conf -> /tmp/etccopy/nscd.conf
/etc/newsyslog.conf -> /tmp/etccopy/newsyslog.conf
/etc/networks -> /tmp/etccopy/networks
/etc/network.subr -> /tmp/etccopy/network.subr
/etc/netstart -> /tmp/etccopy/netstart
/etc/netconfig -> /tmp/etccopy/netconfig
/etc/motd -> /tmp/etccopy/motd
/etc/manpath.config.bak -> /tmp/etccopy/manpath.config.bak
/etc/manpath.config -> /tmp/etccopy/manpath.config
19:27:04
$cp -v /etc/* /tmp/etccopy |ess
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
/etc/nsswitch.conf -> /tmp/etccopy/nsswitch.conf
/etc/nscd.conf -> /tmp/etccopy/nscd.conf
/etc/newsyslog.conf -> /tmp/etccopy/newsyslog.conf
/etc/networks -> /tmp/etccopy/networks
/etc/network.subr -> /tmp/etccopy/network.subr
/etc/netstart -> /tmp/etccopy/netstart
/etc/netconfig -> /tmp/etccopy/netconfig
/etc/motd -> /tmp/etccopy/motd
/etc/manpath.config.bak -> /tmp/etccopy/manpath.config.bak
/etc/manpath.config -> /tmp/etccopy/manpath.config
19:27:04
$cp -v /etc/* /tmp/etccopy |ess
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
/etc/nsswitch.conf -> /tmp/etccopy/nsswitch.conf
/etc/nscd.conf -> /tmp/etccopy/nscd.conf
/etc/newsyslog.conf -> /tmp/etccopy/newsyslog.conf
/etc/networks -> /tmp/etccopy/networks
/etc/network.subr -> /tmp/etccopy/network.subr
/etc/netstart -> /tmp/etccopy/netstart
/etc/netconfig -> /tmp/etccopy/netconfig
/etc/motd -> /tmp/etccopy/motd
/etc/manpath.config.bak -> /tmp/etccopy/manpath.config.bak
/etc/manpath.config -> /tmp/etccopy/manpath.config
19:27:04
$cp -v /etc/* /tmp/etccopy |ess
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
/etc/nsswitch.conf -> /tmp/etccopy/nsswitch.conf
/etc/nscd.conf -> /tmp/etccopy/nscd.conf
/etc/newsyslog.conf -> /tmp/etccopy/newsyslog.conf
/etc/networks -> /tmp/etccopy/networks
/etc/network.subr -> /tmp/etccopy/network.subr
/etc/netstart -> /tmp/etccopy/netstart
/etc/netconfig -> /tmp/etccopy/netconfig
/etc/motd -> /tmp/etccopy/motd
/etc/manpath.config.bak -> /tmp/etccopy/manpath.config.bak
/etc/manpath.config -> /tmp/etccopy/manpath.config
19:27:04
$cp -v /etc/* /tmp/etccopy |ess
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
/etc/nsswitch.conf -> /tmp/etccopy/nsswitch.conf
/etc/nscd.conf -> /tmp/etccopy/nscd.conf
/etc/newsyslog.conf -> /tmp/etccopy/newsyslog.conf
/etc/networks -> /tmp/etccopy/networks
/etc/network.subr -> /tmp/etccopy/network.subr
/etc/netstart -> /tmp/etccopy/netstart
/etc/netconfig -> /tmp/etccopy/netconfig
/etc/motd -> /tmp/etccopy/motd
/etc/manpath.config.bak -> /tmp/etccopy/manpath.config.bak
/etc/manpath.config -> /tmp/etccopy/manpath.config
19:27:04
$cp -v /etc/* /tmp/etccopy |ess
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
/etc/nsswitch.conf -> /tmp/etccopy/nsswitch.conf
/etc/nscd.conf -> /tmp/etccopy/nscd.conf
/etc/newsyslog.conf -> /tmp/etccopy/newsyslog.conf
/etc/networks -> /tmp/etccopy/networks
/etc/network.subr -> /tmp/etccopy/network.subr
/etc/netstart -> /tmp/etccopy/netstart
/etc/netconfig -> /tmp/etccopy/netconfig
/etc/motd -> /tmp/etccopy/motd
/etc/manpath.config.bak -> /tmp/etccopy/manpath.config.bak
/etc/manpath.config -> /tmp/etccopy/manpath.config
19:27:38
$cp -v /etc/* /tmp/etccopy 2>&1> /tmp/dirlist
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
cp: /etc/skel is a directory (not copied).
cp: /etc/X11 is a directory (not copied).
cp: /etc/opiekeys: Permission denied
cp: /etc/opieaccess: Permission denied
cp: /etc/nsmb.conf: Permission denied
cp: /etc/master.passwd: Permission denied
cp: /tmp/etccopy/localtime: Permission denied
cp: /tmp/etccopy/termcap: Permission denied
cp: /etc/spwd.db: Permission denied
cp: /tmp/etccopy/rmt: Permission denied
19:27:38
$cp -v /etc/* /tmp/etccopy 2>&1> /tmp/dirlist
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
cp: /etc/skel is a directory (not copied).
cp: /etc/X11 is a directory (not copied).
cp: /etc/opiekeys: Permission denied
cp: /etc/opieaccess: Permission denied
cp: /etc/nsmb.conf: Permission denied
cp: /etc/master.passwd: Permission denied
cp: /tmp/etccopy/localtime: Permission denied
cp: /tmp/etccopy/termcap: Permission denied
cp: /etc/spwd.db: Permission denied
cp: /tmp/etccopy/rmt: Permission denied
19:27:38
$cp -v /etc/* /tmp/etccopy 2>&1> /tmp/dirlist
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
cp: /etc/skel is a directory (not copied).
cp: /etc/X11 is a directory (not copied).
cp: /etc/opiekeys: Permission denied
cp: /etc/opieaccess: Permission denied
cp: /etc/nsmb.conf: Permission denied
cp: /etc/master.passwd: Permission denied
cp: /tmp/etccopy/localtime: Permission denied
cp: /tmp/etccopy/termcap: Permission denied
cp: /etc/spwd.db: Permission denied
cp: /tmp/etccopy/rmt: Permission denied
19:27:38
$cp -v /etc/* /tmp/etccopy 2>&1> /tmp/dirlist
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
cp: /etc/skel is a directory (not copied).
cp: /etc/X11 is a directory (not copied).
cp: /etc/opiekeys: Permission denied
cp: /etc/opieaccess: Permission denied
cp: /etc/nsmb.conf: Permission denied
cp: /etc/master.passwd: Permission denied
cp: /tmp/etccopy/localtime: Permission denied
cp: /tmp/etccopy/termcap: Permission denied
cp: /etc/spwd.db: Permission denied
cp: /tmp/etccopy/rmt: Permission denied
19:27:38
$cp -v /etc/* /tmp/etccopy 2>&1> /tmp/dirlist
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
cp: /etc/skel is a directory (not copied).
cp: /etc/X11 is a directory (not copied).
cp: /etc/opiekeys: Permission denied
cp: /etc/opieaccess: Permission denied
cp: /etc/nsmb.conf: Permission denied
cp: /etc/master.passwd: Permission denied
cp: /tmp/etccopy/localtime: Permission denied
cp: /tmp/etccopy/termcap: Permission denied
cp: /etc/spwd.db: Permission denied
cp: /tmp/etccopy/rmt: Permission denied
19:27:38
$cp -v /etc/* /tmp/etccopy 2>&1> /tmp/dirlist
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
cp: /etc/skel is a directory (not copied).
cp: /etc/X11 is a directory (not copied).
cp: /etc/opiekeys: Permission denied
cp: /etc/opieaccess: Permission denied
cp: /etc/nsmb.conf: Permission denied
cp: /etc/master.passwd: Permission denied
cp: /tmp/etccopy/localtime: Permission denied
cp: /tmp/etccopy/termcap: Permission denied
cp: /etc/spwd.db: Permission denied
cp: /tmp/etccopy/rmt: Permission denied
19:27:38
$cp -v /etc/* /tmp/etccopy 2>&1> /tmp/dirlist
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
cp: /etc/skel is a directory (not copied).
cp: /etc/X11 is a directory (not copied).
cp: /etc/opiekeys: Permission denied
cp: /etc/opieaccess: Permission denied
cp: /etc/nsmb.conf: Permission denied
cp: /etc/master.passwd: Permission denied
cp: /tmp/etccopy/localtime: Permission denied
cp: /tmp/etccopy/termcap: Permission denied
cp: /etc/spwd.db: Permission denied
cp: /tmp/etccopy/rmt: Permission denied
/dev/pts/2
19:27:40
$cp -v /etc/* /tmp/etccopy | less
19:28:11
$cp -v /etc/* /tmp/etccopy 2>&1 > /tmp/dirlist
cp: /etc/security is a directory (not copied).
cp: /etc/periodic is a directory (not copied).
cp: /etc/ssl is a directory (not copied).
cp: /etc/ssh is a directory (not copied).
cp: /etc/pam.d is a directory (not copied).
cp: /etc/ppp is a directory (not copied).
cp: /etc/zfs is a directory (not copied).
cp: /etc/devd is a directory (not copied).
cp: /etc/defaults is a directory (not copied).
cp: /etc/mail is a directory (not copied).
...
cp: /etc/skel is a directory (not copied).
cp: /etc/X11 is a directory (not copied).
cp: /etc/opiekeys: Permission denied
cp: /etc/opieaccess: Permission denied
cp: /etc/nsmb.conf: Permission denied
cp: /etc/master.passwd: Permission denied
cp: /tmp/etccopy/localtime: Permission denied
cp: /tmp/etccopy/termcap: Permission denied
cp: /etc/spwd.db: Permission denied
cp: /tmp/etccopy/rmt: Permission denied
/dev/pts/2
19:28:19
$cp -v /etc/* /tmp/etccopy > p/dirlist 2>&1

19:28:19
$cp -v /etc/* /tmp/etccopy > p/dirlist 2>&1

19:28:19
$cp -v /etc/* /tmp/etccopy > p/dirlist 2>&1

19:28:19
$cp -v /etc/* /tmp/etccopy > p/dirlist 2>&1

19:28:19
$cp -v /etc/* /tmp/etccopy > p/dirlist 2>&1

19:28:19
$cp -v /etc/* /tmp/etccopy > p/dirlist 2>&1

19:28:19
$cp -v /etc/* /tmp/etccopy > p/dirlist 2>&1

19:28:19
$cp -v /etc/* /tmp/etccopy > p/dirlist 2>&1

19:28:19
$cp -v /etc/* /tmp/etccopy > p/dirlist 2>&1

19:28:19
$cp -v /etc/* /tmp/etccopy > p/dirlist 2>&1

19:28:19
$cp -v /etc/* /tmp/etccopy > p/dirlist 2>&1

19:28:19
$cp -v /etc/* /tmp/etccopy > p/dirlist 2>&1

19:28:19
$cp -v /etc/* /tmp/etccopy > p/dirlist 2>&1

19:28:19
$cp -v /etc/* /tmp/etccopy > p/dirlist 2>&1

19:28:19
$cp -v /etc/* /tmp/etccopy > p/dirlist 2>&1

/dev/pts/2
19:29:04
$cp -v /etc/* /tmp/etccopy > /tmp/dirlist 2>&1

/dev/pts/2
19:30:16
$cd tmp
l3script: cd: tmp: No such file or directory
19:30:16
$cd tmp
l3script: cd: tmp: No such file or directory
19:30:16
$cd tmp
l3script: cd: tmp: No such file or directory
19:30:16
$cd tmp
l3script: cd: tmp: No such file or directory
19:30:16
$cd tmp
l3script: cd: tmp: No such file or directory
19:30:16
$cd tmp
l3script: cd: tmp: No such file or directory
19:30:16
$cd tmp
l3script: cd: tmp: No such file or directory
19:30:16
$cd tmp
l3script: cd: tmp: No such file or directory
19:30:16
$cd tmp
l3script: cd: tmp: No such file or directory
19:30:16
$cd tmp
l3script: cd: tmp: No such file or directory
19:30:16
$cd tmp
l3script: cd: tmp: No such file or directory
19:30:16
$cd tmp
l3script: cd: tmp: No such file or directory
19:30:16
$cd tmp
l3script: cd: tmp: No such file or directory
19:30:16
$cd tmp
l3script: cd: tmp: No such file or directory
19:30:16
$cd tmp
l3script: cd: tmp: No such file or directory
19:32:48
$cd

19:32:48
$cd

19:32:48
$cd

19:32:48
$cd

19:32:48
$cd

19:32:48
$cd

19:32:48
$cd

19:32:48
$cd

19:32:48
$cd

19:32:48
$cd

19:32:48
$cd

19:32:59
$ls
Light_Alloy_4.4.784_RC2_by_FAFNIR.exe   killall
aba                                     lpi 1
abb                                     lpi 2
abc                                     man_smb_conf
abd                                     matrix.jpg
bigfile                                 names
bin                                     newfile
directory1                              newtest
directory2                              ogo.jpg
directory3                              pamyatka.pdf
errlog                                  press_any_key_to_continue.jpg
file                                    proj
file1                                   sorted
file2                                   testfile
file3                                   text
freebsd.jpg                             touchlist
granata.jpg                             unsorted
19:32:59
$ls
Light_Alloy_4.4.784_RC2_by_FAFNIR.exe   killall
aba                                     lpi 1
abb                                     lpi 2
abc                                     man_smb_conf
abd                                     matrix.jpg
bigfile                                 names
bin                                     newfile
directory1                              newtest
directory2                              ogo.jpg
directory3                              pamyatka.pdf
errlog                                  press_any_key_to_continue.jpg
file                                    proj
file1                                   sorted
file2                                   testfile
file3                                   text
freebsd.jpg                             touchlist
granata.jpg                             unsorted
19:32:59
$ls
Light_Alloy_4.4.784_RC2_by_FAFNIR.exe   killall
aba                                     lpi 1
abb                                     lpi 2
abc                                     man_smb_conf
abd                                     matrix.jpg
bigfile                                 names
bin                                     newfile
directory1                              newtest
directory2                              ogo.jpg
directory3                              pamyatka.pdf
errlog                                  press_any_key_to_continue.jpg
file                                    proj
file1                                   sorted
file2                                   testfile
file3                                   text
freebsd.jpg                             touchlist
granata.jpg                             unsorted
19:32:59
$ls
Light_Alloy_4.4.784_RC2_by_FAFNIR.exe   killall
aba                                     lpi 1
abb                                     lpi 2
abc                                     man_smb_conf
abd                                     matrix.jpg
bigfile                                 names
bin                                     newfile
directory1                              newtest
directory2                              ogo.jpg
directory3                              pamyatka.pdf
errlog                                  press_any_key_to_continue.jpg
file                                    proj
file1                                   sorted
file2                                   testfile
file3                                   text
freebsd.jpg                             touchlist
granata.jpg                             unsorted
19:32:59
$ls
Light_Alloy_4.4.784_RC2_by_FAFNIR.exe   killall
aba                                     lpi 1
abb                                     lpi 2
abc                                     man_smb_conf
abd                                     matrix.jpg
bigfile                                 names
bin                                     newfile
directory1                              newtest
directory2                              ogo.jpg
directory3                              pamyatka.pdf
errlog                                  press_any_key_to_continue.jpg
file                                    proj
file1                                   sorted
file2                                   testfile
file3                                   text
freebsd.jpg                             touchlist
granata.jpg                             unsorted
19:32:59
$ls
Light_Alloy_4.4.784_RC2_by_FAFNIR.exe   killall
aba                                     lpi 1
abb                                     lpi 2
abc                                     man_smb_conf
abd                                     matrix.jpg
bigfile                                 names
bin                                     newfile
directory1                              newtest
directory2                              ogo.jpg
directory3                              pamyatka.pdf
errlog                                  press_any_key_to_continue.jpg
file                                    proj
file1                                   sorted
file2                                   testfile
file3                                   text
freebsd.jpg                             touchlist
granata.jpg                             unsorted
19:32:59
$ls
Light_Alloy_4.4.784_RC2_by_FAFNIR.exe   killall
aba                                     lpi 1
abb                                     lpi 2
abc                                     man_smb_conf
abd                                     matrix.jpg
bigfile                                 names
bin                                     newfile
directory1                              newtest
directory2                              ogo.jpg
directory3                              pamyatka.pdf
errlog                                  press_any_key_to_continue.jpg
file                                    proj
file1                                   sorted
file2                                   testfile
file3                                   text
freebsd.jpg                             touchlist
granata.jpg                             unsorted
19:32:59
$ls
Light_Alloy_4.4.784_RC2_by_FAFNIR.exe   killall
aba                                     lpi 1
abb                                     lpi 2
abc                                     man_smb_conf
abd                                     matrix.jpg
bigfile                                 names
bin                                     newfile
directory1                              newtest
directory2                              ogo.jpg
directory3                              pamyatka.pdf
errlog                                  press_any_key_to_continue.jpg
file                                    proj
file1                                   sorted
file2                                   testfile
file3                                   text
freebsd.jpg                             touchlist
granata.jpg                             unsorted
19:32:59
$ls
Light_Alloy_4.4.784_RC2_by_FAFNIR.exe   killall
aba                                     lpi 1
abb                                     lpi 2
abc                                     man_smb_conf
abd                                     matrix.jpg
bigfile                                 names
bin                                     newfile
directory1                              newtest
directory2                              ogo.jpg
directory3                              pamyatka.pdf
errlog                                  press_any_key_to_continue.jpg
file                                    proj
file1                                   sorted
file2                                   testfile
file3                                   text
freebsd.jpg                             touchlist
granata.jpg                             unsorted
19:32:59
$ls
Light_Alloy_4.4.784_RC2_by_FAFNIR.exe   killall
aba                                     lpi 1
abb                                     lpi 2
abc                                     man_smb_conf
abd                                     matrix.jpg
bigfile                                 names
bin                                     newfile
directory1                              newtest
directory2                              ogo.jpg
directory3                              pamyatka.pdf
errlog                                  press_any_key_to_continue.jpg
file                                    proj
file1                                   sorted
file2                                   testfile
file3                                   text
freebsd.jpg                             touchlist
granata.jpg                             unsorted
19:32:59
$ls
Light_Alloy_4.4.784_RC2_by_FAFNIR.exe   killall
aba                                     lpi 1
abb                                     lpi 2
abc                                     man_smb_conf
abd                                     matrix.jpg
bigfile                                 names
bin                                     newfile
directory1                              newtest
directory2                              ogo.jpg
directory3                              pamyatka.pdf
errlog                                  press_any_key_to_continue.jpg
file                                    proj
file1                                   sorted
file2                                   testfile
file3                                   text
freebsd.jpg                             touchlist
granata.jpg                             unsorted
19:33:03
$/cat /etc/passwd | sort | tee sorted_passwd | less
19:33:03
$/cat /etc/passwd | sort | tee sorted_passwd | less
19:33:03
$/cat /etc/passwd | sort | tee sorted_passwd | less
19:33:03
$/cat /etc/passwd | sort | tee sorted_passwd | less
19:33:03
$/cat /etc/passwd | sort | tee sorted_passwd | less
19:33:03
$/cat /etc/passwd | sort | tee sorted_passwd | less
19:33:03
$/cat /etc/passwd | sort | tee sorted_passwd | less

Статистика

Время первой команды журнала19:25:00 2012-11-27
Время последней команды журнала19:33:03 2012-11-27
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %46.53
Процент синтаксически неверно набранных команд, % 0.00
Суммарное время работы с терминалом *, час 0.13
Количество командных строк в единицу времени, команда/мин12.55
Частота использования команд
cp56|=======================| 23.05%
&34|=============| 13.99%
127|===========| 11.11%
dirlist26|==========| 10.70%
cd26|==========| 10.70%
less17|======| 7.00%
ess15|======| 6.17%
ls11|====| 4.53%
sort8|===| 3.29%
tee8|===| 3.29%
/cat7|==| 2.88%
1>7|==| 2.88%
Частота использования этих команд < 0.5%cat1
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
  1. В журнал автоматически попадают все команды, данные в любом терминале системы.

  2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

  3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
    $ l s-l
    bash: l: command not found
    

  4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
    $ test 5 -lt 4
    Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

  5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
    $ find / -name abc
    find: /home/devi-orig/.gnome2: Keine Berechtigung
    find: /home/devi-orig/.gnome2_private: Keine Berechtigung
    find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
    find: /home/devi-orig/.metacity: Keine Berechtigung
    find: /home/devi-orig/.inkscape: Keine Berechtigung
    ^C
    

  6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
    # id
    uid=0(root) gid=0(root) Gruppen=0(root)
    

  7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
    $ vi ~/.bashrc
    2a3,5
    >    if [ -f /usr/local/etc/bash_completion ]; then
    >         . /usr/local/etc/bash_completion
    >        fi
    

  8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
    $ patch ~/.bashrc
    В данном случае изменения применяются к файлу ~/.bashrc

  9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

    Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

  10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

  11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

  12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

  13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

  14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

    $ whoami
    
    user
    
    $ #^ Интересно, кто я?
    
    в журнале это будет выглядеть так:
    $ whoami
    
    user
    
    Интересно, кто я?

  15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

    $ whoami
    
    user
    
    $ cat > /dev/null #^ Интересно, кто я?
    
    Программа whoami выводит имя пользователя, под которым 
    мы зарегистрировались в системе.
    -
    Она не может ответить на вопрос о нашем назначении 
    в этом мире.
    
    В журнале это будет выглядеть так:
    $ whoami
    user
    
    Интересно, кто я?
    Программа whoami выводит имя пользователя, под которым
    мы зарегистрировались в системе.

    Она не может ответить на вопрос о нашем назначении
    в этом мире.
    Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

  16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

  17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
  18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
  19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
    1
        2
    3   
        4
    
    Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

О программе

LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008

$Id$