/l3/users/05-07-2012/NT-BSDadm/fbsd.net.nt/user :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 :41 :42 :43 :44 :45 :46 :47 :48 :49 :50 :51 :52 :53 :54 :55 :56 :57 :58 :59 :60 :61 :62 :63 :64 :65 :66 :67 :68 :69 :70 :71 |
|
$cd ..
![]() |
$cd ..
![]() |
$cd ..
![]() |
$cd ..
![]() |
$cd ..
![]() |
$cd ..
![]() |
$cd ..
![]() |
$cd ..
|
$cd ..
|
$ls
![]() user |
$ls
![]() user |
$ls
![]() user |
$ls
![]() user |
$ls
![]() user |
$ls
![]() user |
$ls
![]() user |
$ls
![]() user |
$ls
![]() user |
$ls
![]() user |
$ls
![]() user |
$ls
![]() user |
$ls
![]() user |
$ls
user |
$cd
![]() |
$cd
![]() |
$cd
![]() |
$cd
![]() |
$cd
![]() |
$cd
![]() |
$cd
![]() |
$cd
![]() |
$cd
![]() |
$cd
![]() |
$cd
![]() |
$cd
![]() |
$cd
![]() |
$cd
![]() |
$cd
|
$ls
![]() Light_Alloy_4.4.784_RC2_by_FAFNIR.exe lpi 1 aba lpi 2 abb man_smb_conf abc matrix.jpg abd names bigfile newfile bin newtest directory1 ogo.jpg directory2 pamyatka.pdf directory3 press_any_key_to_continue.jpg errlog proj file sorted file1 sorted_passwd file2 testfile file3 text freebsd.jpg touchlist granata.jpg unsorted killall |
$ls
![]() Light_Alloy_4.4.784_RC2_by_FAFNIR.exe lpi 1 aba lpi 2 abb man_smb_conf abc matrix.jpg abd names bigfile newfile bin newtest directory1 ogo.jpg directory2 pamyatka.pdf directory3 press_any_key_to_continue.jpg errlog proj file sorted file1 sorted_passwd file2 testfile file3 text freebsd.jpg touchlist granata.jpg unsorted killall |
$ls
![]() Light_Alloy_4.4.784_RC2_by_FAFNIR.exe lpi 1 aba lpi 2 abb man_smb_conf abc matrix.jpg abd names bigfile newfile bin newtest directory1 ogo.jpg directory2 pamyatka.pdf directory3 press_any_key_to_continue.jpg errlog proj file sorted file1 sorted_passwd file2 testfile file3 text freebsd.jpg touchlist granata.jpg unsorted killall |
$ls
![]() Light_Alloy_4.4.784_RC2_by_FAFNIR.exe lpi 1 aba lpi 2 abb man_smb_conf abc matrix.jpg abd names bigfile newfile bin newtest directory1 ogo.jpg directory2 pamyatka.pdf directory3 press_any_key_to_continue.jpg errlog proj file sorted file1 sorted_passwd file2 testfile file3 text freebsd.jpg touchlist granata.jpg unsorted killall |
$ls
![]() Light_Alloy_4.4.784_RC2_by_FAFNIR.exe lpi 1 aba lpi 2 abb man_smb_conf abc matrix.jpg abd names bigfile newfile bin newtest directory1 ogo.jpg directory2 pamyatka.pdf directory3 press_any_key_to_continue.jpg errlog proj file sorted file1 sorted_passwd file2 testfile file3 text freebsd.jpg touchlist granata.jpg unsorted killall |
$ls
![]() Light_Alloy_4.4.784_RC2_by_FAFNIR.exe lpi 1 aba lpi 2 abb man_smb_conf abc matrix.jpg abd names bigfile newfile bin newtest directory1 ogo.jpg directory2 pamyatka.pdf directory3 press_any_key_to_continue.jpg errlog proj file sorted file1 sorted_passwd file2 testfile file3 text freebsd.jpg touchlist granata.jpg unsorted killall |
$ls
![]() Light_Alloy_4.4.784_RC2_by_FAFNIR.exe lpi 1 aba lpi 2 abb man_smb_conf abc matrix.jpg abd names bigfile newfile bin newtest directory1 ogo.jpg directory2 pamyatka.pdf directory3 press_any_key_to_continue.jpg errlog proj file sorted file1 sorted_passwd file2 testfile file3 text freebsd.jpg touchlist granata.jpg unsorted killall |
$ls
![]() Light_Alloy_4.4.784_RC2_by_FAFNIR.exe lpi 1 aba lpi 2 abb man_smb_conf abc matrix.jpg abd names bigfile newfile bin newtest directory1 ogo.jpg directory2 pamyatka.pdf directory3 press_any_key_to_continue.jpg errlog proj file sorted file1 sorted_passwd file2 testfile file3 text freebsd.jpg touchlist granata.jpg unsorted killall |
$ls
![]() Light_Alloy_4.4.784_RC2_by_FAFNIR.exe lpi 1 aba lpi 2 abb man_smb_conf abc matrix.jpg abd names bigfile newfile bin newtest directory1 ogo.jpg directory2 pamyatka.pdf directory3 press_any_key_to_continue.jpg errlog proj file sorted file1 sorted_passwd file2 testfile file3 text freebsd.jpg touchlist granata.jpg unsorted killall |
$ls
![]() Light_Alloy_4.4.784_RC2_by_FAFNIR.exe lpi 1 aba lpi 2 abb man_smb_conf abc matrix.jpg abd names bigfile newfile bin newtest directory1 ogo.jpg directory2 pamyatka.pdf directory3 press_any_key_to_continue.jpg errlog proj file sorted file1 sorted_passwd file2 testfile file3 text freebsd.jpg touchlist granata.jpg unsorted killall |
$ls
![]() Light_Alloy_4.4.784_RC2_by_FAFNIR.exe lpi 1 aba lpi 2 abb man_smb_conf abc matrix.jpg abd names bigfile newfile bin newtest directory1 ogo.jpg directory2 pamyatka.pdf directory3 press_any_key_to_continue.jpg errlog proj file sorted file1 sorted_passwd file2 testfile file3 text freebsd.jpg touchlist granata.jpg unsorted killall |
$ls
![]() Light_Alloy_4.4.784_RC2_by_FAFNIR.exe lpi 1 aba lpi 2 abb man_smb_conf abc matrix.jpg abd names bigfile newfile bin newtest directory1 ogo.jpg directory2 pamyatka.pdf directory3 press_any_key_to_continue.jpg errlog proj file sorted file1 sorted_passwd file2 testfile file3 text freebsd.jpg touchlist granata.jpg unsorted killall |
$ls
![]() Light_Alloy_4.4.784_RC2_by_FAFNIR.exe lpi 1 aba lpi 2 abb man_smb_conf abc matrix.jpg abd names bigfile newfile bin newtest directory1 ogo.jpg directory2 pamyatka.pdf directory3 press_any_key_to_continue.jpg errlog proj file sorted file1 sorted_passwd file2 testfile file3 text freebsd.jpg touchlist granata.jpg unsorted killall |
$ls
![]() Light_Alloy_4.4.784_RC2_by_FAFNIR.exe lpi 1 aba lpi 2 abb man_smb_conf abc matrix.jpg abd names bigfile newfile bin newtest directory1 ogo.jpg directory2 pamyatka.pdf directory3 press_any_key_to_continue.jpg errlog proj file sorted file1 sorted_passwd file2 testfile file3 text freebsd.jpg touchlist granata.jpg unsorted killall |
$ls
Light_Alloy_4.4.784_RC2_by_FAFNIR.exe lpi 1 aba lpi 2 abb man_smb_conf abc matrix.jpg abd names bigfile newfile bin newtest directory1 ogo.jpg directory2 pamyatka.pdf directory3 press_any_key_to_continue.jpg errlog proj file sorted file1 sorted_passwd file2 testfile file3 text freebsd.jpg touchlist granata.jpg unsorted killall |
$cd text
![]() |
$cd text
![]() |
$cd text
![]() |
$cd text
|
$ls
![]() comment-me.txt hellow unixoid.err.txt~ hello-vi.txt unixoid.err.txt unixoid.orig.txt |
$ls
![]() comment-me.txt hellow unixoid.err.txt~ hello-vi.txt unixoid.err.txt unixoid.orig.txt |
$ls
![]() comment-me.txt hellow unixoid.err.txt~ hello-vi.txt unixoid.err.txt unixoid.orig.txt |
$ls
![]() comment-me.txt hellow unixoid.err.txt~ hello-vi.txt unixoid.err.txt unixoid.orig.txt |
$ls
![]() comment-me.txt hellow unixoid.err.txt~ hello-vi.txt unixoid.err.txt unixoid.orig.txt |
$ls
![]() comment-me.txt hellow unixoid.err.txt~ hello-vi.txt unixoid.err.txt unixoid.orig.txt |
$ls
![]() comment-me.txt hellow unixoid.err.txt~ hello-vi.txt unixoid.err.txt unixoid.orig.txt |
$ls
![]() comment-me.txt hellow unixoid.err.txt~ hello-vi.txt unixoid.err.txt unixoid.orig.txt |
$ls
![]() comment-me.txt hellow unixoid.err.txt~ hello-vi.txt unixoid.err.txt unixoid.orig.txt |
$ls
![]() comment-me.txt hellow unixoid.err.txt~ hello-vi.txt unixoid.err.txt unixoid.orig.txt |
$ls
![]() comment-me.txt hellow unixoid.err.txt~ hello-vi.txt unixoid.err.txt unixoid.orig.txt |
$ls
comment-me.txt hellow unixoid.err.txt~ hello-vi.txt unixoid.err.txt unixoid.orig.txt |
$cp -r /etc /tmp/etc1
![]() cp: /etc/security/audit_control: Permission denied cp: /etc/security/audit_user: Permission denied cp: /etc/security/audit_warn: Permission denied cp: /etc/ssh/ssh_host_key: Permission denied cp: /etc/ssh/ssh_host_dsa_key: Permission denied cp: /etc/ssh/ssh_host_rsa_key: Permission denied cp: /etc/bluetooth/hcsecd.conf: Permission denied cp: /etc/ntp: Permission denied cp: /etc/ppp/ppp.conf: Permission denied cp: /etc/master.passwd: Permission denied cp: /etc/nsmb.conf: Permission denied cp: /etc/opieaccess: Permission denied cp: /etc/spwd.db: Permission denied cp: /etc/opiekeys: Permission denied |
$cp -r /etc /tmp/etc1
![]() cp: /etc/security/audit_control: Permission denied cp: /etc/security/audit_user: Permission denied cp: /etc/security/audit_warn: Permission denied cp: /etc/ssh/ssh_host_key: Permission denied cp: /etc/ssh/ssh_host_dsa_key: Permission denied cp: /etc/ssh/ssh_host_rsa_key: Permission denied cp: /etc/bluetooth/hcsecd.conf: Permission denied cp: /etc/ntp: Permission denied cp: /etc/ppp/ppp.conf: Permission denied cp: /etc/master.passwd: Permission denied cp: /etc/nsmb.conf: Permission denied cp: /etc/opieaccess: Permission denied cp: /etc/spwd.db: Permission denied cp: /etc/opiekeys: Permission denied |
$cp -r /etc /tmp/etc1
![]() cp: /etc/security/audit_control: Permission denied cp: /etc/security/audit_user: Permission denied cp: /etc/security/audit_warn: Permission denied cp: /etc/ssh/ssh_host_key: Permission denied cp: /etc/ssh/ssh_host_dsa_key: Permission denied cp: /etc/ssh/ssh_host_rsa_key: Permission denied cp: /etc/bluetooth/hcsecd.conf: Permission denied cp: /etc/ntp: Permission denied cp: /etc/ppp/ppp.conf: Permission denied cp: /etc/master.passwd: Permission denied cp: /etc/nsmb.conf: Permission denied cp: /etc/opieaccess: Permission denied cp: /etc/spwd.db: Permission denied cp: /etc/opiekeys: Permission denied |
$cp -r /etc /tmp/etc1
![]() cp: /etc/security/audit_control: Permission denied cp: /etc/security/audit_user: Permission denied cp: /etc/security/audit_warn: Permission denied cp: /etc/ssh/ssh_host_key: Permission denied cp: /etc/ssh/ssh_host_dsa_key: Permission denied cp: /etc/ssh/ssh_host_rsa_key: Permission denied cp: /etc/bluetooth/hcsecd.conf: Permission denied cp: /etc/ntp: Permission denied cp: /etc/ppp/ppp.conf: Permission denied cp: /etc/master.passwd: Permission denied cp: /etc/nsmb.conf: Permission denied cp: /etc/opieaccess: Permission denied cp: /etc/spwd.db: Permission denied cp: /etc/opiekeys: Permission denied |
$cp -r /etc /tmp/etc1
![]() cp: /etc/security/audit_control: Permission denied cp: /etc/security/audit_user: Permission denied cp: /etc/security/audit_warn: Permission denied cp: /etc/ssh/ssh_host_key: Permission denied cp: /etc/ssh/ssh_host_dsa_key: Permission denied cp: /etc/ssh/ssh_host_rsa_key: Permission denied cp: /etc/bluetooth/hcsecd.conf: Permission denied cp: /etc/ntp: Permission denied cp: /etc/ppp/ppp.conf: Permission denied cp: /etc/master.passwd: Permission denied cp: /etc/nsmb.conf: Permission denied cp: /etc/opieaccess: Permission denied cp: /etc/spwd.db: Permission denied cp: /etc/opiekeys: Permission denied |
$cp -r /etc /tmp/etc1
![]() cp: /etc/security/audit_control: Permission denied cp: /etc/security/audit_user: Permission denied cp: /etc/security/audit_warn: Permission denied cp: /etc/ssh/ssh_host_key: Permission denied cp: /etc/ssh/ssh_host_dsa_key: Permission denied cp: /etc/ssh/ssh_host_rsa_key: Permission denied cp: /etc/bluetooth/hcsecd.conf: Permission denied cp: /etc/ntp: Permission denied cp: /etc/ppp/ppp.conf: Permission denied cp: /etc/master.passwd: Permission denied cp: /etc/nsmb.conf: Permission denied cp: /etc/opieaccess: Permission denied cp: /etc/spwd.db: Permission denied cp: /etc/opiekeys: Permission denied |
$cp -r /etc /tmp/etc1
![]() cp: /etc/security/audit_control: Permission denied cp: /etc/security/audit_user: Permission denied cp: /etc/security/audit_warn: Permission denied cp: /etc/ssh/ssh_host_key: Permission denied cp: /etc/ssh/ssh_host_dsa_key: Permission denied cp: /etc/ssh/ssh_host_rsa_key: Permission denied cp: /etc/bluetooth/hcsecd.conf: Permission denied cp: /etc/ntp: Permission denied cp: /etc/ppp/ppp.conf: Permission denied cp: /etc/master.passwd: Permission denied cp: /etc/nsmb.conf: Permission denied cp: /etc/opieaccess: Permission denied cp: /etc/spwd.db: Permission denied cp: /etc/opiekeys: Permission denied |
$cd ..
|
$cd ..
|
$ls
COPYRIGHT dev libexec root var bin dist media sbin boot etc mnt sys cdrom home proc tmp compat lib rescue usr |
$cp /etc /tmp
![]() cp: /etc is a directory (not copied). |
$locale 'text_to_grep'
Unknown keyword: `text_to_grep' |
$cd /etc
|
$cp -r /etc /tmp
![]() cp: /etc/security/audit_control: Permission denied cp: /etc/security/audit_user: Permission denied cp: /etc/security/audit_warn: Permission denied cp: /etc/ssh/ssh_host_key: Permission denied cp: /etc/ssh/ssh_host_dsa_key: Permission denied cp: /etc/ssh/ssh_host_rsa_key: Permission denied cp: /etc/bluetooth/hcsecd.conf: Permission denied cp: /etc/ntp: Permission denied cp: /etc/ppp/ppp.conf: Permission denied cp: /etc/master.passwd: Permission denied cp: /etc/nsmb.conf: Permission denied cp: /etc/opieaccess: Permission denied cp: /etc/spwd.db: Permission denied cp: /etc/opiekeys: Permission denied |
$ls -l
total 616 drwxr-xr-x 2 root wheel 512 Feb 18 2011 X11 lrwxr-xr-x 1 root wheel 12 Feb 18 2011 aliases -> mail/aliases -rw-r--r-- 1 root wheel 221 Feb 18 2011 amd.map -rw-r--r-- 1 root wheel 1248 Feb 18 2011 apmd.conf -rw-r--r-- 1 root wheel 241 Feb 18 2011 auth.conf drwxr-xr-x 2 root wheel 512 Feb 18 2011 bluetooth -rw-r--r-- 1 root wheel 736 Feb 18 2011 crontab -rw-r--r-- 1 root wheel 120 Feb 18 2011 csh.cshrc -rw-r--r-- 1 root wheel 491 Feb 18 2011 csh.login ... -rw-r--r-- 1 root wheel 2418 Feb 18 2011 snmpd.config -rw------- 1 root wheel 40960 Jul 5 20:49 spwd.db drwxr-xr-x 2 root wheel 512 Jul 5 19:12 ssh drwxr-xr-x 2 root wheel 512 Feb 18 2011 ssl -rw-r--r-- 1 root wheel 381 Feb 18 2011 sysctl.conf -rw-r--r-- 1 root wheel 1309 Feb 18 2011 syslog.conf lrwxr-xr-x 1 root wheel 23 Feb 18 2011 termcap -> /usr/share/misc/termcap -rw-r--r-- 1 root wheel 10689 Feb 18 2011 termcap.small -rw-r--r-- 1 root wheel 7558 Jul 3 21:38 ttys drwxr-xr-x 2 root wheel 512 Feb 18 2011 zfs |
$ls -l | grep ^d
drwxr-xr-x 2 root wheel 512 Feb 18 2011 X11 drwxr-xr-x 2 root wheel 512 Feb 18 2011 bluetooth drwxr-xr-x 2 root wheel 512 Jul 3 21:19 defaults drwxr-xr-x 2 root wheel 512 Feb 18 2011 devd drwxr-xr-x 2 root wheel 512 Feb 18 2011 gnats drwxr-xr-x 2 root wheel 512 Feb 18 2011 gss drwxr-xr-x 2 root wheel 512 Jul 5 20:49 lilalo drwxr-xr-x 2 root wheel 512 Jul 3 21:25 mail drwxr-xr-x 2 root wheel 512 Feb 18 2011 mtree drwx------ 2 root wheel 512 Feb 18 2011 ntp drwxr-xr-x 2 root wheel 512 Feb 18 2011 pam.d drwxr-xr-x 6 root wheel 512 Feb 18 2011 periodic drwxr-xr-x 2 root wheel 512 Feb 18 2011 ppp drwxr-xr-x 2 root wheel 3072 Feb 18 2011 rc.d drwxr-xr-x 2 root wheel 512 Feb 18 2011 security drwxr-xr-x 2 root wheel 512 Feb 18 2011 skel drwxr-xr-x 2 root wheel 512 Jul 5 19:12 ssh drwxr-xr-x 2 root wheel 512 Feb 18 2011 ssl drwxr-xr-x 2 root wheel 512 Feb 18 2011 zfs |
$ls
dirlist etc etccopy |
$cd etc
|
$ls -l
total 146 -rw-r--r-- 1 root wheel 125811 Feb 18 2011 moduli -rw-r--r-- 1 root wheel 1683 Feb 18 2011 ssh_config -rw------- 1 root wheel 672 Jul 3 21:43 ssh_host_dsa_key -rw-r--r-- 1 root wheel 615 Jul 3 21:43 ssh_host_dsa_key.pub -rw------- 1 root wheel 542 Jul 3 21:43 ssh_host_key -rw-r--r-- 1 root wheel 347 Jul 3 21:43 ssh_host_key.pub -rw------- 1 root wheel 1679 Jul 3 21:43 ssh_host_rsa_key -rw-r--r-- 1 root wheel 407 Jul 3 21:43 ssh_host_rsa_key.pub -rw-r--r-- 1 root wheel 3410 Jul 5 19:12 sshd_config -rw-r--r-- 1 root wheel 3410 Feb 18 2011 sshd_config~ |
$ls
X11 lilalo profile aliases localtime protocols amd.map locate.rc pwd.db apmd.conf login.access rc auth.conf login.conf rc.bsdextended bluetooth login.conf.db rc.conf crontab mac.conf rc.conf~ csh.cshrc mail rc.d csh.login mail.rc rc.firewall csh.logout make.conf rc.initdiskless ... group ntp.conf snmpd.config gss pam.d ssh host.conf passwd ssl hostid pccard_ether sysctl.conf hosts periodic syslog.conf hosts.allow pf.os termcap hosts.equiv phones termcap.small hosts.lpd portsnap.conf ttys inetd.conf ppp zfs libalias.conf printcap |
$cat inetd.conf
# $FreeBSD: src/etc/inetd.conf,v 1.73.10.2.6.1 2010/12/21 17:09:25 kensmith Exp $ # # Internet server configuration database # # Define *both* IPv4 and IPv6 entries for dual-stack support. # To disable a service, comment it out by prefixing the line with '#'. # To enable a service, remove the '#' at the beginning of the line. # #ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l #ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l ... # #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd # # Enable the following two entries to enable samba startup from inetd # (from the Samba documentation). Enable the third entry to enable the swat # samba configuration tool. # #netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd #netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd #swat stream tcp nowait/400 root /usr/local/sbin/swat swat |
# $FreeBSD: src/etc/inetd.conf,v 1.73.10.2.6.1 2010/12/21 17:09:25 kensmith Exp $ # # Internet server configuration database # # Define *both* IPv4 and IPv6 entries for dual-stack support. # To disable a service, comment it out by prefixing the line with '#'. # To enable a service, remove the '#' at the beginning of the line. # #ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l #ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4 #ssh stream tcp6 nowait root /usr/sbin/sshd sshd -i -6 #telnet stream tcp nowait root /usr/libexec/telnetd telnetd #telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd #shell stream tcp nowait root /usr/libexec/rshd rshd #shell stream tcp6 nowait root /usr/libexec/rshd rshd #login stream tcp nowait root /usr/libexec/rlogind rlogind #login stream tcp6 nowait root /usr/libexec/rlogind rlogind #finger stream tcp nowait/3/10 nobody /usr/libexec/fingerd fingerd -s #finger stream tcp6 nowait/3/10 nobody /usr/libexec/fingerd fingerd -s # # run comsat as root to be able to print partial mailbox contents w/ biff, # or use the safer tty:tty to just print that new mail has been received. #comsat dgram udp wait tty:tty /usr/libexec/comsat comsat # # ntalk is required for the 'talk' utility to work correctly #ntalk dgram udp wait tty:tty /usr/libexec/ntalkd ntalkd #tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot #tftp dgram udp6 wait root /usr/libexec/tftpd tftpd -l -s /tftpboot #bootps dgram udp wait root /usr/libexec/bootpd bootpd # # "Small servers" -- used to be standard on, but we're more conservative # about things due to Internet security concerns. Only turn on what you # need. # #daytime stream tcp nowait root internal #daytime stream tcp6 nowait root internal #daytime dgram udp wait root internal #daytime dgram udp6 wait root internal #time stream tcp nowait root internal #time stream tcp6 nowait root internal #time dgram udp wait root internal #time dgram udp6 wait root internal #echo stream tcp nowait root internal #echo stream tcp6 nowait root internal #echo dgram udp wait root internal #echo dgram udp6 wait root internal #discard stream tcp nowait root internal #discard stream tcp6 nowait root internal #discard dgram udp wait root internal #discard dgram udp6 wait root internal #chargen stream tcp nowait root internal #chargen stream tcp6 nowait root internal #chargen dgram udp wait root internal #chargen dgram udp6 wait root internal # # CVS servers - for master CVS repositories only! You must set the # --allow-root path correctly or you open a trivial to exploit but # deadly security hole. # #cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/your/cvsroot/here pserver #cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/your/cvsroot/here kserver # # RPC based services (you MUST have rpcbind running to use these) # #rstatd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rstatd rpc.rstatd #rusersd/1-2 dgram rpc/udp wait root /usr/libexec/rpc.rusersd rpc.rusersd #walld/1 dgram rpc/udp wait root /usr/libexec/rpc.rwalld rpc.rwalld #pcnfsd/1-2 dgram rpc/udp wait root /usr/local/libexec/rpc.pcnfsd rpc.pcnfsd #rquotad/1 dgram rpc/udp wait root /usr/libexec/rpc.rquotad rpc.rquotad #sprayd/1 dgram rpc/udp wait root /usr/libexec/rpc.sprayd rpc.sprayd # # example entry for the optional pop3 server # #pop3 stream tcp nowait root /usr/local/libexec/popper popper # # example entry for the optional imap4 server # #imap4 stream tcp nowait root /usr/local/libexec/imapd imapd # # example entry for the optional nntp server # #nntp stream tcp nowait news /usr/local/libexec/nntpd nntpd # # example entry for the optional uucpd server # #uucpd stream tcp nowait root /usr/local/libexec/uucpd uucpd # # Return error for all "ident" requests # #auth stream tcp nowait root internal #auth stream tcp6 nowait root internal # # Provide internally a real "ident" service which provides ~/.fakeid support, # provides ~/.noident support, reports UNKNOWN as the operating system type # and times out after 30 seconds. # #auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30 #auth stream tcp6 nowait root internal auth -r -f -n -o UNKNOWN -t 30 # # Example entry for an external ident server # #auth stream tcp wait root /usr/local/sbin/identd identd -w -t120 # # Example entry for the optional qmail MTA # NOTE: This is no longer the correct way to handle incoming SMTP # connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html) # instead. # #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd # # Enable the following two entries to enable samba startup from inetd # (from the Samba documentation). Enable the third entry to enable the swat # samba configuration tool. # #netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd #netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd #swat stream tcp nowait/400 root /usr/local/sbin/swat swat
Время первой команды журнала | 12:06:05 2012-11-28 | |||||||||||||||||||||
Время последней команды журнала | 12:11:25 2012-11-28 | |||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 10.89 | |||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.09 | |||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 18.94 | |||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ 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 |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008