/l3/users/10-09-2007/nt-bsdnet/fbsd3.unix.nt/root :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 |
|
#ping 192.168.24.1
PING 192.168.24.1 (192.168.24.1): 56 data bytes ^C --- 192.168.24.1 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.24.1
PING 192.168.24.1 (192.168.24.1): 56 data bytes ^C --- 192.168.24.1 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.24.1
PING 192.168.24.1 (192.168.24.1): 56 data bytes ^C --- 192.168.24.1 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.24.1
PING 192.168.24.1 (192.168.24.1): 56 data bytes ^C --- 192.168.24.1 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.24.1
PING 192.168.24.1 (192.168.24.1): 56 data bytes ^C --- 192.168.24.1 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss |
#netstat -nr
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.23.2 UGS 0 806 em0 10.0.15.3/32 link#2 UC 0 0 xl0 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16/26 link#2 UC 0 0 xl0 192.168.23 link#1 UC 0 0 em0 192.168.23.2 00:04:75:7f:23:26 UHLW 2 17 em0 1147 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#4 UHL lo0 ff01:4::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -nr
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.23.2 UGS 0 806 em0 10.0.15.3/32 link#2 UC 0 0 xl0 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16/26 link#2 UC 0 0 xl0 192.168.23 link#1 UC 0 0 em0 192.168.23.2 00:04:75:7f:23:26 UHLW 2 17 em0 1147 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#4 UHL lo0 ff01:4::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -nr
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.23.2 UGS 0 806 em0 10.0.15.3/32 link#2 UC 0 0 xl0 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16/26 link#2 UC 0 0 xl0 192.168.23 link#1 UC 0 0 em0 192.168.23.2 00:04:75:7f:23:26 UHLW 2 17 em0 1147 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#4 UHL lo0 ff01:4::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -nr
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.23.2 UGS 0 806 em0 10.0.15.3/32 link#2 UC 0 0 xl0 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16/26 link#2 UC 0 0 xl0 192.168.23 link#1 UC 0 0 em0 192.168.23.2 00:04:75:7f:23:26 UHLW 2 17 em0 1147 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#4 UHL lo0 ff01:4::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -nr
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.23.2 UGS 0 806 em0 10.0.15.3/32 link#2 UC 0 0 xl0 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16/26 link#2 UC 0 0 xl0 192.168.23 link#1 UC 0 0 em0 192.168.23.2 00:04:75:7f:23:26 UHLW 2 17 em0 1147 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#4 UHL lo0 ff01:4::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> inet 192.168.23.1 netmask 0xffffff00 broadcast 192.168.23.255 ether 00:07:e9:3c:2c:15 media: Ethernet autoselect (100baseTX <full-duplex>) status: active xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63 inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3 ether 00:04:76:a1:f0:5d media: Ethernet autoselect (none) status: no carrier plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> inet 192.168.23.1 netmask 0xffffff00 broadcast 192.168.23.255 ether 00:07:e9:3c:2c:15 media: Ethernet autoselect (100baseTX <full-duplex>) status: active xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63 inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3 ether 00:04:76:a1:f0:5d media: Ethernet autoselect (none) status: no carrier plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> inet 192.168.23.1 netmask 0xffffff00 broadcast 192.168.23.255 ether 00:07:e9:3c:2c:15 media: Ethernet autoselect (100baseTX <full-duplex>) status: active xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63 inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3 ether 00:04:76:a1:f0:5d media: Ethernet autoselect (none) status: no carrier plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> inet 192.168.23.1 netmask 0xffffff00 broadcast 192.168.23.255 ether 00:07:e9:3c:2c:15 media: Ethernet autoselect (100baseTX <full-duplex>) status: active xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63 inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3 ether 00:04:76:a1:f0:5d media: Ethernet autoselect (none) status: no carrier plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> inet 192.168.23.1 netmask 0xffffff00 broadcast 192.168.23.255 ether 00:07:e9:3c:2c:15 media: Ethernet autoselect (100baseTX <full-duplex>) status: active xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63 inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3 ether 00:04:76:a1:f0:5d media: Ethernet autoselect (none) status: no carrier plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#ping 192.168.23.2
PING 192.168.23.2 (192.168.23.2): 56 data bytes 64 bytes from 192.168.23.2: icmp_seq=0 ttl=64 time=0.309 ms 64 bytes from 192.168.23.2: icmp_seq=1 ttl=64 time=0.309 ms 64 bytes from 192.168.23.2: icmp_seq=2 ttl=64 time=0.318 ms ^C --- 192.168.23.2 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.309/0.312/0.318/0.004 ms |
#ping 192.168.222
PING 192.168.22.2 (192.168.22.2): 56 data bytes 64 bytes from 192.168.22.2: icmp_seq=0 ttl=64 time=0.377 ms 64 bytes from 192.168.22.2: icmp_seq=1 ttl=64 time=0.368 ms ^C --- 192.168.22.2 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.368/0.372/0.377/0.004 ms |
#netstat -nr
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.23.2 UGS 0 844 em0 10.0.15.3/32 link#2 UC 0 0 xl0 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16/26 link#2 UC 0 0 xl0 192.168.23 link#1 UC 0 0 em0 192.168.23.2 00:04:75:7f:23:26 UHLW 2 20 em0 1177 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#4 UHL lo0 ff01:4::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#ping 192.168.22.1
PING 192.168.22.1 (192.168.22.1): 56 data bytes ^C --- 192.168.22.1 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.22.1
PING 192.168.22.1 (192.168.22.1): 56 data bytes ^C --- 192.168.22.1 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.22.1
PING 192.168.22.1 (192.168.22.1): 56 data bytes ^C --- 192.168.22.1 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.22.1
PING 192.168.22.1 (192.168.22.1): 56 data bytes ^C --- 192.168.22.1 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.241
PING 192.168.24.1 (192.168.24.1): 56 data bytes ^C --- 192.168.24.1 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.24.1
PING 192.168.24.1 (192.168.24.1): 56 data bytes ^C --- 192.168.24.1 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.22.1
PING 192.168.22.1 (192.168.22.1): 56 data bytes 92 bytes from 192.168.23.2: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 630a 0 0000 3f 01 6a4c 192.168.23.1 192.168.22.1 92 bytes from 192.168.23.2: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 630b 0 0000 3f 01 6a4b 192.168.23.1 192.168.22.1 |
#ping 192.168.22.1
PING 192.168.22.1 (192.168.22.1): 56 data bytes 64 bytes from 192.168.22.1: icmp_seq=0 ttl=63 time=0.666 ms 64 bytes from 192.168.22.1: icmp_seq=1 ttl=63 time=0.552 ms 64 bytes from 192.168.22.1: icmp_seq=2 ttl=63 time=0.560 ms 64 bytes from 192.168.22.1: icmp_seq=3 ttl=63 time=0.569 ms 64 bytes from 192.168.22.1: icmp_seq=4 ttl=63 time=0.464 ms 64 bytes from 192.168.22.1: icmp_seq=5 ttl=63 time=0.473 ms 64 bytes from 192.168.22.1: icmp_seq=6 ttl=63 time=0.485 ms 64 bytes from 192.168.22.1: icmp_seq=7 ttl=63 time=0.497 ms ^C --- 192.168.22.1 ping statistics --- 8 packets transmitted, 8 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.464/0.533/0.666/0.063 ms |
#shotdown
bash: shotdown: command not found |
#shutdown
usage: shutdown [-] [-h | -p | -r | -k] [-o [-n]] time [warning-message ...] |
#shutdown -h now
Shutdown NOW! shutdown: [pid 8172] |
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> inet 192.168.16.65 netmask 0xffffffc0 broadcast 192.168.16.127 ether 00:07:e9:3c:2c:15 media: Ethernet autoselect (100baseTX <full-duplex>) status: active xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63 inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3 ether 00:04:76:a1:f0:5d media: Ethernet autoselect (none) status: no carrier plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> inet 192.168.15.237 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:07:e9:3c:2c:15 media: Ethernet autoselect (100baseTX <full-duplex>) status: active xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> ether 00:04:76:a1:f0:5d media: Ethernet autoselect (none) status: no carrier plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#vim
|
#vim /etc/rc.conf
|
#xinit
X Window System Version 6.9.0 Release Date: 21 December 2005 X Protocol Version 11, Revision 0, Release 6.9 Build Operating System: FreeBSD 6.2 i386 [ELF] Current Operating System: FreeBSD fbsd3.unix.nt 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 Build Date: 16 October 2006 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, ... getconfig.pl: Xorg Version: 6.9.0.0. getconfig.pl: 23 built-in rules. getconfig.pl: rules file '/usr/X11R6/lib/X11/getconfig/xorg.cfg' has version 1.0. getconfig.pl: 1 rule added from file '/usr/X11R6/lib/X11/getconfig/xorg.cfg'. getconfig.pl: Evaluated 24 rules with 0 errors. getconfig.pl: Weight of result is 500. New driver is "i810" (==) Using default built-in configuration (53 lines) (EE) Failed to load module "fbdev" (module does not exist, 0) waiting for X server to shut down FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing. |
#kde-tart
bash: kde-start: command not found |
#kdestart
bash: kdestart: command not found |
#start kde
bash: start: command not found |
#ls -l /home/user/
total 42 -rw------- 1 user wheel 0 Sep 10 18:34 .ICEauthority -rw------- 1 user wheel 248 Sep 10 18:35 .bash_history -rw-r--r-- 1 user wheel 19 Sep 7 22:58 .bash_profile -rw-r--r-- 1 user wheel 43 Sep 7 22:57 .bashrc -rw-r--r-- 1 user wheel 767 Sep 7 15:51 .cshrc drwx------ 4 user wheel 512 Sep 10 10:48 .kde -rw------- 1 user wheel 160 Sep 10 10:51 .kderc -rw-r--r-- 1 user wheel 52 Sep 7 22:57 .l3rc drwxr-xr-x 2 user wheel 1024 Sep 10 18:00 .lilalo ... -rw------- 1 user wheel 373 Sep 7 15:51 .mail_aliases -rw-r--r-- 1 user wheel 331 Sep 7 15:51 .mailrc drwxr-xr-x 3 user wheel 512 Sep 10 10:49 .mcop -rw-r--r-- 1 user wheel 797 Sep 7 15:51 .profile drwxr-xr-x 2 user wheel 512 Sep 10 10:51 .qt -rw------- 1 user wheel 276 Sep 7 15:51 .rhosts -rw-r--r-- 1 user wheel 975 Sep 7 15:51 .shrc drwx------ 2 user wheel 512 Sep 10 11:32 .ssh -rw-r--r-- 1 user wheel 9 Sep 10 10:47 .xinitrc drwx------ 2 user wheel 512 Sep 10 10:48 Desktop |
#vim /home/user/login
|
#ls -l /home/user/
total 42 -rw------- 1 user wheel 0 Sep 10 18:34 .ICEauthority -rw------- 1 user wheel 248 Sep 10 18:35 .bash_history -rw-r--r-- 1 user wheel 19 Sep 7 22:58 .bash_profile -rw-r--r-- 1 user wheel 43 Sep 7 22:57 .bashrc -rw-r--r-- 1 user wheel 767 Sep 7 15:51 .cshrc drwx------ 4 user wheel 512 Sep 10 10:48 .kde -rw------- 1 user wheel 160 Sep 10 10:51 .kderc -rw-r--r-- 1 user wheel 52 Sep 7 22:57 .l3rc drwxr-xr-x 2 user wheel 1024 Sep 10 18:00 .lilalo ... -rw------- 1 user wheel 373 Sep 7 15:51 .mail_aliases -rw-r--r-- 1 user wheel 331 Sep 7 15:51 .mailrc drwxr-xr-x 3 user wheel 512 Sep 10 10:49 .mcop -rw-r--r-- 1 user wheel 797 Sep 7 15:51 .profile drwxr-xr-x 2 user wheel 512 Sep 10 10:51 .qt -rw------- 1 user wheel 276 Sep 7 15:51 .rhosts -rw-r--r-- 1 user wheel 975 Sep 7 15:51 .shrc drwx------ 2 user wheel 512 Sep 10 11:32 .ssh -rw-r--r-- 1 user wheel 9 Sep 10 10:47 .xinitrc drwx------ 2 user wheel 512 Sep 10 10:48 Desktop |
#cd /home/user/
|
#ls -l
total 42 -rw------- 1 user wheel 0 Sep 10 18:34 .ICEauthority -rw------- 1 user wheel 248 Sep 10 18:35 .bash_history -rw-r--r-- 1 user wheel 19 Sep 7 22:58 .bash_profile -rw-r--r-- 1 user wheel 43 Sep 7 22:57 .bashrc -rw-r--r-- 1 user wheel 767 Sep 7 15:51 .cshrc drwx------ 4 user wheel 512 Sep 10 10:48 .kde -rw------- 1 user wheel 160 Sep 10 10:51 .kderc -rw-r--r-- 1 user wheel 52 Sep 7 22:57 .l3rc drwxr-xr-x 2 user wheel 1024 Sep 10 18:00 .lilalo ... -rw------- 1 user wheel 373 Sep 7 15:51 .mail_aliases -rw-r--r-- 1 user wheel 331 Sep 7 15:51 .mailrc drwxr-xr-x 3 user wheel 512 Sep 10 10:49 .mcop -rw-r--r-- 1 user wheel 797 Sep 7 15:51 .profile drwxr-xr-x 2 user wheel 512 Sep 10 10:51 .qt -rw------- 1 user wheel 276 Sep 7 15:51 .rhosts -rw-r--r-- 1 user wheel 975 Sep 7 15:51 .shrc drwx------ 2 user wheel 512 Sep 10 11:32 .ssh -rw-r--r-- 1 user wheel 9 Sep 10 10:47 .xinitrc drwx------ 2 user wheel 512 Sep 10 10:48 Desktop |
#less .login
|
#ll
bash: ll: command not found |
#vim .login
6a7 > xinit |
#ls -l
total 42 -rw------- 1 user wheel 0 Sep 10 18:34 .ICEauthority -rw------- 1 user wheel 248 Sep 10 18:35 .bash_history -rw-r--r-- 1 user wheel 19 Sep 7 22:58 .bash_profile -rw-r--r-- 1 user wheel 43 Sep 7 22:57 .bashrc -rw-r--r-- 1 user wheel 767 Sep 7 15:51 .cshrc drwx------ 4 user wheel 512 Sep 10 10:48 .kde -rw------- 1 user wheel 160 Sep 10 10:51 .kderc -rw-r--r-- 1 user wheel 52 Sep 7 22:57 .l3rc drwxr-xr-x 2 user wheel 1024 Sep 10 18:00 .lilalo ... -rw------- 1 user wheel 373 Sep 7 15:51 .mail_aliases -rw-r--r-- 1 user wheel 331 Sep 7 15:51 .mailrc drwxr-xr-x 3 user wheel 512 Sep 10 10:49 .mcop -rw-r--r-- 1 user wheel 797 Sep 7 15:51 .profile drwxr-xr-x 2 user wheel 512 Sep 10 10:51 .qt -rw------- 1 user wheel 276 Sep 7 15:51 .rhosts -rw-r--r-- 1 user wheel 975 Sep 7 15:51 .shrc drwx------ 2 user wheel 512 Sep 10 11:32 .ssh -rw-r--r-- 1 user wheel 9 Sep 10 10:47 .xinitrc drwx------ 2 user wheel 512 Sep 10 10:48 Desktop |
#less .xinitrc
|
#su - user
Removing stale pidfile |
$login
login: user Last login: Mon Sep 10 10:42:26 on ttyv1 Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
$exit
|
$exit
|
#ls -l
total 42 -rw------- 1 user wheel 0 Sep 10 18:34 .ICEauthority -rw------- 1 user wheel 254 Sep 11 09:25 .bash_history -rw-r--r-- 1 user wheel 19 Sep 7 22:58 .bash_profile -rw-r--r-- 1 user wheel 43 Sep 7 22:57 .bashrc -rw-r--r-- 1 user wheel 767 Sep 7 15:51 .cshrc drwx------ 4 user wheel 512 Sep 10 10:48 .kde -rw------- 1 user wheel 160 Sep 10 10:51 .kderc -rw-r--r-- 1 user wheel 52 Sep 7 22:57 .l3rc drwxr-xr-x 2 user wheel 1536 Sep 11 09:25 .lilalo ... -rw------- 1 user wheel 373 Sep 7 15:51 .mail_aliases -rw-r--r-- 1 user wheel 331 Sep 7 15:51 .mailrc drwxr-xr-x 3 user wheel 512 Sep 10 10:49 .mcop -rw-r--r-- 1 user wheel 797 Sep 7 15:51 .profile drwxr-xr-x 2 user wheel 512 Sep 10 10:51 .qt -rw------- 1 user wheel 276 Sep 7 15:51 .rhosts -rw-r--r-- 1 user wheel 975 Sep 7 15:51 .shrc drwx------ 2 user wheel 512 Sep 10 11:32 .ssh -rw-r--r-- 1 user wheel 9 Sep 10 10:47 .xinitrc drwx------ 2 user wheel 512 Sep 10 10:48 Desktop |
#vim .login
7d6 < xinit |
#ls -l
total 42 -rw------- 1 user wheel 0 Sep 10 18:34 .ICEauthority -rw------- 1 user wheel 254 Sep 11 09:25 .bash_history -rw-r--r-- 1 user wheel 19 Sep 7 22:58 .bash_profile -rw-r--r-- 1 user wheel 43 Sep 7 22:57 .bashrc -rw-r--r-- 1 user wheel 767 Sep 7 15:51 .cshrc drwx------ 4 user wheel 512 Sep 10 10:48 .kde -rw------- 1 user wheel 160 Sep 10 10:51 .kderc -rw-r--r-- 1 user wheel 52 Sep 7 22:57 .l3rc drwxr-xr-x 2 user wheel 1536 Sep 11 09:25 .lilalo ... -rw------- 1 user wheel 373 Sep 7 15:51 .mail_aliases -rw-r--r-- 1 user wheel 331 Sep 7 15:51 .mailrc drwxr-xr-x 3 user wheel 512 Sep 10 10:49 .mcop -rw-r--r-- 1 user wheel 797 Sep 7 15:51 .profile drwxr-xr-x 2 user wheel 512 Sep 10 10:51 .qt -rw------- 1 user wheel 276 Sep 7 15:51 .rhosts -rw-r--r-- 1 user wheel 975 Sep 7 15:51 .shrc drwx------ 2 user wheel 512 Sep 10 11:32 .ssh -rw-r--r-- 1 user wheel 9 Sep 10 10:47 .xinitrc drwx------ 2 user wheel 512 Sep 10 10:48 Desktop |
#su - user
Removing stale pidfile |
$xinit
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ... kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found |
$xinit
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ... kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found |
$xinit
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ... kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found |
$xinit
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ... kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found |
#man tcpd
|
#who
root ttyv0 Sep 11 09:14 root ttyp3 Sep 11 09:19 (:0.0) |
#who
root ttyv0 Sep 11 09:14 root ttyp3 Sep 11 09:19 (:0.0) |
#w
10:45AM up 1:33, 2 users, load averages: 0.07, 0.94, 1.28 USER TTY FROM LOGIN@ IDLE WHAT root v0 - 9:14AM 1:19 script -t 0 -q /root/. root p3 :0.0 9:19AM 1:26 - |
#w
10:45AM up 1:33, 2 users, load averages: 0.07, 0.94, 1.28 USER TTY FROM LOGIN@ IDLE WHAT root v0 - 9:14AM 1:19 script -t 0 -q /root/. root p3 :0.0 9:19AM 1:26 - |
#man w
|
#man w
|
#man w
|
#man who
|
#man who
|
#/etc/rc.d/
Display all 140 possibilities? (y or n) |
#/etc/rc.d/
Display all 140 possibilities? (y or n) |
#/etc/rc.d/t
timed tmp |
#/etc/rc.d/
Display all 140 possibilities? (y or n) |
#/etc/rc.d/
Display all 140 possibilities? (y or n) |
#/etc/rc.d/t
timed tmp |
#telnet 192.168.15.242 bc
192.168.15.242: servname not supported for ai_socktype |
#telnet 192.168.15.242 65000
Trying 192.168.15.242... Connected to host242.unix.nt. Escape character is '^]'. Connection closed by foreign host. |
#telnet 192.168.15.242 65000
Trying 192.168.15.242... Connected to host242.unix.nt. Escape character is '^]'. Connection closed by foreign host. |
#telnet 192.168.15.242 65000
kio (KIOConnection): ERROR: Could not write data kio (KIOConnection): ERROR: Could not write data ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ... ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) Trying 192.168.15.242... Connected to host242.unix.nt. Escape character is '^]'. Connection closed by foreign host. |
#telnet 192.168.15.242 65000
kio (KIOConnection): ERROR: Could not write data kio (KIOConnection): ERROR: Could not write data ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ... ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) Trying 192.168.15.242... Connected to host242.unix.nt. Escape character is '^]'. Connection closed by foreign host. |
#telnet 192.168.15.242 65000
kio (KIOConnection): ERROR: Could not write data kio (KIOConnection): ERROR: Could not write data ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ... ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) Trying 192.168.15.242... Connected to host242.unix.nt. Escape character is '^]'. Connection closed by foreign host. |
#telnet 192.168.15.242 65000
kio (KIOConnection): ERROR: Could not write data kio (KIOConnection): ERROR: Could not write data ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ... ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81) Trying 192.168.15.242... Connected to host242.unix.nt. Escape character is '^]'. Connection closed by foreign host. |
#telnet 192.168.15.242 65000
Trying 192.168.15.242... Connected to host242.unix.nt. Escape character is '^]'. Connection closed by foreign host. |
#telnet 192.168.15.242 65000
Trying 192.168.15.242... Connected to host242.unix.nt. Escape character is '^]'. Connection closed by foreign host. |
#telnet 192.168.15.242 65000
Trying 192.168.15.242... Connected to host242.unix.nt. Escape character is '^]'. Connection closed by foreign host. |
#telnet 192.168.15.242 65000
Trying 192.168.15.242... Connected to host242.unix.nt. Escape character is '^]'. Connection closed by foreign host. |
#telnet 192.168.15.242
Trying 192.168.15.242... telnet: connect to address 192.168.15.242: Connection refused telnet: Unable to connect to remote host |
#telnet 192.168.15.242
Trying 192.168.15.242... telnet: connect to address 192.168.15.242: Connection refused telnet: Unable to connect to remote host |
#telnet 192.168.15.242
Trying 192.168.15.242... telnet: connect to address 192.168.15.242: Connection refused telnet: Unable to connect to remote host |
#telnet 192.168.15.242
Trying 192.168.15.242... telnet: connect to address 192.168.15.242: Connection refused telnet: Unable to connect to remote host |
#telnet 192.168.15.242 21
Trying 192.168.15.242... Connected to host242.unix.nt. Escape character is '^]'. Connection closed by foreign host. |
#telnet 192.168.15.242 21
Trying 192.168.15.242... Connected to host242.unix.nt. Escape character is '^]'. Connection closed by foreign host. |
#telnet 192.168.15.242 21
Trying 192.168.15.242... Connected to host242.unix.nt. Escape character is '^]'. Connection closed by foreign host. |
#telnet 192.168.15.242 21
Trying 192.168.15.242... Connected to host242.unix.nt. Escape character is '^]'. Connection closed by foreign host. |
#shh root@192.168.15.242
bash: shh: command not found |
#shh root@192.168.15.242
bash: shh: command not found |
#shh root@192.168.15.242
bash: shh: command not found |
Время первой команды журнала | 18:09:06 2007- 9-10 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 11:17:47 2007- 9-11 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 33.66 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 10.89 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.35 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.25 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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