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

Содержание

Журнал

Понедельник (07/06/09)

/dev/ttyv0
18:54:36
#Pattern not found (press RETURN)
CHMOD(1)                FreeBSD General Commands Manual               CHMOD(1)
NAME
     chmod -- change file modes
SYNOPSIS
     chmod [-fhv] [-R [-H | -L | -P]] mode file ...
DESCRIPTION
     The chmod utility modifies the file mode bits of the listed files as
     specified by the mode operand.
     The options are as follows:
     -f      Do not display a diagnostic message if chmod could not modify the
...
           0400    Allow read by owner.
           0200    Allow write by owner.
           0100    For files, allow execution by owner.  For directories,
                   allow the owner to search in the directory.
           0040    Allow read by group members.
           0020    Allow write by group members.
           0010    For files, allow execution by group members.  For directo-
                   ries, allow group members to search in the directory.
           0004    Allow read by others.
           0002    Allow write by others.
18:54:36
#Pattern not found (press RETURN)
CHMOD(1)                FreeBSD General Commands Manual               CHMOD(1)
NAME
     chmod -- change file modes
SYNOPSIS
     chmod [-fhv] [-R [-H | -L | -P]] mode file ...
DESCRIPTION
     The chmod utility modifies the file mode bits of the listed files as
     specified by the mode operand.
     The options are as follows:
     -f      Do not display a diagnostic message if chmod could not modify the
...
           0400    Allow read by owner.
           0200    Allow write by owner.
           0100    For files, allow execution by owner.  For directories,
                   allow the owner to search in the directory.
           0040    Allow read by group members.
           0020    Allow write by group members.
           0010    For files, allow execution by group members.  For directo-
                   ries, allow group members to search in the directory.
           0004    Allow read by others.
           0002    Allow write by others.
18:54:36
#Pattern not found (press RETURN)
CHMOD(1)                FreeBSD General Commands Manual               CHMOD(1)
NAME
     chmod -- change file modes
SYNOPSIS
     chmod [-fhv] [-R [-H | -L | -P]] mode file ...
DESCRIPTION
     The chmod utility modifies the file mode bits of the listed files as
     specified by the mode operand.
     The options are as follows:
     -f      Do not display a diagnostic message if chmod could not modify the
...
           0400    Allow read by owner.
           0200    Allow write by owner.
           0100    For files, allow execution by owner.  For directories,
                   allow the owner to search in the directory.
           0040    Allow read by group members.
           0020    Allow write by group members.
           0010    For files, allow execution by group members.  For directo-
                   ries, allow group members to search in the directory.
           0004    Allow read by others.
           0002    Allow write by others.
18:55:22
#cat /tmp
.
 ...snap€      .X11-unixÑÑ     .XIM-unixÑÑ             .ICE-unixÑÑ
.font-unixтfam-user¼„çA@$lilalo-install-temp-1212*ÄÖC@$lilalo-install-temp-1241JÉÖÀÀ
                                                                                     1À€2007l²Ò@@2008l²ÒÅÀ2009l².swp‰¬Ò
                                                                                                                       444
                                                                                                                         555
                                                                                                                          333
                                                                                                                            'date'Ò
.123yµ.345´4455´4455644556677v’À                                                                                                 .X0-lock'F"date"Ò
4455667788À
[44]556677À
          zzzz*456Ò
18:55:22
#cat /tmp
.
 ...snap€      .X11-unixÑÑ     .XIM-unixÑÑ             .ICE-unixÑÑ
.font-unixтfam-user¼„çA@$lilalo-install-temp-1212*ÄÖC@$lilalo-install-temp-1241JÉÖÀÀ
                                                                                     1À€2007l²Ò@@2008l²ÒÅÀ2009l².swp‰¬Ò
                                                                                                                       444
                                                                                                                         555
                                                                                                                          333
                                                                                                                            'date'Ò
.123yµ.345´4455´4455644556677v’À                                                                                                 .X0-lock'F"date"Ò
4455667788À
[44]556677À
          zzzz*456Ò
18:55:22
#cat /tmp
.
 ...snap€      .X11-unixÑÑ     .XIM-unixÑÑ             .ICE-unixÑÑ
.font-unixтfam-user¼„çA@$lilalo-install-temp-1212*ÄÖC@$lilalo-install-temp-1241JÉÖÀÀ
                                                                                     1À€2007l²Ò@@2008l²ÒÅÀ2009l².swp‰¬Ò
                                                                                                                       444
                                                                                                                         555
                                                                                                                          333
                                                                                                                            'date'Ò
.123yµ.345´4455´4455644556677v’À                                                                                                 .X0-lock'F"date"Ò
4455667788À
[44]556677À
          zzzz*456Ò
18:55:25
#c:\windowsÀ
total 60
-rw-r--r--   1 root  wheel        0B Jul  3 18:22 "date"
-rw-r--r--   1 root  wheel        0B Jul  3 18:21 'date'
-rw-r--r--   1 root  wheel        0B Jul  3 19:02 -
-rw-r--r--   1 root  wheel        0B Jul  3 18:47 .123
-rw-r--r--   1 root  wheel        0B Jul  3 18:47 .345
drwxrwxrwt   2 root  wheel      512B Jul  1 19:06 .ICE-unix
-r--r--r--   1 root  wheel       11B Jul  1 21:01 .X0-lock
drwxrwxrwt   2 root  wheel      512B Jul  1 21:01 .X11-unix
drwxrwxrwt   2 root  wheel      512B Jul  1 19:06 .XIM-unix
...
-rw-r--r--   1 root  wheel      3.3K Jul  3 19:56 dirlist
-rw-r--r--   1 root  wheel      4.1K Jul  3 19:57 dirlist2
drwxr-xr-x   2 root  wheel      2.0K Jul  3 19:44 etccopy
drwx------   2 user  wheel      512B Mar 15  2008 fam-user
drwxr-xr-x   2 root  wheel      512B Mar 28  2008 lilalo-install-temp-1212
drwxr-xr-x   2 root  wheel      512B Mar 28  2008 lilalo-install-temp-1241
-rw-r--r--   1 root  wheel       41B Jul  3 19:00 list
-rw-r--r--   1 root  wheel      1.6K Jul  3 19:48 sorted
-rw-r--r--   1 root  wheel        0B Jul  3 18:55 zz*
-rw-r--r--   1 root  wheel        0B Jul  3 18:55 zz*456
18:55:25
#c:\windowsÀ
total 60
-rw-r--r--   1 root  wheel        0B Jul  3 18:22 "date"
-rw-r--r--   1 root  wheel        0B Jul  3 18:21 'date'
-rw-r--r--   1 root  wheel        0B Jul  3 19:02 -
-rw-r--r--   1 root  wheel        0B Jul  3 18:47 .123
-rw-r--r--   1 root  wheel        0B Jul  3 18:47 .345
drwxrwxrwt   2 root  wheel      512B Jul  1 19:06 .ICE-unix
-r--r--r--   1 root  wheel       11B Jul  1 21:01 .X0-lock
drwxrwxrwt   2 root  wheel      512B Jul  1 21:01 .X11-unix
drwxrwxrwt   2 root  wheel      512B Jul  1 19:06 .XIM-unix
...
-rw-r--r--   1 root  wheel      3.3K Jul  3 19:56 dirlist
-rw-r--r--   1 root  wheel      4.1K Jul  3 19:57 dirlist2
drwxr-xr-x   2 root  wheel      2.0K Jul  3 19:44 etccopy
drwx------   2 user  wheel      512B Mar 15  2008 fam-user
drwxr-xr-x   2 root  wheel      512B Mar 28  2008 lilalo-install-temp-1212
drwxr-xr-x   2 root  wheel      512B Mar 28  2008 lilalo-install-temp-1241
-rw-r--r--   1 root  wheel       41B Jul  3 19:00 list
-rw-r--r--   1 root  wheel      1.6K Jul  3 19:48 sorted
-rw-r--r--   1 root  wheel        0B Jul  3 18:55 zz*
-rw-r--r--   1 root  wheel        0B Jul  3 18:55 zz*456
18:55:25
#c:\windowsÀ
total 60
-rw-r--r--   1 root  wheel        0B Jul  3 18:22 "date"
-rw-r--r--   1 root  wheel        0B Jul  3 18:21 'date'
-rw-r--r--   1 root  wheel        0B Jul  3 19:02 -
-rw-r--r--   1 root  wheel        0B Jul  3 18:47 .123
-rw-r--r--   1 root  wheel        0B Jul  3 18:47 .345
drwxrwxrwt   2 root  wheel      512B Jul  1 19:06 .ICE-unix
-r--r--r--   1 root  wheel       11B Jul  1 21:01 .X0-lock
drwxrwxrwt   2 root  wheel      512B Jul  1 21:01 .X11-unix
drwxrwxrwt   2 root  wheel      512B Jul  1 19:06 .XIM-unix
...
-rw-r--r--   1 root  wheel      3.3K Jul  3 19:56 dirlist
-rw-r--r--   1 root  wheel      4.1K Jul  3 19:57 dirlist2
drwxr-xr-x   2 root  wheel      2.0K Jul  3 19:44 etccopy
drwx------   2 user  wheel      512B Mar 15  2008 fam-user
drwxr-xr-x   2 root  wheel      512B Mar 28  2008 lilalo-install-temp-1212
drwxr-xr-x   2 root  wheel      512B Mar 28  2008 lilalo-install-temp-1241
-rw-r--r--   1 root  wheel       41B Jul  3 19:00 list
-rw-r--r--   1 root  wheel      1.6K Jul  3 19:48 sorted
-rw-r--r--   1 root  wheel        0B Jul  3 18:55 zz*
-rw-r--r--   1 root  wheel        0B Jul  3 18:55 zz*456
18:55:35
#ls -lhd /tmp
drwxrwxrwt  16 root  wheel   1.0K Jul  6 18:52 /tmp
18:55:35
#ls -lhd /tmp
drwxrwxrwt  16 root  wheel   1.0K Jul  6 18:52 /tmp
18:55:35
#ls -lhd /tmp
drwxrwxrwt  16 root  wheel   1.0K Jul  6 18:52 /tmp
18:55:39
#ls -lhd /tmp

18:55:39
#ls -lhd /tmp

18:55:39
#ls -lhd /tmp

18:56:06
#man chmod
18:56:06
#man chmod
18:56:06
#man chmod
18:56:17
#find / -perm +7000
/tmp
/tmp/.X11-unix
/tmp/.XIM-unix
/tmp/.ICE-unix
/tmp/.font-unix
/usr/bin/at
/usr/bin/atq
/usr/bin/atrm
/usr/bin/batch
/usr/bin/btsockstat
...
/usr/local/bin/gtali
/usr/local/bin/mahjongg
/usr/local/bin/same-gnome
/usr/local/bin/seahorse-agent
/usr/local/bin/seahorse-daemon
q/usr/local/libexec/camel-lock-helper-1.2
/usr/local/libexec/gnome-screensaver-dialog
/usr/local/libexec/gnome-pty-helper
/usr/local/sbin/lsof
^C
18:56:17
#find / -perm +7000
/tmp
/tmp/.X11-unix
/tmp/.XIM-unix
/tmp/.ICE-unix
/tmp/.font-unix
/usr/bin/at
/usr/bin/atq
/usr/bin/atrm
/usr/bin/batch
/usr/bin/btsockstat
...
/usr/local/bin/gtali
/usr/local/bin/mahjongg
/usr/local/bin/same-gnome
/usr/local/bin/seahorse-agent
/usr/local/bin/seahorse-daemon
q/usr/local/libexec/camel-lock-helper-1.2
/usr/local/libexec/gnome-screensaver-dialog
/usr/local/libexec/gnome-pty-helper
/usr/local/sbin/lsof
^C
18:56:17
#find / -perm +7000
/tmp
/tmp/.X11-unix
/tmp/.XIM-unix
/tmp/.ICE-unix
/tmp/.font-unix
/usr/bin/at
/usr/bin/atq
/usr/bin/atrm
/usr/bin/batch
/usr/bin/btsockstat
...
/usr/local/bin/gtali
/usr/local/bin/mahjongg
/usr/local/bin/same-gnome
/usr/local/bin/seahorse-agent
/usr/local/bin/seahorse-daemon
q/usr/local/libexec/camel-lock-helper-1.2
/usr/local/libexec/gnome-screensaver-dialog
/usr/local/libexec/gnome-pty-helper
/usr/local/sbin/lsof
^C
18:56:30
#ls -lhd /usr/local/sbin/lsof
-rwxr-sr-x  1 root  kmem   110K Dec  1  2007 /usr/local/sbin/lsof
18:56:30
#ls -lhd /usr/local/sbin/lsof
-rwxr-sr-x  1 root  kmem   110K Dec  1  2007 /usr/local/sbin/lsof
18:56:30
#ls -lhd /usr/local/sbin/lsof
-rwxr-sr-x  1 root  kmem   110K Dec  1  2007 /usr/local/sbin/lsof
18:56:40
#man chmod
18:56:40
#man chmod
18:57:22
#find / -perm +s
find: -perm: s: illegal mode string
18:57:22
#find / -perm +s
find: -perm: s: illegal mode string
18:57:26
#find / -perm s
find: -perm: s: illegal mode string
18:57:26
#find / -perm s
find: -perm: s: illegal mode string
18:57:28
#find / -perm a=s
^C
18:57:28
#find / -perm a=s
^C
18:57:48
#find / -perm a=x
^C
18:57:51
#find / -perm a=rwx
/usr/include/sched.h
/usr/include/semaphore.h
/usr/include/_semaphore.h
/usr/include/ncurses.h
/usr/lib/libc.so
/usr/lib/libbsm.so
/usr/lib/libcom_err.so
/usr/lib/libcrypt.so
/usr/lib/libkvm.so
/usr/lib/libm.so
...
/usr/lib/libmytinfo_p.a
/usr/lib/libmytinfow_p.a
/usr/lib/libtermcap_p.a
/usr/lib/libtermcapw_p.a
/usr/lib/libtermlib_p.a
/usr/lib/libtermlibw_p.a
/usr/lib/libtinfo_p.a
/usr/lib/libtinfow_p.a
/usr/libexec/ld-elf.so.1
^C
18:57:59
#find / -perm a=srwx
^C
18:58:02
#find / -perm a=rwxs
^C
18:58:02
#find / -perm a=rwxs
^C
18:58:02
#find / -perm a=rwxs
^C
18:58:07
#find / -perm a=???s
find: -perm: a=???s: illegal mode string
18:58:07
#find / -perm a=???s
find: -perm: a=???s: illegal mode string
18:58:07
#find / -perm a=???s
find: -perm: a=???s: illegal mode string
18:58:15
#find / -perm a=rwsx

18:58:15
#find / -perm a=rwsx

18:58:15
#find / -perm a=rwsx

18:59:18
#man test
18:59:18
#man test
18:59:18
#man test
прошло 11 минут
19:11:00
#ls -lhd /usr/local/sbin/lsof

19:11:00
#ls -lhd /usr/local/sbin/lsof

19:11:00
#ls -lhd /usr/local/sbin/lsof

прошло 30 минут
19:41:09
#pkg_info
deskbar-applet-2.20.1 Omnipresent versatile search interface
desktop-file-utils-0.14 A couple of command line utilities for working with desktop
dirmngr-0.9.7_2     A client for managing and downloading certificate revocatio
dmidecode-2.9       A tool for dumping DMI (SMBIOS) contents in human-readable
docbook-sk-4.1.2_4  XML version of the DocBook DTD version controlled for Scrol
docbook-xml-4.2_1   XML version of the DocBook DTD
docbook-xml-4.3     DocBook/XML DTD V4.3, designed for technical documentation
docbook-xml-4.4     DocBook/XML DTD V4.4, designed for technical documentation
docbook-xsl-1.71.1_2 XSL DocBook stylesheets
dvd+rw-tools-7.0    DVD burning software
...
gstreamer-plugins-dts-0.10.5_3,3 Gstreamer dts plugin
gstreamer-plugins-dvd-0.10.6_1,3 Gstreamer dvd plugin set
gstreamer-plugins-esound-0.10.6_2,3 Gstreamer enlightenment sound library plugin
gstreamer-plugins-flac-0.10.6_2,3 Gstreamer free lossless audio encoder/decoder plugin
gstreamer-plugins-gconf-0.10.6_4,3 Gstreamer gconf plugin
gstreamer-plugins-gnomevfs-0.10.14_2,3 Gstreamer gnomevfs plugin
gstreamer-plugins-good-0.10.6,3 Good gstreamer-plugins
gstreamer-plugins-hal-0.10.6_1,3 Gstreamer hal plugin
gstreamer-plugins-libpng-0.10.6_2,3 Gstreamer png plugin
gstreamer-plugins-mad-0.10.6_3,3 Gstreamer mp3 decoder plugin
19:41:09
#pkg_info
deskbar-applet-2.20.1 Omnipresent versatile search interface
desktop-file-utils-0.14 A couple of command line utilities for working with desktop
dirmngr-0.9.7_2     A client for managing and downloading certificate revocatio
dmidecode-2.9       A tool for dumping DMI (SMBIOS) contents in human-readable
docbook-sk-4.1.2_4  XML version of the DocBook DTD version controlled for Scrol
docbook-xml-4.2_1   XML version of the DocBook DTD
docbook-xml-4.3     DocBook/XML DTD V4.3, designed for technical documentation
docbook-xml-4.4     DocBook/XML DTD V4.4, designed for technical documentation
docbook-xsl-1.71.1_2 XSL DocBook stylesheets
dvd+rw-tools-7.0    DVD burning software
...
gstreamer-plugins-dts-0.10.5_3,3 Gstreamer dts plugin
gstreamer-plugins-dvd-0.10.6_1,3 Gstreamer dvd plugin set
gstreamer-plugins-esound-0.10.6_2,3 Gstreamer enlightenment sound library plugin
gstreamer-plugins-flac-0.10.6_2,3 Gstreamer free lossless audio encoder/decoder plugin
gstreamer-plugins-gconf-0.10.6_4,3 Gstreamer gconf plugin
gstreamer-plugins-gnomevfs-0.10.14_2,3 Gstreamer gnomevfs plugin
gstreamer-plugins-good-0.10.6,3 Good gstreamer-plugins
gstreamer-plugins-hal-0.10.6_1,3 Gstreamer hal plugin
gstreamer-plugins-libpng-0.10.6_2,3 Gstreamer png plugin
gstreamer-plugins-mad-0.10.6_3,3 Gstreamer mp3 decoder plugin
19:41:09
#pkg_info
deskbar-applet-2.20.1 Omnipresent versatile search interface
desktop-file-utils-0.14 A couple of command line utilities for working with desktop
dirmngr-0.9.7_2     A client for managing and downloading certificate revocatio
dmidecode-2.9       A tool for dumping DMI (SMBIOS) contents in human-readable
docbook-sk-4.1.2_4  XML version of the DocBook DTD version controlled for Scrol
docbook-xml-4.2_1   XML version of the DocBook DTD
docbook-xml-4.3     DocBook/XML DTD V4.3, designed for tec